]> git.lyx.org Git - features.git/blob - src/ChangeLog
more dispatch work
[features.git] / src / ChangeLog
1 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4         operator dispatch_result_t, and operators for == != and >=
5
6         * cursor.C (dispatch): adjust for operator dispatch_result_t
7         removal. comment out call to update
8
9         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
10         
11 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
12
13         * text3.C:
14         * text2.C:
15         * text.C:
16         * lyxtext.h:
17         * lyxfunc.C:
18         * cursor.C:
19         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
20         (dispatch): 
21
22         * dispatchresult.h: new file, DispatchResult broken out of
23         insets/insetbase.h
24
25         * Makefile.am (lyx_SOURCES): add dispatchresult.h
26
27 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
28
29         * text.C (rowBreakPoint): put a hack inside #if 0
30
31 2003-10-28  André Pönitz  <poenitz@gmx.net>
32
33         * lyxtext.h:
34         * metricsinfo.C:
35         * paragraph_funcs.C:
36         * rowpainter.C:
37         * text.C:
38         * text2.C: general cleanup (lots of small stuff)
39
40 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
41
42         * text2.C (cursorEnd): simple fix to the "end key goes to one
43         before the end on last row" bug
44
45 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
46
47         * text.C (backspace): fix the "zombie characters"
48
49 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
50
51         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
52
53 2003-10-27  André Pönitz  <poenitz@gmx.net>
54
55         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
56
57         * factory.C: handle new InsetPagebreak, InsetLine
58
59         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
60         and move handling into new InsetPagebreak, InsetLine
61
62         * BufferView_pimpl.C:
63         * LyXAction.C:
64         * ParagraphParameters.C:
65         * ParameterStruct.h:
66         * lyxfunc.C:
67         * lyxtext.h:
68         * paragraph.C:
69         * paragraph.h:
70         * paragraph_funcs.C:
71         * paragraph_pimpl.C:
72         * rowpainter.C:
73         * text.C:
74         * text2.C:
75         * text3.C: adjust
76
77 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
78
79         * text.C:
80         * lyxrow_funcs.[Ch]:
81         * Bidi.C:
82         * paragraph.C:
83         * lyxtext.h:
84         * rowpainter.C:
85         * text2.C:
86         * text3.C: remove lastPos uses in favour of Row::endpos
87
88 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
89
90         * undo.C (performUndoOrRedo): fix two crashes by setting a
91         cursor by hand and reordering some calls. Use bv->lockInset instead
92         of inset->edit because the latter loses cursor information
93
94 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
95
96         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
97         by Martin
98         (rowBreakPoint): fix width. change point to point + 1.
99         Add a missing check.
100
101 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
102
103         * MenuBackend.C:
104         * lyxfunc.C: fix (at least partly) the problems
105         with the Nav menu and headers inside branch insets
106         reported by Kayvan
107
108 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
109
110         * paragraph.C (getChar): add strong asserts
111
112         * lyxrow_funcs.C (lastPos): remove hideous hack
113
114         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
115         (fill): adjust to that (avoid an infinite loop)
116
117 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
118
119         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
120
121 2003-10-23  André Pönitz  <poenitz@gmx.net>
122
123         * RowList_fwd.h: change list<> to vector<> to gain speed
124         after suggestion from Alfredo
125
126 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
127
128         * lyxtext.h: move the bidi stuff from here...
129         * text.C: and here
130         * text2.C: and here
131         * Bidi.[Ch]: ... to here
132
133 2003-10-23  André Pönitz  <poenitz@gmx.net>
134
135         * lyxtext.h:
136         * text.C (isLastRow, isFirstRow): new functions
137
138         * paragraph.h: new width cache member
139
140         * rowpainter.C: replace RowList::iterator with Row & where possible
141
142         * lyxfunc.C: replace several view()->text with a single call
143
144         * toc.C: fix 'unused' warning
145
146 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
147
148         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
149         when woring with stream::pos_type
150         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
151
152 2003-10-22  André Pönitz  <poenitz@gmx.net>
153
154         * lyxtext.h:
155         * text.C: use Row & instead of RowList::iterator
156
157         * lyxrow.h: rename end() to endpos()
158
159         * rowpainter.C:
160         * text.C:
161         * text2.C: adjust
162
163 2003-10-22  Angus Leeming  <leeming@lyx.org>
164
165         * buffer.[Ch] (fully_loaded): new member function, returning true
166         only when the file has been loaded fully.
167         Used to prevent the premature generation of previews and by the
168         citation inset to prevent computation of the natbib-style label.
169
170         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
171         templates are all set up.
172
173         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
174
175 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
176
177         * text.C: fixed an "oops" in the "is a bit silly"
178         bug fix
179
180 2003-10-21  André Pönitz  <poenitz@gmx.net>
181
182         * FuncStatus.[Ch]: small stuff, whitespace
183
184         * lyxfont.[Ch]: operator<<() for debug reasons
185
186         * lyxfunc.C:
187         * lyxrow_funcs.C:
188         * lyxtext.h: whitespace, spelling
189
190         * paragraph.C: naming of variables
191
192         * text.C:
193         * text2.C: small stuff
194
195
196 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
197
198         * text.C: (1) finish off the inset display() work;
199         (2) fix the "is a bit silly" bug (accessing char
200         past end of par).
201
202 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
203
204         * text.C: re-introduce display() for insets, fixing the
205         various bugs (stretch of line above, math inset
206         positioning, ...)
207
208 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
209
210         * text.C (rightMargin): remove spurious semicolon
211
212         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
213         1415)
214
215 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
216
217         * text3.C: fix one crash due to wrong cursor def
218
219 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
220
221         * vc-backend.C (scanMaster): make the regex static
222
223         * LaTeX.C (scanAuxFile): make the regexs static
224
225         * text3.C (doInsertInset, dispatch, dispatch):
226         * text2.C (cursorUp, cursorDown):
227         * text.C (selectNextWordToSpellcheck):
228         * BufferView_pimpl.C (dispatch):
229         * lyxfunc.C (dispatch):  localDispatch -> dispatch
230
231 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
232
233         * lyxsocket.C: include <cerrno>
234
235 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
236
237         * lyxfunc.C (dispatch): remove textcache stuff
238
239         * bufferlist.C (release): remove textcache stuff
240         (closeAll): ditto
241
242         * TextCache.C: delete file
243         * TextCache.h: delete file
244
245         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
246
247         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
248         delete of the bv_->text.
249         (resizeCurrentBuffer): remove texcache stuff
250         (workAreaResize): ditto
251
252 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
253
254         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
255         action.
256
257 2003-10-16  André Pönitz  <poenitz@gmx.net>
258
259         * lyxrow.[Ch]:
260         * paragraph.h:
261         * rowpainter.C:
262         * text.C:
263         * text2.C:
264         * text3.C: speed up by storing y positions per paragraph plus per-row
265         offset instead of having a 'full' y position in the row.
266
267 2003-10-15  André Pönitz  <poenitz@gmx.net>
268
269         * iterators.[Ch]:
270         * iterators.[Ch]:
271         * undo.[Ch]: make undo aware of inner insets
272
273 2003-10-14  Angus Leeming  <leeming@lyx.org>
274
275         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
276         static member functions LyX::ref() and LyX::cref.
277         (lastfiles): new accessor functions for the new lastfiles_ member var.
278         (addLyXView, views_): add a new LyXView to the list of views_.
279         (updateInset): loop over all LyXViews to call their own updateInset
280         member function, returning a pointer to the Buffer owning the inset.
281
282         * BufferView_pimpl.C (loadLyXFile):
283         * MenuBackend.C (expandLastfiles):
284         * bufferlist.C (MenuWrite, QuitLyX):
285         lastfiles is no longer a global variable.
286         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
287
288         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
289         static function. Access through LyX::cref().emergencyCleanup().
290
291 2003-10-14  André Pönitz  <poenitz@gmx.net>
292
293         * iterators.[Ch]: new direct access to innermost LyXText and Inset
294
295         * undo.[Ch]: restoring part of 'undo in insets'
296
297         * Makefile.am:
298         * undo_funcs.[Ch]: merge with undo.[Ch]
299
300         * tabular.C: small cleansing stuff
301
302 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
303
304         * paragraph_funcs.C (readParToken): report unknown insets as error
305         boxes. Use the outer paragraph as location (also for unknown
306         tokens).
307
308         * factory.C (readInset): do not abort on reading an unknown inset.
309         Eat it and return 0.
310
311 2003-10-13  Angus Leeming  <leeming@lyx.org>
312
313         * lyx_main.C (LyX): remove call to setDisplayTranslator().
314
315         * lyxrc.C: displayTranslator is now a function,
316         declared in GraphicsTypes.h.
317
318 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
319
320         * format.C: new placeholder $$a to pass the socket address.
321
322         * bufferlist.[Ch]: new function getBufferFromTmp.
323
324         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
325           files in the temporary dir.
326
327 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
328
329         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
330
331         * Makefile.am: add lyxsocket.[Ch].
332
333         * lyx_main.C (error_handler): handle SIGPIPE.
334
335 2003-10-13  André Pönitz  <poenitz@gmx.net>
336
337         * BufferView_pimpl.C:
338         * lyxtext.h:
339         * text.C:
340         * text2.C:
341         * text3.C:
342         * undo_funcs.[Ch]: use paroffset_type instead of
343           ParagraphList::iterators to prevent multiple conversion
344           (and get a more robust interface)
345
346 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
347
348         * lyxfunc.C (dispatch): RESULT -> dispatch_result
349         * lyxtext.h: ditto
350         * text3.C (dispatch): ditto
351
352 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
353
354         * LaTeX.C (handleFoundFile): move the static to smaller scope,
355         move the onlyfile, use onlyfile instead of foundfile in a couple
356         of places.
357
358         * DepTable.C (update): flush the error stream a bit more
359
360 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
361
362         * lyxserver.C (callback): adjust
363
364         * lyxfunc.C (getStatus): add a missing brace in commented code
365         (ensureBufferClean): reindent
366         (dispatch): delete version taking a string
367
368 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
369
370         * LaTeX.C (deplog): move found file handlig from here...
371         (handleFoundFile): .. to new function here.
372         (deplog): make sure to discover several files mentioned on the
373         same log line.
374
375 2003-10-10  André Pönitz  <poenitz@gmx.net>
376
377         * lyxfunc.C:
378         * lyxtext.h:
379         * tabular.C:
380         * text.C:
381         * text2.C:
382         * text3.C: fix some of the tabular crashes
383
384 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
385
386         * MenuBackend.C (binding): put debug message into Debug::KBMAP
387
388         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
389
390 2003-10-09  André Pönitz  <poenitz@gmx.net>
391
392         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
393
394         * BufferView.C:
395         * BufferView_pimpl.C:
396         * bufferview_funcs.C:
397         * lyx_cb.C:
398         * lyxcursor.C:
399         * lyxfind.C:
400         * lyxfunc.C:
401         * lyxtext.h:
402         * text.C:
403         * text2.C:
404         * text3.C:
405         * text_funcs.[Ch]:
406         * textcursor.[Ch]:
407         * undo_funcs.C: adjust
408
409 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
410
411         * text2.C (incrementItemDepth): new function, use a backtracking
412         algorithm to discover the correct item depth.
413         (resetEnumCounterIfNeeded): new function, use a backtracking
414         algorithm to discover if counter reset is needed.
415         (setCounter): use them. Simplify a bit. Add different labels for
416         different item depths for itemize.
417
418         * paragraph.C (Paragraph): remove initialization of enumdepth
419         (operator=): ditto
420
421         * paragraph.h: get rid of enumdepth, and use itemdepth both for
422         enumerate and itemize. Change the type of itemdepth to signed char.
423
424 2003-10-08  André Pönitz  <poenitz@gmx.net>
425
426         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
427           thing assignable.
428         * text.C:
429         * text2.C: adjust
430
431         * tabular.[Ch]: fix crash after 'row-insert'
432
433 2003-10-08  Angus Leeming  <leeming@lyx.org>
434
435         Fix doxygen warnings.
436
437         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
438         Remove CutAndPaste:: prefix from header file declaration.
439
440         * LColor.h (fill): remove LColor:: prefix from declaration.
441
442         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
443         use lyx::depth_type rather than Paragraph::depth_type so that
444         header file and .C file match.
445
446         * converter.h (intToFormat): remove Converters:: prefix from declaration.
447
448         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
449         * aspell.C: \file aspell_local.C -> \file aspell.C
450         * gettext.C: \file gettext.C -> \file src/gettext.C
451         * gettext.h: \file gettext.h -> \file src/gettext.h
452         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
453         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
454         * text.C: \file text.C -> \file src/text.C
455
456         * toc.C: move comment so that doxygen is not confused.
457
458 2003-10-07  Angus Leeming  <leeming@lyx.org>
459
460         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
461
462 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
463
464         * aspell.C:
465         * aspell_local.h: add forgotten std::string's.
466
467 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
468
469         * LaTeXFeatures.C:
470         * LyXAction.C:
471         * factory.C:
472         * lfuns.h:
473         * lyxfunc.C:
474         * text3.C: The Box patch. Fancybox support, minipage, parbox
475
476 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
477
478         * CutAndPaste.h:
479         * DepTable.h:
480         * FloatList.h:
481         * LaTeXFeatures.h:
482         * ParagraphParameters.h:
483         * TextCache.h:
484         * Thesaurus.h:
485         * bufferlist.h:
486         * exporter.h:
487         * importer.h:
488         * lastfiles.h:
489         * lyxfind.h:
490         * lyxfont.h:
491         * lyxlex.h:
492         * lyxtextclasslist.h:
493         * messages.h:
494         * paragraph.h:
495         * paragraph_pimpl.C:
496         * textcursor.h: add <string> and other small fixes to make Lars'
497         std::string patch compile with STLport.
498
499 2003-10-06  Angus Leeming  <leeming@lyx.org>
500
501         * LColor.h: Add missing #include <string>.
502
503 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
504
505         * All most all file in all subdirs: Make <string> be the prefered
506         way of getting to std::string, add using declarations.
507
508 2003-10-06  André Pönitz  <poenitz@gmx.net>
509
510         * metricsinfo.C: initialize LyXFont before changing attribute.
511         (fixes the 'math in \emph is upright' bug)
512
513 2003-10-06  André Pönitz  <poenitz@gmx.net>
514
515         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
516
517 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
518
519         * graph.C:
520         * paragraph_pimpl.C: Small fixes to build using STLport
521
522 2003-10-02  André Pönitz  <poenitz@gmx.net>
523
524         * lyxfunc.C:
525         * text3.C: move handling of LFUN_DEPTH *; fix #1360
526
527 2003-10-01  André Pönitz  <poenitz@gmx.net>
528
529         * factory.C: assert early
530
531 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
532
533         * lyx_main.C: remove the global debug object
534
535         * debug.h: adjust for new debugstream
536
537         * debug.C: adjust for new debugstream and keep the global debug
538         object here.
539
540 2003-09-22  Angus Leeming  <leeming@lyx.org>
541
542         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
543         of g++ which otherwise complain that the scoped_ptr destructor can't delete
544         an incomplete class LyXFont.
545
546 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
547
548         * factory.C: bug fix in branches
549
550 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
551
552         * lyxfunc.C (processKeySym): adjust
553         (dispatch): adjust
554         (dispatch): change arg name from ev to func, adjust
555         (sendDispatchMessage): ditto
556
557         * lyx_main.C (defaultKeyBindings): adjust keybindings
558         (deadKeyBindings): ditto
559
560         * kbsequence.C (addkey): return a FuncRequest
561
562         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
563
564         * kbmap.C (bind): take a FuncRequest as arg, adjust
565         (read): adjust
566         (lookup): adjust
567         (defkey): change to take a FuncRequest as arg, adjust
568         (findbinding): take a FuncRequest as arg, adjust.
569
570         * funcrequest.h (operator=): added
571
572         * funcrequest.C (FuncRequest): default kb_action changed from
573         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
574
575         * buffer.C (dispatch): simplify
576         (dispatch): adjust to take a FuncRequest as arg, adjust
577
578         * boost.C (assertion_failed): change assertion message slightly
579
580         * ToolbarBackend.C (read): simplify
581
582         * MenuBackend.C (binding): adjust call to findbinding, add a
583         message if no binding is found.
584         (read): simplify
585         (expandToc): correct by adding a empty FuncRequest
586
587         * LyXAction.C: include <boost/assert.hpp>
588         (isPseudoAction): delete function
589         (LookupFunc): change name to...
590         (lookupFunc): this. change return type to FuncRequest.
591         (getActionName): take kb_action as arg, simplify
592         (funcHasFlag): add an assert, simplify.
593
594 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
595
596         * toc.C (action): return a FuncRequest, simplify
597
598         * lyxfunc.C (processKeySym): adjust
599         (getStatus): delete version that takes an int.
600         (getStatus): adjust
601         (dispatch): delete version that takes action as int
602         (dispatch): adjust
603         (sendDispatchMessage): simplify and adjust
604
605         * funcrequest.C (getArg): take unsigned int as arg
606
607         * ToolbarBackend.C (read): adjust
608         (add): delete version that takes func as a string.
609         (getIton): take a FuncRequest as arg
610
611         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
612         action.
613
614         * MenuBackend.C (MenuItem): add a new construct that only takes a
615         Kind, simplify the constructor use for submenus.
616         (add): adjust
617         (expandLastfiles): adjust
618         (expandDocuments): adjust
619         (expandFormats): adjust
620         (expandFloatListInsert): adjust
621         (expandFloatInsert): adjust
622         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
623
624         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
625         Remove class variables lyx_pseudo_map and lyx_arg_map
626
627         * LyXAction.C (searchActionArg): delete function
628         (getPseudoAction): delete function
629         (retrieveActionArg): delete function
630         (LookupFunc): make it return kb_action, simplify.
631         (getActionName): simplify
632
633         * factory.C (createInset): fix new bug
634
635 2003-09-19  Angus Leeming  <leeming@lyx.org>
636
637         * CutAndPaste.C (pasteSelection): remove fudge used to set the
638         masterFilename_ parameter in the include inset.
639
640         * factory.C (createInset): changes due to the changes to InsetInclude.
641
642 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
643
644         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
645
646 2003-09-18  Angus Leeming  <leeming@lyx.org>
647
648         * buffer.C:
649         * BufferView.C: pass the buffer when calling Inset::getLabelList,
650         Inset::fillWithBibKeys.
651         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
652
653 2003-09-18  Angus Leeming  <leeming@lyx.org>
654
655         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
656         variables.
657         (ctor): pass and store a 'Buffer const &'
658         (buffer): new member function.
659
660         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
661         '*this' to the LaTeXFeatures ctor.
662
663 2003-09-18  Angus Leeming  <leeming@lyx.org>
664
665         * LColor.h:
666         * lyxfont.C:
667         * lyxfont.h:
668         * lyxtext.h:
669         * text.C: rename EnumLColor as LColor_color.
670
671 2003-09-18  Angus Leeming  <leeming@lyx.org>
672
673         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
674         remove #include "insets/insetbase.h" from cursor.h.
675
676 2003-09-18  Angus Leeming  <leeming@lyx.org>
677
678         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
679         InsetOld_code to remove #include "inset.h".
680
681         * iterators.C: add #include "insets/inset.h"
682
683 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
684
685         * BufferView.C: remove more locking stuff that apparently doesn't
686         do anything sensible.
687
688 2003-09-16  André Pönitz  <poenitz@gmx.net>
689
690         * paragraph.[Ch]:
691         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
692           performance boost.
693
694 2003-09-16  Angus Leeming  <leeming@lyx.org>
695
696         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
697
698         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
699         arg/return type.
700
701         * paragraph.h: remove #include "lyxfont.h". Forward declare
702         LyXFont_size.
703
704 2003-09-16  Angus Leeming  <leeming@lyx.org>
705
706         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
707         of support/textutils.h.
708         (isWord): move the contents of support/textutils.h's IsWordChar here.
709
710         * buffer.C:
711         * lyxfind.C:
712         * rowpainter.C:
713         * text.C:
714         * text2.C: add #include "paragraph.h".
715
716         * rowpainter.C:
717         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
718
719 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
720
721         * main.C:
722         * lyx_main.C:
723         * lyx_cb.C:
724         * buffer.C:
725         * LaTeX.C: use namespace alias for lyx::support::os
726
727 2003-09-16  Angus Leeming  <leeming@lyx.org>
728
729         * bufferparams.C:
730         * bufferview_funcs.C:
731         * factory.C:
732         * lyxfunc.C:
733         * paragraph_pimpl.C:
734         * rowpainter.C:
735         * text.C: add #include "LColor.h".
736
737 2003-09-16  Angus Leeming  <leeming@lyx.org>
738
739         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
740         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
741         return LyXFont &.
742         Store the FontBits::color variable as an int rather than as an
743         LColor::colorso that we can move LColor.h out of the lyxfont.h header
744         file.
745
746         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
747         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
748         string calls together.
749
750         * lyxrc.C: add #include "LColor.h".
751
752 2003-09-15  Angus Leeming  <leeming@lyx.org>
753
754         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
755         a cow_ptr.
756
757 2003-09-15  Angus Leeming  <leeming@lyx.org>
758
759         * LColor.h: add an EnumLColor wrapper for LColor::color.
760
761         * lyxfont.[Ch] (color, setColor, realColor):
762         * lyxtext.h, text.C (backgroundColor):
763         pass EnumLColor args to/from the functions, rather than LColor::color
764         ones.
765
766         * lyxfont.h:
767         * lyxtext.h: forward declare EnumLColor.
768
769         * lyx_main.C: add #include "LColor.h".
770
771 2003-09-15  Angus Leeming  <leeming@lyx.org>
772
773         * .cvsignore: add lyx-gtk.
774
775 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
776
777         * Chktex.C
778         * LaTeX.C
779         * LaTeXFeatures.C
780         * ParagraphParameters.C
781         * Spacing.C
782         * buffer.C
783         * bufferparams.C
784         * bufferview_funcs.C
785         * chset.C
786         * counters.C
787         * funcrequest.C
788         * lyxfont.C
789         * lyxgluelength.C
790         * lyxlength.C
791         * paragraph.C
792         * paragraph_funcs.C
793         * text3.C
794         * vc-backend.C: remove usage of STRCONV
795
796 2003-09-15  Angus Leeming  <leeming@lyx.org>
797
798         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
799         explicitly define the color passed to the painter.
800
801 2003-09-15  Angus Leeming  <leeming@lyx.org>
802
803         * bufferparams.C (BufferParams): reorder member initializers to avoid
804         compiler warning.
805
806 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
807
808         * CutAndPaste.C (pasteSelection): remove an outdated #warning
809         * text.C (updateRowPositions): remove an unusual nop
810
811 2003-09-12  André Pönitz  <poenitz@gmx.net>
812
813         * BufferView_pimpl.C:
814         * Bullet.C:
815         * layout.h:
816         * lyxfunc.C:
817         * lyxlayout.[Ch]:
818         * lyxtextclass.C:
819         * rowpainter.C:
820         * text.C:
821         * text2.C:
822         * Counters.[Ch]: finish the 'automatic counters' job
823
824 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
825
826         * aspell.C: include <boost/assert.cpp> (compile fix)
827
828 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
829
830         * boost.C (assertion_failed): use lyx::support::abort instead of
831         assert.
832
833 2003-09-10  Angus Leeming  <leeming@lyx.org>
834
835         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
836         with their _fwd progeny.
837
838 2003-09-09  Angus Leeming  <leeming@lyx.org>
839
840         134 files throughtout the source tree: replace 'using namespace abc;'
841         directives with the appropriate 'using abc::xyz;' declarations.
842
843 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
844
845         * boost.C (emergencyCleanup): moved here from LAssert.c
846         (assertion_failed): new function, called by BOOST_ASSERT
847
848         * several files: change Assert to BOOST_ASSERT
849
850 2003-09-09  Angus Leeming  <leeming@lyx.org>
851
852         * buffer.[Ch]: Add an Impl class and move Buffer's member
853         variables into it. As a result move several header files out of
854         buffer.h.
855
856         Add header files to lots of .C files all over the tree as a result.
857
858 2003-09-09  Angus Leeming  <leeming@lyx.org>
859
860         * buffer.[Ch]: make Buffer's member variables private. Add
861         accessor functions.
862
863         Lots of changes all over the tree as a result.
864
865 2003-09-08  Angus Leeming  <leeming@lyx.org>
866
867         * graph.C: #include <config.h>.
868
869 2003-09-08  Angus Leeming  <leeming@lyx.org>
870
871         * BranchList.C:
872         * BufferView.C:
873         * BufferView_pimpl.C:
874         * CutAndPaste.C:
875         * DepTable.C:
876         * LaTeX.C:
877         * LaTeXFeatures.C:
878         * LyXAction.C:
879         * MenuBackend.C:
880         * TextCache.C:
881         * aspell.C:
882         * buffer.C:
883         * bufferlist.C:
884         * changes.C:
885         * chset.C:
886         * converter.C:
887         * counters.C:
888         * debug.C:
889         * graph.C:
890         * ispell.C:
891         * lyx_cb.C:
892         * lyxfind.C:
893         * lyxfunc.C:
894         * lyxlex_pimpl.C:
895         * lyxrc.C:
896         * lyxrow.C:
897         * paragraph.C:
898         * rowpainter.C:
899         * texrow.C:
900         * text.C:
901         * text2.C:
902         * toc.C: remove redundant using directives.
903
904 2003-09-07  Angus Leeming  <leeming@lyx.org>
905
906         * LaTeXFeatures.h: remove #include "support/types.h".
907         * ToolbarBackend.h: remove #include <algorithm>.
908         * changes.h: remove #include <ctime>.
909         * debug.h: remove #include <iosfwd>.
910         * graph.h: remove #include "support/std_string.h".
911         * lyx_main.h: remove #include <csignal>.
912         * lyxlex_pimpl.h: remove #include <fstream>.
913         * sgml.h: remove #include <algorithm>, <utility>.
914         * toc.h: remove #include "support/std_ostream.h".
915         Add #include <iosfwd>.
916
917 2003-09-07  Angus Leeming  <leeming@lyx.org>
918
919         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
920
921         * converter.h: forward declare LatexRunParams.
922         * encoding.h: remove #include "lyxrc.h".
923         * lyxtext.h: remove #include "LColor.h".
924         * lyxtextclass.h: remove #include "support/types.h".
925         * trans.h: remove #include "tex-accent.h".
926         * trans_mgr.h: remove #include "tex-accent.h".
927         * insets/inset.h: remove #include "support/types.h", <vector>.
928         * insets/insetcollapsable.h: remove #include "LColor.h".
929         * insets/insetinclude.h: remove #include "dimension.h".
930         * insets/insetlatexaccent.h: remove #include "dimension.h".
931         * insets/insetoptarg.h:: remove #include "insettext.h".
932         * insets/insettext.h: remove #include "dimension.h",
933         <boost/shared_ptr.hpp>
934
935         * insets/renderers.h: add #include "dimension.h".
936         * insets/updatableinset.h: add #include "support/types.h".
937
938         * many .C files: Associated changes.
939
940 2003-09-06  Angus Leeming  <leeming@lyx.org>
941
942         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
943         one, inside testInvariant.
944
945         * PrinterParams.C: new file.
946         * PrinterParams.[Ch]: move the function bodies out of line.
947
948 2003-09-06  Angus Leeming  <leeming@lyx.org>
949
950         * ParagraphParameters.h: forward declare ParameterStruct rather than
951         including its header file.
952         (depth): moved out-of-line.
953
954 2003-09-06  Angus Leeming  <leeming@lyx.org>
955
956         * BufferView_pimpl.h:
957         * kbmap.h:
958         * kbsequence.h:
959         * lyxfunc.h: forward declare LyXKeySym rather than
960         #include "frontends/LyXKeySym.h".
961
962         * BufferView_pimpl.C:
963         * kbmap.C:
964         * kbsequence.C:
965         * lyxfunc.C: associated changes.
966
967 2003-09-06  Angus Leeming  <leeming@lyx.org>
968
969         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
970         As a result, can remove the #include "insets/inset.h" from BufferView.h
971
972 2003-09-06  Angus Leeming  <leeming@lyx.org>
973
974         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
975         As a result, can remove the #include "insets/inset.h" from BufferView.h
976
977 2003-09-06  Angus Leeming  <leeming@lyx.org>
978
979         * buffer_funcs.C:
980         * buffer.h:
981         * bufferlist.C:
982         * BufferView.C:
983         * bufferview_funcs.C:
984         * BufferView_pimpl.C:
985         * CutAndPaste.C:
986         * lyx_cb.C:
987         * lyxfunc.C:
988         * paragraph.h:
989         * ParagraphParameters.C:
990         * tabular.C:
991         * text3.C:
992         * toc.C:
993         * undo_funcs.C:
994         * frontends/controllers/ControlDocument.C:
995         * insets/insetcaption.C: rearrange the #includes into some sort of
996         coherent order.
997
998         * buffer.h: remove #includes ErrorList.h, undo.h
999
1000 2003-09-06  Angus Leeming  <leeming@lyx.org>
1001
1002         * support/types.h: add a 'depth_type' typedef, used to store the
1003         nesting depth of a paragraph.
1004
1005         * paragraph.h:
1006         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1007         defining explicitly.
1008
1009         * buffer.h:
1010         * paragraph_funcs.h:
1011         * ParagraphParameters.h:
1012         * sgml.h: use lyx::depth_type rather than Paragraph or
1013         ParameterStruct's depth_type.
1014
1015         * buffer.h
1016         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1017
1018         * BufferView.C:
1019         * BufferView_pimpl.C:
1020         * CutAndPaste.C:
1021         * ParagraphParameters.C:
1022         * buffer_funcs.C:
1023         * bufferlist.C:
1024         * bufferview_funcs.C:
1025         * lyx_cb.C:
1026         * lyxfunc.C:
1027         * tabular.C:
1028         * text3.C:
1029         * toc.C:
1030         * undo_funcs.C:
1031         * frontends/LyXView.C:
1032         * frontends/controllers/ControlDocument.C:
1033         * frontends/controllers/ControlErrorList.C:
1034         * insets/insetbibitem.C:
1035         * insets/insetbranch.C:
1036         * insets/insetcaption.C:
1037         * insets/insetcollapsable.C:
1038         * insets/insetenv.C:
1039         * insets/insetert.C:
1040         * insets/insetfloat.C:
1041         * insets/insetfoot.C:
1042         * insets/insetfootlike.C:
1043         * insets/insetnewline.C:
1044         * insets/insetquotes.C:
1045         * insets/insettabular.C:
1046         * insets/insettext.C:
1047         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1048
1049         * frontends/controllers/ControlChanges.C: #include "changes.h".
1050
1051 2003-09-06  Angus Leeming  <leeming@lyx.org>
1052
1053         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1054         than #including paragraph.h.
1055
1056         * ParagraphList.h:
1057         * RowList.h: deleted. Superfluous.
1058
1059         * CutAndPaste.h:
1060         * iterators.h:
1061         * lyxcursor.h:
1062         * lyxtext.h:
1063         * text_funcs.h:
1064         * undo.h:
1065         * undo_funcs.h:
1066         * insets/inset.h:
1067         * insets/insettext.h: use ParagraphList_fwd.h rather than
1068         ParagraphList.h.
1069
1070         * paragraph.h: don't forward declare ParagraphList.
1071
1072         * buffer.h:
1073         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1074         rather than ParagraphList.h. paragraph.h is still needed for the
1075         Paragraph::depth_type parameters.
1076
1077         * textcursor.h: enable it to compile stand-alone in light of the
1078         above changes.
1079
1080         * bufferview_funcs.C:
1081         * iterators.C:
1082         * lyxfunc.C:
1083         * lyxrow_funcs.C:
1084         * paragraph.C:
1085         * rowpainter.C:
1086         * text.C:
1087         * text2.C:
1088         * text3.C:
1089         * text_funcs.C:
1090         * textcursor.C:
1091         * undo.C:
1092         * frontends/controllers/ControlParagraph.C:
1093         * frontends/controllers/ControlTabular.C:
1094         * insets/insetmarginal.C:
1095         * insets/insetminipage.C:
1096         * insets/insetnote.C:
1097         * insets/insetoptarg.C: add header files needed to compile again.
1098
1099 2003-09-06  Angus Leeming  <leeming@lyx.org>
1100
1101         * RowList_fwd.h: new file, forward-declaring Row rather than
1102         #including lyxrow.h.
1103
1104         * lyxrow_funcs.h:
1105         * lyxtext.h:
1106         * paragraph.h:
1107         * insets/insettext.h: use it instead of RowList.h
1108
1109         * bufferview_funcs.C:
1110         * lyxfunc.C:
1111         * lyxrow_funcs.C:
1112         * paragraph.C:
1113         * rowpainter.C:
1114         * text.C:
1115         * text2.C:
1116         * text3.C: #include "RowList.h".
1117
1118 2003-09-05  Angus Leeming  <leeming@lyx.org>
1119
1120         * factory.C (createInset):
1121         * vspace.C (c-tor): replace sscanf call with an istringstream.
1122         * ispell.C: re-add missing HP/UX headers.
1123         * lyxserver.C: re-add missing  os2 headers.
1124
1125 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1126
1127         * BranchList.C:
1128         * graph.C:
1129         * ispell.C:
1130         * lastfiles.C:
1131         * lyx_cb.C:
1132         * lyxserver.C:
1133         * texrow.C:
1134         * text3.C: re-add missing system headers, needed for 2.95.2.
1135
1136 2003-09-05  Angus Leeming  <leeming@lyx.org>
1137
1138         Changes most place everywhere due to the removal of using directives
1139         from support/std_sstream.h.
1140
1141 2003-09-05  Angus Leeming  <leeming@lyx.org>
1142
1143         Replace LString.h with support/std_string.h,
1144         Lsstream.h with support/std_sstream.h,
1145         support/LIstream.h with support/std_istream.h,
1146         support/LOstream.h with support/std_ostream.h.
1147
1148         Changes resulting throughout the tree.
1149
1150 2003-09-05  Angus Leeming  <leeming@lyx.org>
1151
1152         * sgml.h: ensure that the header file can be compiled stand-alone.
1153         * *.C: strip out redundant #includes. (320 in total.)
1154
1155 2003-09-04  Angus Leeming  <leeming@lyx.org>
1156
1157         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1158         here (from getPackages).
1159
1160         * debug.[Ch]: add a new EXTERNAL tag.
1161
1162 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1163
1164         * text2.C (cursorEnd): simplify
1165         (setCursor): adjust
1166         (getColumnNearX): adjust
1167
1168         * text.C (computeBidiTables): adjust
1169         (fill): adjust
1170
1171         * rowpainter.C (paintChars): adjust
1172         (paintSelection): adjust
1173         (paintChangeBar): adjust
1174         (paintText): adjust
1175
1176         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1177         lastPos instead.
1178         (numberOfSeparators): adjust
1179
1180 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1181
1182         * LyXAction.C:
1183         * box.[Ch]:
1184         * lfuns.h:
1185         * lyxfunc.C:
1186         * text3.C: Restricts the mouse click functionality
1187         of insets like bibtex, include, toc and floatlist to the visible
1188         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1189         up the dialogs. Cursor has to be in front of the inset (i.e.
1190         start of row) for this to function.
1191
1192 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1193
1194         * bufferview_funcs.C (currentState): output row information
1195
1196 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1197
1198         * bufferview_funcs.C (currentState): output paragraph position
1199
1200 2003-09-04  Angus Leeming  <leeming@lyx.org>
1201
1202         * FloatList.h: move out #include "Floating.h".
1203         * LaTeX.h: move out #include "DepTable.h".
1204         * LyXAction.h: move out #include "funcrequest.h".
1205         * buffer.h: move out #include "author.h", "iterators.h".
1206         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1207         * lyx_main.h: move out #include "errorlist.h".
1208         * lyxfunc.h: move out #include "FuncStatus.h".
1209         * lyxtext: move out #include "lyxcursor.h".
1210         * paragraph_pimpl.h: move out #include "counters.h".
1211
1212 2003-09-03  Angus Leeming  <leeming@lyx.org>
1213
1214         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1215         preamble_snippets list, enabling us to add snippets to the preamble
1216         only if the snippet was not there already.
1217
1218 2003-09-04  Angus Leeming  <leeming@lyx.org>
1219
1220         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1221
1222 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1223
1224         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1225         update
1226
1227 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1228
1229         * BranchList.C: point fix, earlier forgotten
1230
1231 2003-09-02  Angus Leeming  <leeming@lyx.org>
1232
1233         * box.C (contains): renamed from 'contained' after a fantastic
1234         amount of hot air.
1235
1236 2003-09-02  John Levon  <levon@movementarian.org>
1237
1238         * BufferView.C:
1239         * lyxcursor.h:
1240         * lyxcursor.C:
1241         * lyxfunc.C:
1242         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1243
1244 2003-09-02  John Levon  <levon@movementarian.org>
1245
1246         * text2.C: simplification of cursorEnd(), including partial
1247         fix for bug 1376
1248
1249 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1250
1251         * buffer.C (readFile): add a space
1252
1253 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1254
1255         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1256
1257 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1258
1259         * buffer.C (readFile): new function, take a filename and a
1260         ParagraphList::iterator
1261         (readFile): adjust
1262         (readFile): adjust, make it private. don't use setStream, make
1263         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1264         always contain the filename.
1265
1266         * BufferView.C (insertLyXFile): simplify and make it work for
1267         gzipped files.
1268
1269 2003-08-30  John Levon  <levon@movementarian.org>
1270
1271         * Makefile.am: fix dist (from Kayvan)
1272
1273 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1274
1275         * most files: change to use const Buffer refs
1276
1277 2003-08-27  André Pönitz  <poenitz@gmx.net>
1278
1279         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1280         on top of ownerPar().
1281
1282 2003-08-27  John Levon  <levon@movementarian.org>
1283
1284         * funcrequest.C: properly initialise POD members
1285
1286 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1287
1288         * lyxtext.h (top_y): move top_y from here
1289         * text.C:
1290         * text2.C:
1291         * text3.C:
1292         * BufferView.[Ch]:
1293         * BufferView_pimpl.[Ch]: to here
1294         * frontends/screen.C:
1295         * insets/insettabular.C:
1296         * insets/insettext.C: adjust
1297         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1298
1299 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1300
1301         * BufferView.[Ch]:
1302         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1303
1304 2003-08-26  André Pönitz  <poenitz@gmx.net>
1305
1306         * paragraph_func.[Ch] (outerPar): new function
1307
1308         * paragraph.C:
1309         * paragraph_funcs.C:
1310         * paragraph_funcs.h:
1311         * paragraph_pimpl.C:
1312         * text2.C: remove Inset::par_owner
1313
1314 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1315
1316         * lyxrow_funcs.C:
1317         * lyxtext.h:
1318         * text.C:
1319         * text2.C: eliminates the needFullRow/display() stuff
1320         altogether, putting the logic in metrics/draw in the insets.
1321
1322 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1323
1324         * text2.C (redoParagraphInternal, redoParagraphs):
1325         * text.C (redoParagraph): add a call to updateRowPositions at the
1326         end of each 'metrics-like' call. Remove all others.
1327         (getRow): remove the 'y-computing' version.
1328         (getRowNearY): do not compute nor return the real y. Solve the
1329         'y < 0' problem and simplify.
1330
1331 2003-08-22  Angus Leeming  <leeming@lyx.org>
1332
1333         * *.[Ch]: clean-up of licence and author blurbs.
1334         Also move config.h out of a few .h files and into a few .C files.
1335
1336 2003-08-22  André Pönitz  <poenitz@gmx.net>
1337
1338         * lyxrow.[Ch]: add x_ and *fill_ members
1339
1340         * lyxtext.h:
1341         * text.C:
1342         * rowpainter.C:
1343         * text2.C: adjust/remove prepareToPrint() calls
1344
1345 2003-08-22  André Pönitz  <poenitz@gmx.net>
1346
1347         * lyxrow.[Ch]: add  end_ member
1348
1349         * lyxrow_funcs.C: use LyXRow::end_
1350
1351         * lyxtext.h (singleWidth): add LyXFont parameter
1352
1353         * rowpainter.C:
1354         * text2.C: adjust LyXText::singleWidth() calls
1355
1356         * text.C (redoParagraph): simplify row breaking logic
1357
1358
1359 2003-08-19  André Pönitz  <poenitz@gmx.net>
1360
1361         * funcrequest.C: initialize button_ member
1362
1363         * text3.C:
1364         * rowpainter.[Ch]: interface consolidation
1365
1366 2003-08-18  André Pönitz  <poenitz@gmx.net>
1367
1368         * BufferView.C:
1369         * BufferView_pimpl.C:
1370         * lyxfind.C:
1371         * paragraph_funcs.C:
1372         * rowpainter.C:
1373         * text3.C: remove LyXScreen::draw() and fitCursor calls
1374
1375         * BranchList.h: remove spurious semicolons
1376
1377         * MenuBackend.C: fix branchlist related crash
1378
1379 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1380
1381         * BranchList.[Ch]:
1382         * InsetList.[Ch]:
1383         * LColor.[Ch]:
1384         * LyXAction.C:
1385         * Makefile.am:
1386         * MenuBackend.[Ch]:
1387         * bufferparams.[Ch]:
1388         * factory.C:
1389         * lfuns.h:
1390         * lyxfunc.C:
1391         * text3.C: implements the 'branch inset'
1392         idea. This allows the output of various versions of a document
1393         from a single source version, selectively outputing or suppressing
1394         output of parts of the text.
1395         This implementation contains a 'branch list editor' in a separate
1396         tab of the document settings dialog. Branches are user definable
1397         and have a "display colour" to distinguish them on-screen.
1398
1399         ColorHandler was somewhat cleaned up.
1400         (1) make possible a dynamically growing LColor list by allowing
1401         the graphic context cache to grow along (vector);
1402         (2) eliminate an IMHO unnecessary step in colour allocation.
1403
1404 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1405
1406         * BufferView_pimpl.C: compile fix
1407
1408 2003-08-15  André Pönitz  <poenitz@gmx.net>
1409
1410         * rowpainter.C: remove extra metrics calls
1411
1412         * lyxtext.h: merge the two constructors into a single one,
1413           pass reference to owner's par list
1414
1415         * BufferView_pimpl.C:
1416         * text.C:
1417         * text2.C: adjust
1418
1419 2003-08-15  André Pönitz  <poenitz@gmx.net>
1420
1421         * lyxrow_funcs.[Ch]:
1422         * lyxtext.h:
1423         * paragraph.h:
1424         * paragraph_funcs.C:
1425         * rowpainter.C:
1426         * text.C:
1427         * text2.C:
1428         * text3.C:
1429         * text_funcs.C: split LyXText::rowlist_ into individual
1430         Paragraph::rows_ chunks
1431
1432         * BufferView.[Ch]:
1433         * BufferView_pimpl.[Ch]:
1434         * lyxfind.C:
1435         * lyxtext.h:
1436         * text3.C: remove toggleSelection()
1437
1438 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1439
1440         * bufferlist.C: beautify two alerts (shorter text of buttons)
1441         * buffer.C: Remove redundant ' ' from message
1442         * tabular.h:
1443         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1444         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1445         rename VALIGN_CENTER to VALIGN_MIDDLE
1446
1447 2003-08-11  André Pönitz  <poenitz@gmx.net>
1448
1449         * lyxtext.h (getPar):
1450         * text.C: new function
1451
1452 2003-08-11  André Pönitz  <poenitz@gmx.net>
1453
1454         * Makefile.am:
1455         * tracer.[Ch]: remove unneeded files
1456
1457         * InsetList.[Ch]: remove resizeInsetsLyXText()
1458
1459         * lyxtext.h:
1460         * text.C:
1461         * text2.C:
1462         * text3.C: merge insertParagraphs() and appendParagraph()
1463         remove breakAgain(), update()
1464
1465         * BufferView_pimpl.[Ch]:
1466         * bufferview_funcs.[Ch]:
1467         * lyxfunc.C:
1468         * paragraph.[Ch]:
1469         * rowpainter.C:
1470         * tabular.C: adjust after text & InsetList changes.
1471
1472 2003-08-08  André Pönitz  <poenitz@gmx.net>
1473
1474         * text.C (insertChar, backspace): replace rowlist fiddling
1475         with rebreak of full par
1476
1477         * lyxtext.h:
1478         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1479         checkParagraph, updateInset): removed
1480
1481 2003-08-07  André Pönitz  <poenitz@gmx.net>
1482
1483         * paragraph.C:
1484         * text3.C: merge some LFUN handlers, remove dead code
1485
1486 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1487
1488         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1489
1490 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1491
1492         * text2.C (DEPM): fix part of bug 1255 and 1256
1493
1494 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1495
1496         * BufferView_pimpl.C (workAreaDispatch): change to use
1497         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1498         that are no mouse related.
1499
1500 2003-08-05  André Pönitz  <poenitz@gmx.net>
1501
1502         * BufferView.[Ch]:
1503         * BufferView_pimpl.[Ch]:
1504         * bufferview_funcs.C:
1505         * text2.C:
1506         * text3.C: rip out "deep update"
1507
1508         * textcursor.[Ch] (last_sel_cursor): remove unused member
1509
1510 2003-08-04  André Pönitz  <poenitz@gmx.net>
1511
1512         * BufferView.[Ch]:
1513         * BufferView_pimpl.[Ch]:
1514         * ParagraphParameters.C:
1515         * bufferview_funcs.C:
1516         * lyx_cb.C:
1517         * lyxfind.C:
1518         * lyxfunc.C:
1519         * text.C:
1520         * text2.C:
1521         * text3.C: replace "complicated" BufferView::update(...) calls with
1522         simpler ones.
1523
1524         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1525
1526 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1527
1528         * Makefile.am (lyx_SOURCES): add paper.h
1529
1530 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1531
1532         * Makefile.am: move things around so that both lyx-qt and
1533         lyx-xforms can be built (according to --with-frontend). Then lyx
1534         is a symbolic link to lyx-[firstfrontend]
1535
1536 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1537
1538         * Always use std::endl with lyxerr
1539
1540 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1541
1542         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1543
1544 2003-08-01  André Pönitz  <poenitz@gmx.net>
1545
1546         * BufferView.[Ch]:
1547         * BufferView_pimpl.[Ch]:
1548         * lyxfunc.C:
1549         * text3.C: merge BufferView::repaint() and BufferView::update()
1550
1551 2003-08-01  José Matos  <jamatos@lyx.org>
1552
1553         * buffer.[Ch]: file_format is no longer a buffer data element.
1554
1555 2003-08-01  André Pönitz  <poenitz@gmx.net>
1556
1557         * BufferView.C:
1558         * lyxtext.h:
1559         * text.C:
1560         * text2.C: make redoParagraph more independent of current cursor
1561
1562         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1563         * text.C:
1564         * text2.C: remove unneeded members
1565
1566 2003-07-30  André Pönitz  <poenitz@gmx.net>
1567
1568         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1569
1570         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1571           create a single function...
1572
1573         * paragraph_funcs.C (moveItem): ... here.
1574
1575         * text.C:
1576           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1577
1578 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1579
1580         * LColor.[Ch]: Add comment and greyedout logical colors.
1581
1582 2003-07-30  André Pönitz  <poenitz@gmx.net>
1583
1584         * tabular.C: don't use Assert too heavily. This crashes where it
1585           shouldn't
1586
1587 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1588
1589         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1590         is disabled (bug 1232)
1591
1592 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1593
1594         * factory.C: limited 'arg' scope
1595
1596 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1597
1598         * factory.C: fixed Note submenu issues
1599
1600 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1601
1602         * factory.C: submenu for Note/Comment/Greyedout
1603
1604 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1605
1606         * lyx_main.C (LyX):
1607         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1608
1609 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1610
1611         * LaTeXFeatures.C:
1612         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1613         greyedout. Patch provided by Jürgen Spitzmüller.
1614
1615 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1616
1617         * kbmap.C (read): fix error message when reading bind files
1618
1619 2003-07-29  Angus Leeming  <leeming@lyx.org>
1620
1621         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1622         certainly does not do what it purports to do. I am doing it, and
1623         us, a favour by killing it.
1624
1625 2003-07-28  José Matos  <jamatos@lyx.org>
1626
1627         * buffer.C (readBody, do_writeFile):
1628         * paragraph.C(readParagraph): \end_document replaces \the_end.
1629
1630 2003-07-29  André Pönitz  <poenitz@gmx.net>
1631
1632         * BufferView.[Ch]:
1633         * BufferView_pimpl.[Ch]:
1634         * lyxfunc.C:
1635         * text2.C:
1636         * text3.C:
1637         * textcursor.[Ch]: remove toggleToggle & Co
1638
1639 2003-07-28  José Matos  <jamatos@fep.up.pt>
1640
1641         * buffer.C (readParagraph):
1642         * params_func (readParToken, readParagraph):
1643         * paragraph.C (write): \layout -> \begin_layout.
1644
1645 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1646
1647         * lyxlex_pimpl.C (setFile): clean up slightly.
1648
1649         * bufferparams.h: add compressed var
1650
1651         * buffer_funcs.C (readFile): adjust for LyXLex change
1652         (newFile): ditto + simplify
1653
1654         * buffer.C (writeFile): handle writing of compressed files
1655
1656         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1657         Check if the file is compressed and set a bufferparm if so.
1658
1659         * Makefile.am (lyx_LDADD): remove explicit -lz
1660
1661 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1662
1663         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1664         makeDocBookFile): put the real LyX version in the first line of
1665         the file
1666
1667         * version.h:
1668         * version.C.in: remove lyx_docversion
1669
1670         * tabular.C (write_attribute): add a template-based version to
1671         write enums properly
1672
1673 2003-07-28  André Pönitz  <poenitz@gmx.net>
1674
1675         * lyxtext.h:
1676         * text.C:
1677         * text2.C:
1678         * text3.C: use doubles again for x-coordinates. They are needed.
1679
1680 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1681
1682         * messages.C (getLocaleDir): use lyx_localedir()
1683
1684         * lyxlex_pimpl.C (setFile): compress stuff
1685
1686         * buffer.C (writeFile): add some compression stuff
1687         (do_writeFile): new func, dont call expliti close... will this
1688         breake anything?
1689
1690         * Makefile.am (lyx_LDADD): add -lz
1691
1692 2003-07-28  José Matos  <jamatos@fep.up.pt>
1693
1694         * buffer.C: increment file format.
1695         * paragraph_funcs (readParagraph, readParToken):
1696         * paragraph.C (readParagraph): add \end_layout.
1697
1698 2003-07-27  Angus Leeming  <leeming@lyx.org>
1699
1700         * Makefile.am: remove special casing for configure-time setting of
1701         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1702
1703         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1704         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1705
1706 2003-07-26  André Pönitz  <poenitz@gmx.net>
1707
1708         * paragraph_func.[Ch]:
1709         * paragraph.C (realizeFont): inline it whereever it is used
1710
1711         * rowpainter.C:
1712         * text.C:
1713         * text2.C:
1714         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1715
1716
1717 2003-07-26  André Pönitz  <poenitz@gmx.net>
1718
1719         *       lyxtext.h:
1720         * text.C:
1721         * text2.C: get rid of LyXText::need_break_row
1722
1723 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1724
1725         * toc.[Ch]: put namespace toc inside namespace lyx
1726
1727         * MenuBackend.C (expandToc2): adjust for lyx::toc
1728         (expandToc): ditto
1729
1730         * lyxfunc.C (dispatch): adjust for lyx::find
1731
1732         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1733         lyx::find instead. Reorganize a bit.
1734         (LyXReplace): rename to replace
1735         (LyXFind): rename to find
1736
1737         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1738         (dispatch): ditto
1739
1740 2003-07-26  André Pönitz  <poenitz@gmx.net>
1741
1742         * text.C (setHeightOfRow): restrict scope of temporary variable
1743
1744         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1745           code (never has been used?)
1746
1747 2003-07-27  Asger Alstrup  <alstrup@local>
1748
1749         * text.C (fill): Optimise algorithm to exploit that we can reuse
1750         the LyXFont for many characters.
1751         (setHeightOfRow): Same thing.
1752         (rowBreakPoint): Same thing.
1753
1754 2003-07-26  Asger Alstrup  <alstrup@local>
1755
1756         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1757
1758         * text.C (singleWidth): Spurious font copying in hot-spot
1759         singleWidth avoided. Reorder tests for arabic for efficiency.
1760
1761         * text.C (fill): handle empty paragraphs better.
1762
1763 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1764
1765         * ispell.C:
1766         * encoding.h: add includes
1767
1768         * lyxrc.C: remove reading of bind files
1769
1770         * lyx_main.C (init): setup bindings and menus only if we have a
1771         gui.
1772
1773         * kbmap.C (read): new method. Do the actual reading of bind
1774         files.
1775
1776         * converter.C (dvipdfm_options):
1777         * bufferparams.C:
1778         * lyxrc.C (read):
1779         (output): adapt PAPER_* enums.
1780
1781         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1782
1783         * bufferparams.h: remove paper-related enums from there
1784
1785         * paper.h: New file. A trivial header file to hold paper-related
1786         enums. It should later expand to contain many paper-related
1787         horrors access.
1788
1789         * lyxrc.C: declare extern displayTranslator
1790
1791 2003-07-27  José Matos  <jamatos@fep.up.pt>
1792
1793         * tabular.[Ch] (linuxdoc): add support for tables and figures
1794         (linuxdoc).
1795
1796 2003-07-27  José Matos  <jamatos@fep.up.pt>
1797
1798         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1799         consistency in both functions.
1800         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1801
1802 2003-07-26  Asger Alstrup  <alstrup@local>
1803
1804         * rowpainter.C (paintRows): Change algorithm to work directly on
1805         the insets rather than asking every character in the document
1806         whether its an inset.
1807
1808 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1809
1810         * buffer.C (openFileWrite): factorize some code
1811
1812 2003-07-26  Angus Leeming  <leeming@lyx.org>
1813
1814         * lyx_cb.C:
1815         * lyx_main.[Ch]: replace occurances of system_tempdir with
1816         os::getTmpDir().
1817
1818 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1819
1820         * rename Inset to InsetOld
1821
1822 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1823
1824         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1825         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1826         which I think is a bit clearer. EDIT is gone, since it was
1827         premature optimisation, and broken for mathed anyway.
1828         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1829         with cursor positioning in insets as well (math insets still do not
1830         work, but that's a different story anyway.) It mysteriously
1831         crashes sometimes with undo in the first paragraph, but I'm fairly
1832         confident that this is a compiler bug.
1833
1834 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1835
1836         * paragraph.C (Paragraph): adjust for new clone return type
1837         (operator==): ditto
1838         (copyIntoMinibuffer): ditto
1839
1840 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1841
1842         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1843         by not having a special case, and always doing a full rebreak of
1844         the document after undo.
1845
1846 2003-07-23  Angus Leeming  <leeming@lyx.org>
1847
1848         * factory.C (createInset): InsetExternal::setParams now takes a
1849         Buffer const * arg.
1850
1851 2003-07-23  Angus Leeming  <leeming@lyx.org>
1852
1853         * factory.C (createInset): changed interface to the external and
1854         graphics mailers' string2params functions.
1855
1856 2003-07-23  Angus Leeming  <leeming@lyx.org>
1857
1858         * factory.C (createInset): pass a
1859         Buffer const * parameter to InsetExternalMailer's string2params.
1860
1861 2003-07-22  John Levon  <levon@movementarian.org>
1862
1863         * Thesaurus.h: include the right aiksaurus header
1864
1865 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1866
1867         * MenuBackend.C (expand): check menu shortcuts unconditionally
1868
1869 2003-07-21  Angus Leeming  <leeming@lyx.org>
1870
1871         * factory.C (createInset): pass a
1872         buffer_path parameter to InsetGraphicsMailer's string2params.
1873
1874 2003-07-21  Angus Leeming  <leeming@lyx.org>
1875
1876         * BufferView_pimpl.C (buffer):
1877         * buffer.C (d-tor):
1878         * lyx_main.C (LyX):
1879         * lyxfunc.C (dispatch):
1880         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1881         rather than the grfx shortcut.
1882
1883 2003-07-21  André Pönitz  <poenitz@gmx.net>
1884
1885         * rowpainter.C: remove unused variables
1886
1887         * tabular_funcs.C:
1888         * tabular_funcs.h: move to tabular.C
1889         * Makefile.am: adjust
1890
1891         * tabular.[Ch]: basic optical cleaning
1892
1893         * author.h: pass references, not values
1894
1895 2003-07-18  André Pönitz  <poenitz@gmx.net>
1896
1897         * lyxtext.h:
1898         * metricsinfo.C:
1899         * metricsinfo.h:
1900         * rowpainter.C:
1901         * text.C:
1902         * text2.C:
1903         * text3.C: two-phase drawing for InsetText and InsetTabular
1904         some float -> int changes.
1905
1906 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1907
1908         * lyx_main.C: fix the fix
1909
1910 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1911
1912         * lyx_main.C: fix a crash in batch mode if no files specified
1913         * converter.C: ws
1914
1915 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1916
1917         * format.[Ch] (papersize): moved to BufferParams
1918         * converter.[Ch] (dvips_options): moved to BufferParams
1919         (dvipdfm_options): moved to anon namespace
1920         * bufferparams.[Ch]: added above functions.
1921
1922 2003-07-17  André Pönitz  <poenitz@gmx.net>
1923
1924         * lyxtext.h:
1925         * rowpainter.C:
1926         * text2.C: don't call inset->update() anymore
1927
1928         * metricsinfo.[Ch]: add convenience constructor
1929
1930 2003-07-16  André Pönitz  <poenitz@gmx.net>
1931
1932         * lyxcursor.[Ch]:
1933         * lyxfunc.[Ch]:
1934         * text.C:
1935         * text2.C: replace the LyXCursor::irow_ member with
1936          on-demand computation of the value
1937
1938 2003-07-16  John Levon  <levon@movementarian.org>
1939
1940         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1941
1942 2003-07-15  André Pönitz  <poenitz@gmx.net>
1943
1944         * text.C:
1945         * text2.C: remove no more needed refresh_row
1946
1947 2003-07-15  André Pönitz  <poenitz@gmx.net>
1948
1949         * lyxtext.h:
1950         * rowpainter.C:
1951         * text2.C:
1952         * text3.C: refresh_status tristate -> need_update bool
1953
1954 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1955
1956         * lyxtext.h (init): remove reinit argument (act as if always true)
1957         * text2.C: adjust to that
1958
1959 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1960
1961         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1962         * text3.C: use it to delete selections in some cases
1963         (bugs 441, 673, 702, 954).
1964
1965 2003-07-14  André Pönitz  <poenitz@gmx.net>
1966
1967         * rowpainter.[Ch]: reduce interface
1968
1969 2003-07-14  André Pönitz  <poenitz@gmx.net>
1970
1971         * BufferView_pimpl.C:
1972         * text2.C: adjust after removing unused BufferView * argument
1973
1974 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1975
1976         * text2.C (init): fix a crash fired on resize
1977
1978 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1979
1980         * buffer.[Ch]: added new closing signal
1981         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1982         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1983         BufferView::Pimpl via the closing the signal
1984
1985 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1986
1987         * buffer.[Ch]: take out all bv-related from buffer
1988         * BufferView.C:
1989         * BufferView_pimpl.[Ch]: connect to new signals
1990         * CutAndPaste.C: removed useless asserts
1991         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1992         * lyxvc.[Ch]:
1993         * vc-backend.[Ch]:
1994         * lyxfunc.C: moved view-related funciontality from vc here
1995         * paragraph.C: removed outdated comments
1996         * text.C: ws
1997
1998 2003-07-10  André Pönitz  <poenitz@gmx.net>
1999
2000         * BufferView_pimpl.C:
2001         * tabular.h:
2002         * tabular_funcs.C:
2003         * text.C:
2004         * text2.C: remove InsetText::InnerCache, clean up consequences
2005
2006 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2007
2008         * ispell.C: fix two typos in error messages
2009
2010 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2011
2012         * Extend Note inset to other forms of annotation like Comment
2013         and Greyedout. Right button click gives dialog.
2014
2015         Files modified or added (+):
2016
2017         * insetnote.[Ch]
2018         * FormNote.[Ch]      +
2019         * ControlNote.[Ch]   +
2020         * form_note.fd       +
2021         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2022         frontends/controllers
2023         * xforms/Dialogs.C
2024         * factory.C
2025
2026 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2027
2028         * aspell.C: add missing namespace lyx::support
2029
2030 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2031
2032         * BufferView.[Ch] (newFile): Add
2033         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2034         * LaTeX.[Ch] (message): added this signal and use it
2035         * buffer.[Ch] (busy, message): added these signals and use them
2036         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2037         * converter.C:
2038         * exporter.C:
2039         * format.C:
2040         * importer.C: use buffer signals instead of direct bv calling
2041         * lyx_cb.[Ch] (ShowMessage): removed
2042         * lyx_main.C:
2043         * lyxfunc.C:
2044         * paragraph_funcs.C:
2045         * text2.C: use buffer signals
2046
2047 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2048
2049         * introduce namespace lyx::graphics
2050
2051 2003-07-02  André Pönitz  <poenitz@gmx.net>
2052
2053         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2054
2055 2003-07-01  André Pönitz  <poenitz@gmx.net>
2056
2057         * text.C:
2058         * text2.C:
2059         * text3.C:
2060         * text_funcs.[Ch]:
2061         * textcursor.h:
2062         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2063           text*.C to text_func.C
2064
2065 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2066
2067         * introduce namespace lyx::support
2068
2069 2003-06-30  André Pönitz  <poenitz@gmx.net>
2070
2071         * Chktex.C:
2072         * funcrequest.C:
2073         * lyxtext.h:
2074         * text.C: re-enable --with-included-string
2075
2076 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2077
2078         * textcursor.C: add <config.h>
2079
2080         * text.C (getWord): remove const from word_location arg
2081
2082         * lyxvc.C (getLogFile): fix const type order
2083
2084         * lyxtext.h: remove const from word_location arg, add arg name
2085
2086         * lyxlayout.h: currect type on labeltype.
2087
2088         * importer.C: correct \file
2089
2090         * converter.C (intToFormat): use std:: on ret val, ws changes
2091
2092         * bufferlist.h: correct \file
2093
2094         * buffer.C (makeLinuxDocFile): fix const type order
2095         (makeDocBookFile): ditto
2096         (fillWithBibKeys): use std:: on stdlib args.
2097
2098         * CutAndPaste.C: fix authors.
2099         (availableSelections): use std:: on return vector
2100
2101 2003-06-27  André Pönitz  <poenitz@gmx.net>
2102
2103         * BufferView_pimpl.C:
2104         * bufferview_funcs.C:
2105         * lyxcursor.C:
2106         * lyxcursor.h:
2107         * lyxfunc.C:
2108         * lyxtext.h:
2109         * rowpainter.C:
2110         * text.C:
2111         * text2.C:
2112         * text3.C: remove LyXCursor::row_ member
2113
2114         * lyxtext.h:
2115         * text.C: rename fullRebreak() to partialRebreak() and implement
2116           a fullRebreak() that really bereks fully
2117
2118         * textcursor.h: new struct for cursor-related data
2119
2120 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2121
2122         * lyx_main.C (LyX): get full path of document loaded on the
2123         command line
2124
2125 2003-06-26  André Pönitz  <poenitz@gmx.net>
2126
2127         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2128           remove unused/broken operator>,<,>=.
2129
2130         *       text.C: remove only use of broken operator<= in an Assert().
2131
2132 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2133
2134         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2135         moved errorlist_.clear to showErrorList
2136
2137 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2138
2139         * converter.C (scanLog, runLaTeX):
2140         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2141         move the bv->showErrorList call to the callers
2142         * lyxfunc.C: i.e. here...
2143         * text2.C: and here
2144         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2145         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2146         namespace, the second to...
2147         * buffer_funcs (BufferFormat, parseErrors): added
2148         * errorlist.C (ErrorList(TeXErrors const &)): removed
2149
2150 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2151
2152         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2153
2154 2003-06-24  "Garst R. Reese" <reese@isn.net>
2155
2156         * debug.C: fix typo
2157
2158 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2159
2160         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2161
2162         * version.C.in: change docversion to 1.4
2163
2164 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2165
2166         * buffer.C: fix a bug just introduced
2167
2168 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2169
2170         * buffer.[Ch]: added the parseError signal and use it, removed
2171         sgmlError
2172         * BufferView.[Ch] (addError): moved to ...
2173         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2174         to the Buffer::parseError signal to catch (guess what) parse errors
2175         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2176
2177 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2178
2179         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2180         ability to create a buffer and to return an existing one from
2181         the list. Moved these functions to...
2182         * buffer_funcs.[Ch]: added
2183         * BufferView.[Ch] (loadLyXFile): added
2184         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2185         job removed from bufferlist::loadLyXFile.
2186         * buffer.C (setReadOnly): make it work without view
2187         (i.e added an if (users))
2188
2189 2003-06-19  Angus Leeming  <leeming@lyx.org>
2190
2191         * lfuns.h:
2192         * LyXAction.C (init):
2193         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2194         with LFUN_DIALOG_SHOW <name> <data>.
2195
2196 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2197
2198         * CutAndPaste.C (availableSelections): small compilation fix for
2199         ancient (gcc 2.9x) compilers
2200
2201 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2202
2203         * text3.C (cursorNext): add tmp var
2204
2205         * text2.C (updateCounters): for function calling out of for clause
2206         (replaceSelectionWithString): ditto
2207         (insertStringAsParagraphs): ditto
2208         (getColumnNearX): add tmp var
2209         (setCursorFromCoordinates): add tmp var
2210         (cursorDownParagraph): add tmp var
2211         (deleteEmptyParagraphMechanism): add tmp var
2212
2213         * text.C (insertChar): add tmp var
2214
2215         * rowpainter.C (paintDepthBar): add tmp var
2216
2217         * CutAndPaste.C (availableSelections): potentially check all
2218         paragraphs in a cut to fill the shown strings.
2219
2220 2003-06-18  André Pönitz  <poenitz@gmx.net>
2221
2222         * kbmap.[Ch]: use vector<> instead of list<>
2223
2224 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2225
2226         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2227         pasteSelection with index
2228
2229         * text2.C (pasteSelection): modify, call pasteSelection with index
2230
2231         * paragraph.C (asString): reimplement version with no interval to
2232         call the one with interval.
2233
2234         * lyxtext.h: add index arg to pasteSelection
2235
2236         * MenuBackend.C (MenuItem): handle PasteRecent
2237         (Menu::read::Menutags): add md_pasterecent
2238         (read): handle it
2239         (expandPasteRecent): new function
2240         (expand): use it
2241
2242         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2243
2244         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2245         the limited stack
2246         (availableSelections): new function
2247
2248 2003-06-17  Angus Leeming  <leeming@lyx.org>
2249
2250         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2251
2252 2003-06-17  Angus Leeming  <leeming@lyx.org>
2253
2254         * lfuns.h:
2255         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2256
2257         * lyxfunc.C (dispatch): invoke it.
2258
2259 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2260
2261         * iterators.C (operator++, ParPosition): reintroduce some
2262         const_cast for the benefit of older compilers.
2263
2264 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2265
2266         * text3.C (dispatch): do not modify clipboard when doing
2267         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2268         LFUN_DELETE_SKIP on a selection selection
2269
2270 2003-06-16  André Pönitz  <poenitz@gmx.net>
2271
2272         * BufferView.C:
2273         * buffer.C:
2274         * buffer.h:
2275         * paragraph.C:
2276         * tabular.[Ch]: IU of clone() and getLabelList();
2277
2278 2003-06-13  André Pönitz  <poenitz@gmx.net>
2279
2280         * tabular.h: compactification
2281
2282 2003-06-12  André Pönitz  <poenitz@gmx.net>
2283
2284         * tabular.C:
2285         * tabular.h:
2286         * tabular_funcs.h: some renaming plus whitespace
2287
2288 2003-06-12  André Pönitz  <poenitz@gmx.net>
2289
2290         * BufferView.C:
2291         * BufferView_pimpl.C:
2292         * CutAndPaste.C:
2293         * buffer.C:
2294         * iterators.[Ch]:
2295         * lyxfunc.C:
2296         * text.C:
2297         * toc.C: Return a Paragraph & for ParIterator::operator*()
2298
2299 2003-06-11  John Levon  <levon@movementarian.org>
2300
2301         * lyx_main.C:
2302         * ToolbarBackend.h:
2303         * ToolbarBackend.C: add "Toolbars" section and
2304         put the flags there
2305
2306 2003-06-10  Angus Leeming  <leeming@lyx.org>
2307
2308         * lfuns.h:
2309         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2310
2311         * lyxfunc.C (dispatch): invoke it.
2312
2313 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2314
2315         * main.C: protect <ios> with HAVE_IOS
2316         (main): protect sync_with_stdio with HAVE_IOS
2317
2318 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2319
2320         * text2.C (cutSelection): adjust
2321         (pasteSelection): adjust
2322
2323         * messages.C: handle get of empty string
2324
2325         * main.C (main): use sync_with_stdio(false)
2326
2327         * lyxfunc.C (dispatch): adjust
2328
2329         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2330         (WriteAs): remove unneeded BufferView arg.
2331
2332         * bufferparams.h: use correct types on papersize, papersize2 and
2333         paperpackage.
2334
2335         * bufferparams.C (readToken): adjust for type
2336         (writeLaTeX): add missing cases to switch.
2337
2338         * bufferlist.C (quitWriteBuffer): adjust
2339         (close): adjust
2340
2341         * buffer.C (asciiParagraph): remove some commented code.
2342
2343         * CutAndPaste.C: remove current_view extern variable.
2344         (cutSelection): add BufferParams arg.
2345         (eraseSelection): add BufferParams arg.
2346         (pasteSelection): add Buffer const & arg
2347
2348 2003-06-07  John Levon  <levon@movementarian.org>
2349
2350         * buffer.C:
2351         * paragraph_funcs.C:
2352         * paragraph_pimpl.C:
2353         * text.C:
2354         * text2.C:
2355         * paragraph.h:
2356         * paragraph.C: allow InsetERT to freely space lines,
2357         and some consolidation of code
2358
2359 2003-06-06  José Matos  <jamatos@fep.up.pt>
2360
2361         * buffer.C (makeDocBookFile): fix bug #821
2362
2363 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2364
2365         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2366
2367 2003-06-04  Angus Leeming  <leeming@lyx.org>
2368
2369         * buffer.C: bump format to 224.
2370
2371 2003-06-05  André Pönitz  <poenitz@gmx.net>
2372
2373         * text2.C (redoParagraphs): remove two const_cast<>
2374
2375 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2376
2377         * ParagraphList.h: remove last remnants of NO_STD_LIST
2378
2379 2003-06-03  Angus Leeming  <leeming@lyx.org>
2380
2381         * factory.C (createInset): small change to the way InsetExternal's params
2382         are set.
2383
2384 2003-06-04  André Pönitz  <poenitz@gmx.net>
2385
2386         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2387
2388         * paragraph_pimpl.h:
2389         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2390
2391         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2392
2393         * undo_funcs.C: make some simple cases of undo work again
2394
2395 2003-06-03  John Levon  <levon@movementarian.org>
2396
2397         * ispell.C: HPUX doesn't have sys/select.h
2398         (from Albert Chin)
2399
2400 2003-06-03  John Levon  <levon@movementarian.org>
2401
2402         * CutAndPaste.C: update tabular and include inset
2403         buffer references
2404
2405         * buffer.h:
2406         * paragraph.h:
2407         * paragraph.C: remove owningBuffer(), don't pass Buffer
2408         to clone()
2409
2410         * factory.C: insetGraphicsParams changed
2411
2412 2003-06-02  John Levon  <levon@movementarian.org>
2413
2414         * LyXAction.C:
2415         * factory.C:
2416         * lfuns.h:
2417         * lyxfunc.C:
2418         * text3.C: remove insetparent
2419
2420 2003-06-02  John Levon  <levon@movementarian.org>
2421
2422         * buffer.h:
2423         * buffer.C: fix inset_iterator.end(), move out of line
2424         (bug 1149)
2425
2426 2003-06-01  John Levon  <levon@movementarian.org>
2427
2428         * text3.C: use a proper cut/paste when doing inset
2429         insert (from Jürgen Spitzmüller)
2430
2431 2003-06-01  John Levon  <levon@movementarian.org>
2432
2433         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2434
2435 2003-05-30  André Pönitz  <poenitz@gmx.net>
2436
2437         * rowpainter.C: unify second drawing phase
2438
2439 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2440
2441         * trans_mgr.C: remove one case of current_view
2442
2443         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2444
2445         * paragraph_funcs.h: remove paragraph.h include
2446
2447         * paragraph.h: delete NO_STD_LIST stuff
2448
2449         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2450
2451         * buffer.h: remove paragraph.h include
2452
2453         * ParagraphList.C: delete file
2454
2455         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2456
2457         * toc.C (getTocList): adjust
2458
2459         * paragraph_pimpl.C (validate): adjust
2460
2461         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2462
2463         * paragraph.C (Paragraph): adjust
2464         (getPositionOfInset): use const_iterator, adjust
2465         (bibitem): use const_iterator, adjust
2466         (setInsetOwner): adjust
2467
2468         * iterators.C (operator++): adjust
2469
2470         * InsetList.[Ch]: Replace selfmade iterator with standard
2471         vector::iterator also introduce const_iterator. Remove getPos,
2472         getInset and setInset from InsetTable. Adjust accordingly.
2473
2474         * BufferView.C (lockInset): adjust
2475         (ChangeInsets): adjust
2476
2477         * tabular.[Ch]: delete commented same_id functions
2478
2479 2003-05-28  John Levon  <levon@movementarian.org>
2480
2481         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2482
2483 2003-05-28  André Pönitz  <poenitz@gmx.net>
2484
2485         * metricsinfo.[Ch]: remove 'fullredraw' member
2486
2487 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2488
2489         * lyxtextclass.C (operator): remove caching.
2490
2491 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2492
2493         * text3.C: adjust
2494
2495         * text2.C (cursorBottom): adjust
2496         (setCounter): use ParagraphList::find, adjust
2497
2498         * text.C (workWidth): use ParagraphList::find, adjust
2499
2500         * lyxcursor.C (LyXCursor): adjust
2501
2502         * buffer.C (inset_iterator): adjust
2503
2504         * ParagraphList.h: make iterator(value_type) private, make
2505         ParagraphList a friend of iterator.
2506
2507         * ParagraphList.C (find): new function
2508
2509         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2510
2511 2003-05-27  André Pönitz  <poenitz@gmx.net>
2512
2513         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2514
2515 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2516
2517         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2518
2519 2003-05-26  John Levon  <levon@movementarian.org>
2520
2521         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2522
2523 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2524
2525         * remove same_id from function signatures, adjust.
2526
2527 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2528
2529         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2530
2531         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2532
2533         * paragraph.C (Paragraph): get rid of same_ids parameter
2534
2535         * ParagraphList.C (insert): adjust
2536         (push_back): adjust
2537
2538 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2539
2540         * paragraph_funcs.C (breakParagraph): adjust
2541         (breakParagraphConservative): adjust
2542
2543         * buffer.C (readParagraph): adjust
2544
2545         * ParagraphList.C (insert): take a reference instead of a pointer
2546         (insert): adjust
2547
2548         * paragraph.[Ch] (id): new function
2549
2550         * bufferlist.C (newFile): adjust
2551
2552         * ParagraphList.C (ParagraphList): adjust
2553         (assign): adjust
2554         (push_back): take a reference instead of a pointer.
2555
2556         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2557
2558         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2559         instead.
2560
2561         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2562         set else use old code.
2563
2564         * ParagraphList.C: remove all NO_NEXT code and only compile this
2565         code of NO_STD_LIST is set.
2566
2567 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2568
2569         * BufferView_pimpl.C:
2570         * TextCache.C:
2571         * TextCache.h:
2572         * bufferlist.C:
2573         * errorlist.h:
2574         * format.C:
2575         * format.h:
2576         * graph.C:
2577         * lyxfunc.C:
2578         * lyxrc.C:
2579         * graphics/GraphicsConverter.C:
2580         * graphics/PreviewLoader.C: header adjustment
2581
2582 2003-05-23  Angus Leeming  <leeming@lyx.org>
2583
2584         * LaTeXFeatures.[Ch] (useBabel): new method.
2585         * bufferparams.C (writeLaTeX): use it.
2586
2587 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2588
2589         * ParagraphList.h (set): remove unused function.
2590
2591 2003-05-23  André Pönitz  <poenitz@gmx.net>
2592
2593         * BufferView.C:
2594         * BufferView_pimpl.C:
2595         * buffer.C:
2596         * buffer.h:
2597         * lyxfunc.C:
2598         * undo_funcs.C: setUndo reworked
2599
2600         * iterators.[Ch]: add access to topmost ParagraphList
2601
2602         * lyxtext.[Ch] (workWidth): add a const
2603
2604 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2605
2606         * texrow.[Ch] (increasePos): remove function
2607         * exporter.C (export): removed unused var and outdated comment
2608
2609 2003-05-23  Angus Leeming  <leeming@lyx.org>
2610
2611         * latexrunparams.h: rename fragile as moving_arg.
2612         * paragraph.C (simpleTeXOnePar): ditto.
2613         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2614
2615 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2616
2617         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2618         (createUndo): ditto
2619         (textUndoOrRedo): comment out a currently unused var.
2620
2621         * paragraph.h (NO_NEXT): enable NO_NEXT
2622
2623         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2624
2625         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2626
2627         * exporter.C (Export): adjust for removeAutoInsets removal.
2628
2629         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2630
2631         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2632
2633         * BufferView.[Ch] (removeAutoInsets): delete function
2634
2635 2003-05-22  Angus Leeming  <leeming@lyx.org>
2636
2637         * latexrunparams.h: add a free_spacing variable.
2638
2639         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2640         to pass moving_arg, as the data is stored in runparams.fragile.
2641
2642         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2643         to Inset::latexOptional or to simpleTeXOnePar.
2644
2645         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2646         free_spacing arg to Inset::latexOptional.
2647
2648         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2649         free_spacing arg.
2650
2651 2003-05-22  Angus Leeming  <leeming@lyx.org>
2652
2653         * latexrunparams.h: add fragile and use_babel variables.
2654
2655         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2656         * buffer.C (makeLaTeXFile): store this returned value in
2657         runparams.use_babel, thus passing it to the inset::latex methods.
2658
2659         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2660         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2661
2662         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2663         longer has a fragile arg, as it is stored in runparams.fragile.
2664
2665         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2666         moving_arg parameter as the data is stored in runparams.fragile.
2667
2668         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2669         a fragile parameter as the data is stored in runparams.fragile.
2670
2671 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2672
2673         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2674
2675 2003-05-22  Angus Leeming  <leeming@lyx.org>
2676
2677         * latexrunparams.h: add a 'bool nice' which defaults to false.
2678
2679         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2680         now encapsulated within runparams.
2681
2682         * bufferlist.C (updateIncludedTeXfiles):
2683         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2684
2685 2003-05-22  Angus Leeming  <leeming@lyx.org>
2686
2687         * latexrunparams.h: new file containing struct LatexRunParams.
2688         * Makefile.am: add new file.
2689
2690         * LaTeX.[Ch] (c-tor, run):
2691         * buffer.[Ch] (makeLaTeXFile):
2692         * bufferlist.[Ch] (updateIncludedTeXfiles):
2693         * converter.C (convert, scanLog):
2694         * converter.[Ch] (runLaTeX):
2695         * exporter.C (Export):
2696         * paragraph.[Ch] (simpleTeXOnePar):
2697         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2698         * paragraph_funcs.[Ch] (latexParagraphs):
2699         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2700         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2701         pass around a LatexRunParams parameter.
2702
2703 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2704
2705         * paragraph.[Ch]: remove unused constructor
2706
2707         * ParagraphList.C (erase): new function, taking two iterators
2708
2709 2003-05-22  André Pönitz  <poenitz@gmx.net>
2710
2711         * undo_funcs.C: remove duplicated code
2712
2713         * iterator.[Ch]: operator=
2714
2715 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2716
2717         * tabular.C (SetMultiColumn): ws changes
2718
2719         * rowpainter.C (paintFirst): get rid of a ->previous
2720
2721         * lyx_cb.C (getPossibleLabel): parlist simplification
2722
2723         * BufferView.C (ChangeInsets): simplify slightly.
2724
2725 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2726
2727         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2728         * lfuns.h: new LFUN_SPACE
2729         * lyxfunc.C: protected space has a new lfun
2730         * paragraph_funcs.C: read new space insets
2731         * text3.C:
2732         * factory.C: handle new space insets
2733
2734 2003-05-22  André Pönitz  <poenitz@gmx.net>
2735
2736         * BufferView.C:
2737         * BufferView_pimpl.C:
2738         * buffer.[Ch]:
2739         * lyxfunc.C:
2740         * undo_funcs.C: return a ParIterator from getParFromID.
2741
2742         * iterators.[Ch]: add two const's
2743
2744 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2745
2746         * toc.C (getTocList): adjust
2747
2748         * iterators.[Ch]: rework for parlist
2749
2750         * buffer.C (par_iterator_begin): adjust
2751         (par_iterator_end): adjust
2752
2753         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2754
2755         * BufferView.C (removeAutoInsets): adjust
2756         (ChangeInsets): adjust
2757
2758 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2759
2760         * text.C (top_y): fix bug 1110
2761
2762 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2763
2764         * errorlist.[Ch]: added
2765         * buffer.C:
2766         * BufferView.[Ch]:
2767         * BufferView_pimpl.C:
2768         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2769         instead
2770
2771 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2772
2773         * Makefile.am: ensure that lyx is relinked upon changes to the
2774         various "convenience" libs.
2775
2776 2003-05-20  Angus Leeming  <leeming@lyx.org>
2777
2778         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2779         files are compiled in alphabetical order again.
2780
2781         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2782
2783 2003-05-19  Angus Leeming  <leeming@lyx.org>
2784
2785         * gettext.[Ch]: remove "char const * _(char const *)".
2786
2787 2003-05-19  André Pönitz  <poenitz@gmx.net>
2788
2789         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2790
2791         * Makefile.am:
2792         * BufferView.C:
2793         * DepTable.h:
2794         * LaTeXFeatures.C:
2795         * buffer.C:
2796         * lyxfont.C:
2797         * lyxlex.h:
2798         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2799
2800 2003-05-19  André Pönitz  <poenitz@gmx.net>
2801
2802         * buffer.C:
2803         * lyxlayout.[Ch]:
2804         * lyxtextclass.[Ch]:
2805         * paragraph.C:
2806         * paragraph_funcs.[Ch]:
2807         * text2.C:
2808         * text3.C: more insetenv work
2809
2810 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2811
2812         * ParagraphParameters.C (params2string): small bug fixed
2813
2814 2003-05-16  André Pönitz  <poenitz@gmx.net>
2815
2816         * debug.C:
2817         * bufferview_funcs.C: patch from Kornel Benko to prevent
2818           crash when _(...) is called twice in a statement
2819
2820 2003-05-16  André Pönitz  <poenitz@gmx.net>
2821
2822         * BufferView.C:
2823         * lyxfunc.C:
2824         * text.C:
2825         * text2.C:
2826         * text3.C:
2827         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2828
2829 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2830
2831         * lyx_main.C (init): remove spurious static_cast
2832
2833 2003-05-14  André Pönitz  <poenitz@gmx.net>
2834
2835         * BufferView.C: fix format string
2836
2837 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2838
2839         * BufferView.[Ch] (insertErrors): removed
2840         * BufferView.[Ch] (showErrorList): added
2841         * buffer.C (runChkTeX):
2842         * converter.C (scanLog): call showErrorList instead of inserterrors
2843
2844 2003-05-13  André Pönitz  <poenitz@gmx.net>
2845
2846         * BufferView_pimpl.C:
2847         * buffer.C:
2848         * bufferview_func.C:
2849         * MenuBackend.C:
2850         * lyxfunc.C:
2851         * lyxrc.C:
2852         * tex-accent.C:
2853         * text3.C:
2854         * toc.C:
2855         * tabular_funcs.h: tostr() from its own header
2856
2857         * ParagraphParameters.C:
2858         * ToolbarBackend.C:
2859         * bufferparams.C:
2860         * format.C:
2861         * lyxlex_pimpl.C:
2862         * text3.C: STRCONV()
2863
2864 2003-05-12  André Pönitz  <poenitz@gmx.net>
2865
2866         * BufferView.C:
2867         * BufferView_pimpl.C:
2868         * CutAndPaste.C:
2869         * LaTeX.C:
2870         * LaTeXFeatures.C:
2871         * ParagraphParameters.C:
2872         * buffer.C:
2873         * bufferlist.C:
2874         * bufferparams.C:
2875         * bufferview_funcs.C:
2876         * converter.C:
2877         * counters.C:
2878         * debug.C:
2879         * exporter.C:
2880         * format.C:
2881         * importer.C:
2882         * lyx_cb.C:
2883         * lyx_main.C:
2884         * lyxfont.C:
2885         * lyxfunc.C:
2886         * lyxvc.C:
2887         * paragraph.C:
2888         * paragraph_funcs.C:
2889         * tabular.C:
2890         * tabular_funcs.C:
2891         * text2.C:
2892         * text3.C:  boost::format -> bformat  all over the place
2893
2894
2895 2003-05-09  André Pönitz  <poenitz@gmx.net>
2896
2897         * LColor.[Ch]: Pimpl the #include <map> away
2898
2899 2003-05-09  John Levon  <levon@movementarian.org>
2900
2901         * bufferlist.C: never remove emergency saves
2902
2903 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2904
2905         * Makefile.am: better lib building
2906
2907 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2908
2909         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2910         instead.
2911         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2912         (simpleTeXSpecialChars): adjust
2913         (simpleTeXSpecialChars): adjust
2914         * paragraph.C (simpleTeXOnePar): adjust
2915         * buffer.C (makeLaTeXFile): adjust
2916
2917         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2918
2919         * text2.C (changeDepth): parlist cleanup
2920         (getColumnNearX): ditto
2921
2922         * rowpainter.C (getLabelFont): parlist cleanup
2923
2924         * bufferlist.C (newFile): parlist cleanup
2925
2926         * CutAndPaste.C (eraseSelection): parlist cleanup
2927
2928         * BufferView_pimpl.C (trackChanges): parlist cleanup
2929         (dispatch): ditto
2930
2931         * BufferView.C (lockInset): parlist cleanup.
2932         (ChangeInsets): ditto
2933
2934 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2935
2936         * CutAndPaste.h: Update file header.
2937
2938         * CutAndPaste.C: Update file header.
2939         Store the parts cut out of the Document in a limited_stack.
2940         (copySelection): adjust
2941         (pasteSelection): new function, takes the index in the limited stack.
2942         (nrOfParagraphs): adjust
2943         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2944         simplify error inset insertion.
2945         (checkPastePossible): adjust
2946
2947 2003-05-06  John Levon  <levon@movementarian.org>
2948
2949         * text2.C: don't cast wrap inset to float
2950
2951 2003-05-05  André Pönitz  <poenitz@gmx.net>
2952
2953         * iterator.C:
2954         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2955
2956         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2957           few naked Paragraph *.
2958
2959 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2960
2961         * bufferparams.C: Output warning if a document with missing
2962         TeX document class is loaded
2963         * exporter.C: Disable TeX exports if the document class is missing
2964         * lyxtextclass.C:
2965         * lyxtextclass.h:
2966         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2967         isTeXClassAvailable()
2968
2969 2003-05-03  John Levon  <levon@movementarian.org>
2970
2971         * BufferView.h:
2972         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2973         explicit cursor show/hide
2974
2975         * BufferView_pimpl.h:
2976         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2977         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2978
2979         * lyxfunc.C: hide cursor before dispatching.
2980
2981         * lyx_cb.C:
2982         * lyxfind.C:
2983         * text.C:
2984         * text3.C: remove explicit cursor hides
2985
2986 2003-05-02  André Pönitz  <poenitz@gmx.net>
2987
2988         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2989
2990         * undo_funcs.C:
2991         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2992           linked lists
2993
2994         * text2.C: tiny whitespace
2995
2996 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2997
2998         * undo_funcs.C: almost only ws changes.
2999
3000         * ParagraphList.C (splice): just return if pl is empty.
3001
3002 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3003
3004         * ParagraphList.C (splice): new function.
3005
3006         * CutAndPaste.C (pasteSelection): use it
3007
3008 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3009
3010         * CutAndPaste.C (pasteSelection): remove the last next and
3011         previous from this file.
3012
3013 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3014
3015         * CutAndPaste.C (pasteSelection): more clean up, user proper
3016         ParagraphList functions for pasteing.
3017
3018         * ParagraphList.C (insert): new function, three arg insert
3019
3020 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3021
3022         * ParagraphList.C (insert): new function, three arg insert
3023
3024         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3025         not on paragraphs.
3026
3027 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3028
3029         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3030
3031 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3032
3033         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3034
3035 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3036
3037         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3038         (copySelection): clean up a bit.
3039         (pasteSelection): use make_pair
3040
3041         * ParagraphList.C (ParagraphList): implement copy constructor
3042         (operator=): implement, base on copy constructor.
3043         (assign): new func
3044
3045         * paragraph.C (erase): return a bool
3046
3047         * paragraph_pimpl.C (erasePos): remove function, move contents...
3048         (erase): ... here. Return a bool.
3049         (erase): call erase instead of erasePos.
3050
3051 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3052
3053         * ParagraphList.h: define PitPosPair
3054         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3055         ParagraphList, fix a bug on pasting multiple pars
3056         * text2.C: change interface to C&P
3057
3058 2003-04-30  André Pönitz  <poenitz@gmx.net>
3059
3060         * undo_func.C: revert part of yesterday's patch 2
3061
3062 2003-04-30  John Levon  <levon@movementarian.org>
3063
3064         * LColor.C: s/tabular/table/
3065
3066 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3067
3068         * text3.C (dispatch): do not convert iterator -> pointer
3069         * undo_funcs.C (setCursorParUndo): ditto
3070         * text_funcs.C (transposeChars): ditto
3071
3072         * text2.C (setLayout): ws changes only
3073
3074         * text.C (breakParagraph): do not convert iterator -> pointer
3075         (insertChar): ditto
3076         (acceptChange): ditto
3077         (rejectChange): ditto
3078         (changeCase): ditto
3079         (Delete): ditto
3080         (backspace): ditto
3081
3082         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3083         pointer
3084
3085 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3086
3087         * text3.C (gotoInset): YABG (yet another bad getChar)
3088
3089 2003-04-29  André Pönitz  <poenitz@gmx.net>
3090
3091         * paragraph.h: make operator= private unimplemented as long as
3092           it is unusable
3093
3094         * ParagraphList.C: whitespace
3095
3096         * paragraph.[Ch]:
3097         * paragraph_pimpl.[Ch]:
3098         * paragraph_funcs.C:
3099         * CutAndPaste.C:
3100         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3101
3102         * text2.C:
3103           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3104
3105 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3106
3107         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3108         * paragraph.[Ch] (erase):
3109         * paragraph_pimpl.[Ch] (erase): change return type and value
3110         * text2.C (cutSelection): some rework
3111
3112 2003-04-28  John Levon  <levon@movementarian.org>
3113
3114         * bufferlist.C: changes for unsaved changes dialog
3115
3116 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3117
3118         * bufferlist.C (newFile): set language (messages_) for new
3119         documents also.
3120
3121         * buffer.C (readFile): ws changes only.
3122
3123 2003-04-28  André Pönitz  <poenitz@gmx.net>
3124
3125         * undo_funcs.C:
3126         * lyxfunc.C:
3127         * buffer.[Ch]:
3128         * BufferView_pimpl.C:
3129         * BufferView.C: getParFromID related ParagraphList::iterator changes
3130
3131 2003-04-28  André Pönitz  <poenitz@gmx.net>
3132
3133         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3134           Changes
3135
3136 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3137
3138         * messages.C: remove one more localedir class variable.
3139
3140 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3141
3142         * messages.C (getLocaleDir): singleton generation function
3143         (Pimpl): use it.
3144         (Messages): add a default constructor.
3145
3146         * main.C (main): do not setup localedir here, do not call
3147         gettext_init.
3148
3149         * gettext.C (_): use it.
3150         (gettext_init): delete funciton
3151
3152 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3153
3154         * gettext.C (getLyXMessages): new singleton generating function.
3155
3156         * buffer.C (updateDocLang): adjust
3157
3158         * Makefile.am (messages.o): add target
3159         (main.o): remove target
3160
3161 2003-04-27  John Levon  <levon@movementarian.org>
3162
3163         * bufferlist.C:
3164         * lyx_cb.C:
3165         * lyxfunc.C:
3166         * lyxvc.C: specify cancel button in Alert::prompt
3167
3168 2003-04-26  John Levon  <levon@movementarian.org>
3169
3170         * text3.C:
3171         * lyxfunc.C:
3172         * lfuns.h:
3173         * LyXAction.C: add LFUN_INSET_SETTINGS
3174
3175         * lyxfunc.C: don't enable tabular-feature when there's
3176         just any locking inset
3177
3178 2003-04-26  John Levon  <levon@movementarian.org>
3179
3180         * bufferlist.C: re-add Cancel to buffer close question
3181
3182         * lyxfunc.C: fix import UI a bit
3183
3184 2003-04-25  John Levon  <levon@movementarian.org>
3185
3186         * gettext.C: remove the broken asserts for now
3187
3188 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3189
3190         * messages.C: make case where setlocale cannot comply work better.
3191
3192         * buffer.C (updateDocLang): new function
3193         (changeLanguage): use it
3194         (readFile): use it
3195
3196         * text2.C (setCounter): use B_ a bit.
3197
3198         * lyxlayout.C (Read): be sure to trim the label strings.
3199
3200         * messages.C (Messages): fix typo in comment
3201
3202         * buffer.C (readFile): set message_ after file is loaded.
3203         (makeDocBookFile): remove double return
3204         (changeLanguage): reset message_ upon language change.
3205         (B_): new func, use this to get translated buffer strings.
3206
3207         * main.C: add myself and Jean Marc as authors.
3208
3209 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3210
3211         * messages.[hC]: pimplify Messages, and three different pimpls to be
3212         used in different circumstances.
3213
3214         * gettext.[Ch]: change for use with new message code.
3215
3216 2003-04-24 André Pönitz <poenitz@gmx.net>
3217
3218         * factory.C: support for eqref
3219
3220 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3221
3222         * messages.[Ch]: add missing char
3223
3224         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3225
3226         * messages.[Ch]: New files
3227
3228 2003-04-18  John Levon  <levon@movementarian.org>
3229
3230         * BufferView.h:
3231         * BufferView.C:
3232         * BufferView_pimpl.C:
3233         * lfuns.h:
3234         * LyXAction.C:
3235         * lyxtext.h:
3236         * text2.C: remove layout-copy/paste (bug 778)
3237
3238 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3239
3240         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3241
3242 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3243
3244         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3245         if they succeed. Act accordingly.
3246
3247 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3248
3249         * text2.C (setCharFont): adjust
3250         (setCounter): adjust
3251         (insertStringAsLines): adjust
3252
3253         * text.C (leftMargin): adjust
3254         (setHeightOfRow): adjust
3255
3256         * rowpainter.C (paintFirst): adjust
3257         (paintLast): adjust
3258
3259         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3260         (outerHook): ditto
3261         (isFirstInSequence): ditto
3262         (getEndLabel): ditto
3263         (outerFont): adjust
3264
3265         * paragraph.C (getParLanguage): comment out some hard stuff.
3266
3267         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3268         (sgmlError): ditto
3269         (simpleDocBookOnePar): ditto
3270         (makeDocBookFile): use ParagraphList::iterator
3271
3272         * CutAndPaste.C (pasteSelection): adjust
3273
3274 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3275
3276         * text2.C (getFont): adjust
3277         (getLayoutFont): adjust
3278         (getLabelFont): adjust
3279
3280         * paragraph_funcs.C (TeXOnePar): adjust
3281
3282         * buffer.C (simpleLinuxDocOnePar): adjust
3283         (simpleDocBookOnePar): adjust
3284
3285         * CutAndPaste.C (pasteSelection): adjust
3286
3287         * BufferView.C (getEncoding): adjust
3288
3289         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3290
3291 2003-04-16  John Levon  <levon@movementarian.org>
3292
3293         * lyxfind.C: use parlist stuff for search/changes
3294
3295 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3296
3297         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3298
3299         * text2.C (deleteEmptyParagraphMechanism): adjust
3300
3301         * text2.[Ch] (ownerParagraph): delete func (both of them
3302
3303 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3304
3305         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3306
3307 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3308
3309         * ParagraphList.C: prepare for NO_NEXT
3310
3311 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3312
3313         * text2.C (getFont): adjust
3314         (getLayoutFont): adjust
3315         (getLabelFont): adjust
3316
3317         * paragraph.C (getFont): adjust
3318         (getLabelFont): adjust
3319         (getLayoutFont): adjust
3320
3321         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3322
3323 2003-04-15  John Levon  <levon@movementarian.org>
3324
3325         From Angus Leeming
3326
3327         * lyx_main.C: handle Include in .ui files
3328
3329 2003-04-15  John Levon  <levon@movementarian.org>
3330
3331         * MenuBackend.C: make the doc files length shorter
3332
3333         * ToolbarBackend.h:
3334         * ToolbarBackend.C: handle toolbar placement flags,
3335         Minibuffer
3336
3337 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3338
3339         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3340         adjust
3341
3342         * paragraph_funcs.C (TeXOnePar): adjust
3343
3344         * paragraph.C (getLabelFont): add outerfont arg, adjust
3345         (getLayoutFont): ditto
3346         (simpleTeXOnePar): adjust
3347
3348         * paragraph_pimpl.C (realizeFont): delete func
3349
3350 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3351
3352         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3353         row argument, constify cur argument.
3354
3355 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3356
3357         * text2.C (getFont): adjust
3358         (getLayoutFont): adjust
3359         (getLabelFont): adjust
3360
3361         * paragraph_funcs.C (TeXOnePar): adjust
3362         (outerFont): new func...
3363         (realizeFont): ...moved out from here, changed this to facilitate
3364         transition
3365
3366         * paragraph.C (getFont): take outerfont as arg, adjust
3367         (simpleTeXOnePar): add outerfont arg, adjust
3368
3369         * buffer.C (simpleLinuxDocOnePar): adjust
3370         (simpleDocBookOnePar): adjust
3371
3372         * CutAndPaste.C (pasteSelection): adjust
3373
3374         * BufferView.C (getEncoding): adjust
3375
3376 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3377
3378         * text2.C (setCharFont): adjust
3379         (setCounter): adjust
3380
3381         * text.C (leftMargin): adjust
3382         (setHeightOfRow): adjust
3383
3384         * rowpainter.C (paintFirst): adjust
3385         (paintLast): adjust
3386
3387         * paragraph_pimpl.C (realizeFont): adjust
3388
3389         * paragraph.C (isFirstInSequence): move from here...
3390         * paragraph_funcs.C (isFirstInSequence): ...to here
3391
3392         * paragraph.C (outerHook): move from here...
3393         * paragraph_funcs.C (outerHook): ...to here
3394
3395         * paragraph.C (depthHook): move from here...
3396         * paragraph_funcs.C (depthHook): ...to here
3397
3398         * paragraph.C (getEndLabel): move from here...
3399         * paragraph_funcs.C (getEndLabel): ...to here
3400
3401         * text2.C (realizeFont): move from here...
3402         * paragraph_funcs.C (realizeFont): ...to here
3403
3404 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3405
3406         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3407
3408 2003-04-14  Angus Leeming  <leeming@lyx.org>
3409
3410         * LColor.[Ch]: scrap LColor mathcursor.
3411
3412 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3413
3414         * lyxlex.[Ch] (text): delete function
3415         * trans.C (Load): adjust
3416         * paragraph_funcs.C (readParToken): adjust
3417
3418 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3419
3420         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3421         vector<char> instead of a char[].
3422
3423         * lyxlex_pimpl.C (getString): adjust
3424         (next): adjust
3425         (lex): use getString
3426         (eatLine): adjust
3427         (nextToken): adjust
3428
3429         * lyxlex.C (text): use pimpl_->getString()
3430         (getBool): ditto
3431         (findToken): ditto
3432
3433 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3434
3435         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3436         (makeFontEntriesLayoutSpecific): temp var for par.size()
3437         (setLayout): temp var for ownerParagraphs().end()
3438         (fullRebreak): temp var for rows().end()
3439         (selectionAsString): temp var for boost::next(startpit), realize
3440         that the while really is a regular for loop.
3441         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3442         setCursor in one place.
3443         (setParagraph): temp vr for ownerParagraphs().end()
3444         (updateCounters): make the while loop a for loop
3445         (cutSelection): temp var for ownerParagraphs().end()
3446         (updateInset): make the do {} while() a regular for loop
3447         (getCursorX): use temp vars
3448         (setCurrentFont): use temp vars
3449         (getColumnNearX): use temp vars
3450
3451 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3452
3453         * text.C (transformChar): use temp var for getChar
3454         (computeBidiTables): use temp var for row->par()
3455         (fill): move temp vars for row->par() and pit->layout() earlier in
3456         the function.
3457         (labelFill): use temp var for row->par()
3458         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3459         asc and desc, realize that pit never changes and that firstpit is
3460         just a duplicate and not needed. Exchange rit->par() with pit in a
3461         lot of places.
3462         (breakAgain): use a temp var for boost::next(rit)
3463         (breakAgainOneRow): ditto
3464         (breakParagraph): use a temp var for rows().begin()
3465         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3466         (cursorRightOneWord): use temp var for cursor.par() and
3467         cursor.pos(), remove usage of tmpcursor.
3468         (cursorLeftOneWord): use temp var for cursor.par() and
3469         cursor.pos() only set cur at end of function.
3470
3471 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3472
3473         * text.C, text2.C: exchange all usage of Paragraph::next with
3474         boost::next(ParagraphList::iterator)
3475
3476         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3477
3478         * text2.C (cursorTop): simplify implementation
3479         (cursorBottom): ditto
3480         (setParagraph): use ParagraphList::iterator
3481         (setCurrentFont): adjust
3482         (getColumnNearX): adjust
3483         (cursorRight): adjust
3484         (cursorLeft): remove usage of Paragraph::previous
3485         (cursorUpParagraph): ditto
3486         (deleteEmptyParagraphMechanism): slight cleanup
3487
3488         * text.C (isBoundary): take a Paragraph const & instead of a
3489         pointer as arg.
3490         (addressBreakPoint): ditto
3491         (leftMargin): remove usage of Paragraph::previous.
3492         (setHeightOfRow): ditto
3493         (cursorLeftOneWord): ditto
3494         (selectNextWordToSpellcheck): ditto
3495         (Delete): ditto
3496         (backspace): ditto
3497         (breakParagraph): remove one usage of Paragraph::next
3498         (redoParagraph): ditto
3499         (acceptChange): ditto
3500         (insertChar): adjust
3501         (rowBreakPoint): adjust
3502
3503         * bufferview_funcs.C (toggleAndShow): adjust
3504
3505 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3506
3507         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3508         methods to access it.
3509         * lyxtext.h:
3510         * text.C: Added updateRowPositions to compute all row positions.
3511         Make top_y and getRowNearY() to use the cached y position
3512
3513 2003-04-11  John Levon  <levon@movementarian.org>
3514
3515         * text.C (rowBreakPoint): reintroduce the labelEnd
3516         checks, code copied from the row fill stuff. Deep voodoo.
3517
3518         * text.C (fill): add a comment and debugging for the
3519         next poor soul.
3520
3521 2003-04-11  John Levon  <levon@movementarian.org>
3522
3523         * text.C: make sure fullrow insets get wrapped to the next line,
3524         even when they're in a manual label
3525
3526 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3527
3528         * text2.C (insertParagraph): make it take ParagraphList::iterator
3529         as arg.
3530         (setLayout): make it return ParagraphList::iterator
3531         (redoParagraphs): ditto
3532         (setCounter): ditto
3533         (checkParagraph): ditto
3534
3535         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3536
3537         * text2.C: adjust several funcs.
3538         (realizeFont): take a ParagraphList::iterator as arg.
3539         (getLayoutFont): ditto
3540         (getLabelFont): ditto
3541         (setCharFont): ditto
3542
3543         * text.C: adjust several funcs.
3544
3545 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3546
3547         * text.C (selectNextWordToSpellcheck): don't accidentally
3548         skip insets
3549
3550 2003-04-10  John Levon  <levon@movementarian.org>
3551
3552         * ToolbarBackend.C (getIcon): special handling for
3553         LFUN_MATH_DELIM
3554
3555 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3556
3557         * text2.C (cursorRight): a getChar assert fixed
3558
3559 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3560
3561         * text2.C (getFont): change to take a ParagraphList::iterator
3562         instead of Paragraph*
3563         Adjust several functions.
3564
3565         * text.C (transformChar): change to take a ParagraphList::iterator
3566         instead of Paragraph*
3567         (singleWidth): ditto
3568         Adjust several functions.
3569
3570         * rowpainter.C: adjust several functions
3571         * rowpainter.h:store a ParagraphList::iterator and not a
3572         Paragraph&.
3573
3574
3575 2003-04-09  John Levon  <levon@movementarian.org>
3576
3577         * lyxfunc.C:
3578         * lfuns.h:
3579         * LyXAction.h:
3580         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3581         and the "help" bits as well
3582
3583 2003-04-09  John Levon  <levon@movementarian.org>
3584
3585         * ToolbarBackend.h:
3586         * ToolbarBackend.C: allow multiple toolbars
3587
3588 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3589
3590         * undo_funcs.C (setCursorParUndo): adjust
3591
3592         * text_funcs.C (transposeChars): adjust
3593
3594         * text3.C (gotoNextInset): adjust
3595         (dispatch): adjust
3596
3597         * text2.C (setLayout): adjust
3598         (changeDepth): adjust
3599         (setFont): adjust
3600         (redoParagraphs): adjust
3601         (selectionAsString): adjust
3602         (setParagraph): adjust
3603         (insertInset): adjust
3604         (cutSelection): adjust
3605         (copySelection): adjust
3606         (pasteSelection): adjust
3607         (insertStringAsLines): adjust
3608         (updateInset): adjust
3609         (setCursor): change to take a ParagraphList::iterator parameter
3610         (setCursorIntern): change to take a ParagraphList::iterator parameter
3611         (setCurrentFont): adjust
3612         (cursorLeft): adjust
3613         (cursorRight): adjust
3614         (deleteEmptyParagraphMechanism): adjust
3615
3616         * text.C (breakParagraph): adjust
3617         (insertChar): adjust
3618         (acceptChange): adjust
3619         (rejectChange): adjust
3620         (selectNextWordToSpellcheck): adjust
3621         (changeCase): adjust
3622         (Delete): adjust
3623         (backspace): adjust
3624
3625         * lyxfind.C (SearchForward): adjust
3626         (SearchBackward): adjust
3627         (nextChange): adjust
3628
3629         * lyxcursor.C (par): adjust
3630
3631         * lyxcursor.h: store a ParagraphList::iterator instead of a
3632         Paragraph*
3633
3634         * lyx_cb.C (getPossibleLabel): adjust
3635
3636         * bufferview_funcs.C (toggleAndShow): adjust
3637
3638         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3639         (dispatch): adjust
3640
3641         * BufferView.C (removeAutoInsets): adjust
3642         (lockedInsetStoreUndo): adjust
3643
3644 2003-04-09  John Levon  <levon@movementarian.org>
3645
3646         * ToolbarBackend.C: try icon without argument
3647         if with argument fails
3648
3649 2003-04-08  John Levon  <levon@movementarian.org>
3650
3651         * ToolbarBackend.h:
3652         * ToolbarBackend.C: add getIcon(), handle tooltip,
3653         and change from "Icon" to "Item".
3654
3655 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3656
3657         * BufferView.C (lockInset): another bad getchar crunched
3658
3659 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3660
3661         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3662         again)
3663
3664 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3665
3666         * lyxfind.C (searchForward, searchBackwards): bug 782
3667
3668 2003-04-07  John Levon  <levon@movementarian.org>
3669
3670         * paragraph.C: remove dead comment
3671
3672         * text.C: remove troublesome depth-fiddling code
3673         in leftMargin() and rightMargin() (bug 1017)
3674
3675         * text.C: fix breaking of rows in nested lists
3676         (bug 1004)
3677
3678         * text2.C (updateCounters): fix up depth values
3679         (bug 1013)
3680
3681 2003-04-07  John Levon  <levon@movementarian.org>
3682
3683         * BufferView_pimpl.C: clear message when doc finishes resizing,
3684         and after a mouse event
3685
3686         * lyxfunc.C: clear message after exiting inset
3687
3688 2003-04-07  John Levon  <levon@movementarian.org>
3689
3690         * bufferview_funcs.C: show math status not outside
3691         status in the statusbar
3692
3693 2003-04-07  John Levon  <levon@movementarian.org>
3694
3695         * lyxfunc.C: note status changed after a depth change
3696
3697 2003-04-04  Angus Leeming  <leeming@lyx.org>
3698
3699         * LaTeX.h: move AuxInfo operator==, != out of line.
3700         Remove LaTeX virtual destructor; nothing derives from it.
3701         Move operator()() out of public area and rename it startscript().
3702         Change protected for private.
3703
3704 2003-04-04  Angus Leeming  <leeming@lyx.org>
3705
3706         * lyxfunc.C:
3707         * text2.C: remove unneeded #includes.
3708
3709 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3710
3711         * text2.C (dEPM): fix the heigth of the next row
3712
3713 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3714
3715         * text.C: squashed an invalid getChar requester + some ws changes
3716
3717 2003-04-03  John Levon  <levon@movementarian.org>
3718
3719         * bufferview_funcs.h:
3720         * bufferview_funcs.C:
3721         * lyxfunc.C:
3722         * lyxtext.h:
3723         * text2.C: make getStatus work for the env depth lfuns
3724
3725 2003-04-03  John Levon  <levon@movementarian.org>
3726
3727         * bufferview_funcs.h:
3728         * bufferview_funcs.C:
3729         * lyxfunc.C:
3730         * lyxtext.h:
3731         * text2.C: parlistize decDepth(), by merging it with incDepth()
3732
3733 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3734
3735         * lyxrow.h: store a ParagraphList::iterator instead of a
3736         Paragraph* and adjust other class functions to suit.
3737
3738         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3739         above.
3740
3741 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3742
3743         * text2.C (setCursor): do not anchor to cursor row for the time being
3744
3745 2003-04-02  John Levon  <levon@movementarian.org>
3746
3747         * LyXAction.C:
3748         * lfuns.h:
3749         * lyx_main.C:
3750         * lyxtext.h:
3751         * text.C:
3752         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3753
3754 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3755
3756         * paragraph.h: make ParagraphList and ParagraphList::iterator
3757         friends of Paragraph.
3758
3759         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3760
3761         * ParagraphList.C: Use the private next_ and previous_ from
3762         Paragraph.
3763
3764 2003-04-01  John Levon  <levon@movementarian.org>
3765
3766         * ToolbarBackend.h:
3767         * ToolbarBackend.C:
3768         * Makefile.am: rename, remove defaults gunk
3769
3770         * MenuBackend.h:
3771         * MenuBackend.C: remove defaults gunk
3772
3773         * Languages.h:
3774         * Languages.C: remove defaults gunk
3775
3776         * lyx_main.h:
3777         * lyx_main.C: error out if files couldn't be found.
3778
3779 2003-04-02  John Levon  <levon@movementarian.org>
3780
3781         * text2.C: make incDepth() use parlist
3782
3783 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3784
3785         * undo_funcs.C (firstUndoParagraph): adjust
3786
3787         * text3.C (gotoInset): adjust
3788         (dispatch): adjust, and rewrite loop.
3789
3790         * text2.C (init): adjust, and rewrite loop.
3791         (redoParagraphs): adjust
3792         (updateInset): adjust, and rewrite loop.
3793         (deleteEmptyParagraphMechanism): adjust
3794
3795         * tabular.C (LyXTabular): adjust
3796         (SetMultiColumn): adjust
3797         (TeXRow): adjust
3798
3799         * lyxtext.[Ch] (ownerParagraph): delete function
3800         (ownerParagraphs): new function returns a ParagraphList.
3801
3802         * BufferView.C (removeAutoInsets): adjust
3803         (insertErrors): adjust
3804         (setCursorFromRow): adjust
3805
3806 2003-04-01  Angus Leeming  <leeming@lyx.org>
3807
3808         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3809         in the frontends.
3810
3811 2003-04-02  John Levon  <levon@movementarian.org>
3812
3813         * lyxtext.h:
3814         * text.C:
3815         * Makefile.am:
3816         * text_funcs.h:
3817         * text_funcs.C: make transposeChars a free function
3818
3819         * lyxrow_funcs.C: remove wrong comment
3820
3821 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3822
3823         * lyxtext.h: adjust
3824         * rowpainter.C: adjust
3825         * text.C: adjust
3826         * text2.C: adjust
3827         * text3.C: adjust
3828
3829         * lyxrow_funcs. [Ch]: new files
3830
3831         * lyxrow.[Ch]: remove next and previous pointers
3832         (next,previous): remove accessor functions
3833         (isParEnd): move to lyxrow_funcs
3834         (lastPos): move to lyxrow_funcs
3835         (nextRowIsAllInset): move to lyxrow_funcs
3836         (lastPrintablePos): move to lyxrow_funcs
3837         (numberOfSeparators): move to lyxrow_funcs
3838         (numberOfHfills): move to lyxrow_funcs
3839         (numberOfLabelHfills): move to lyxrow_funcs
3840         (hfillExpansion): move to lyxrow_funcs
3841
3842         * lyxfunc.C: adjust
3843
3844         * bufferview_funcs.C (toggleAndShow): adjust
3845
3846         * RowList.h: Remove class RowList from file leave just a
3847         std::list<Row>.
3848
3849         * RowList.C: delete file
3850
3851         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3852         and lyxrow_funcs.h
3853
3854 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3855
3856         * text3.C (cursorPrevious): adjust
3857         (cursorNext): adjust
3858         (dispatch): adjust
3859
3860         * text2.C (redoHeightOfParagraph): adjust
3861         (redoDrawingOfParagraph): adjust
3862         (setCursor): adjust
3863
3864         * text.C (breakParagraph): adjust
3865         (insertChar): adjust
3866         (backspace): adjust
3867
3868         * rowpainter.C (RowPainter): adjust
3869         (leftMargin): simplify and adjust
3870         (most rowpainter functions): adjust.
3871
3872         * rowpainter.h: store the row as RowList::iterator not as Row*
3873
3874         * lyxcursor.C (row): taka RowList::iterator as arg
3875         (irow): ditto
3876
3877         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3878         of Row*.
3879
3880 2003-04-01  Angus Leeming  <leeming@lyx.org>
3881
3882         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3883         stuff like bool Bool.
3884
3885 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3886
3887         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3888         rewrite a loop
3889
3890 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3891
3892         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3893         RowList::iterator.
3894
3895         * lyxtext.h (rows): drop one version and leve a const variant that
3896         returns a RowList::iterator.
3897
3898 2003-03-31  Angus Leeming  <leeming@lyx.org>
3899
3900         * text.C (fill): ensure that the signature is the same as that in the
3901         header file.
3902
3903 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3904
3905         * text2.C (redoParagraphs): adjust
3906         (updateCounters): adjust
3907         (checkParagraph): adjust
3908         (getColumnNearX): adjust and reformat a bit.
3909
3910         * text.C (top_y): adjust
3911         (workWidth): adjust
3912         (leftMargin): adjust
3913         (prepareToPrint): adjust
3914         (getRow): adjust
3915         (getRowNearY): adjust
3916
3917         * lyxtext.h: make rowlist_ mutable.
3918
3919         * RowList.h: add const_iterator
3920         * RowList.C: adjust for RowList::const_iterator.
3921
3922         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3923         adjust.
3924
3925 2003-03-31  John Levon  <levon@movementarian.org>
3926
3927         * lyxrc.h:
3928         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3929
3930         * lyx_main.C: set default fonts from using lyx_gui funcs
3931
3932         * exporter.C: pdf_mode moved from lyxrc
3933
3934         * lyx_cb.C:
3935         * lyxfunc.C: changes from above
3936
3937 2003-03-31  John Levon  <levon@movementarian.org>
3938
3939         * lyx_main.C: fix to the last fix
3940
3941 2003-03-31  John Levon  <levon@movementarian.org>
3942
3943         * bufferlist.C: "Load original" -> "Load Original"
3944
3945         * converter.C:
3946         * exporter.C:
3947         * importer.C:
3948         * lyx_main.C:
3949         * format.C: more Alert cleanups
3950
3951 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3952
3953         * text2.C (removeParagraph): make it take a RowList::iterator as
3954         arg, adjust.
3955         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3956         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3957
3958         * text.C (anchor_row): make it take a RowList::iterator as arg,
3959         adjust.
3960         (computeBidiTables): make it take a const reference to Row instead
3961         of Row pointer, adjust.
3962         (leftMargin): make it take a RowList::iterator as arg, adjust.
3963         (rowBreakPoint): adjust
3964         (breakAgainOneRow): make it take a RowList::iterator as arg,
3965         adjust.
3966         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3967
3968         * bufferview_funcs.C (toggleAndShow): adjust
3969
3970 2003-03-30  John Levon  <levon@movementarian.org>
3971
3972         * Makefile.am:
3973         * BoostFormat.h:
3974         * boost-inst.C: moved to support
3975
3976         * several files: changes as a result
3977
3978 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3979
3980         * text2.C (LyXText): adjust.
3981         (init): adjust
3982         (removeRow): make it take a RowList::iterator as arg, adjust.
3983         (fullRebreak): adjust
3984         (deleteEmptyParagraphMechanism): adjust
3985         (clearPaint): adjust
3986         (postPaint): adjust
3987
3988         * text.C (top_y): adjust
3989         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3990         (breakAgain): make it take a RowList::iterator as arg, adjust.
3991         (breakParagraph): adjust
3992         (insertChar): adjust
3993         (backspace): adjust
3994
3995         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3996         need_break_row, and refresh_row.
3997
3998         * text3.C (dispatch): adjust
3999
4000         * text2.C (checkParagraph): adjust
4001         (setCursor): adjust
4002         (setCursorFromCoordinates): adjust
4003
4004         * text.C (top_y): adjust
4005         (workWidth): adjust
4006         (getRow): make it return a RowList::iterator, adjust
4007         (getRowNearY): make it return a RowList::iterator, adjust
4008
4009         * text2.C (init): adjust
4010         (insertRow): remove function
4011         (insertParagraph): adjust
4012         (redoParagraphs): adjust
4013         (fullRebreak): adjust
4014         (updateCounters): adjust
4015
4016         * text.C (top_y): rewrite to use RowList iterators.
4017         (top_y): adjust
4018         (setHeightOfRow): rewrite to sue RowList iterators.
4019         (appendParagraph): adjust
4020         (breakAgain): adjust
4021         (breakAgainOneRow): adjust
4022         (breakParagraph): adjust
4023         (getRow): adjust
4024         (getRowNearY): adjust, and remove commented code.
4025
4026         * lyxtext.h (firstRow): delete function
4027         (lastRow): delete function
4028         (rows): new function (const and non-const versions.)
4029         (insertRow): delete function
4030
4031         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4032
4033 2003-03-29  John Levon  <levon@movementarian.org>
4034
4035         * BufferView_pimpl.C: always update scrollbar top
4036         because pasting text when we're anchored could mean we
4037         miss an update altogether
4038
4039 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4040
4041         * text2.C (init): use rowlist_.end() and not 0.
4042         (insertRow): change to take a RowList::iterator as arg, adjust
4043         for this.
4044         (insertParagraph): change to take a RowList::iterator as arg,
4045         adjust for this.
4046         (redoParagraphs): remove some debug msgs.
4047
4048         * text.C (appendParagraph): change to take a RowList::iterator
4049         arg, adjust for this.
4050         (breakAgain): add an assert
4051         (breakAgainOneRow): ditto
4052
4053 2003-03-29  John Levon  <levon@movementarian.org>
4054
4055         * text2.C: do not clear selection after inc/decDepth
4056         (bug 550)
4057
4058 2003-03-29  John Levon  <levon@movementarian.org>
4059
4060         * BufferView.C:
4061         * buffer.C: fix broken strerrors according to Lars
4062
4063 2003-03-29  John Levon  <levon@movementarian.org>
4064
4065         * converters.C: more Alert cleanups
4066
4067 2003-03-29  John Levon  <levon@movementarian.org>
4068
4069         * bufferview_funcs.C: remove pointless Alert
4070
4071         * buffer.C: fix confusing error message when
4072         a template is chmoded 000
4073
4074 2003-03-29  John Levon  <levon@movementarian.org>
4075
4076         * BufferView.C:
4077         * BufferView.h:
4078         * BufferView_pimpl.C: Alert fixes
4079
4080         * Makefile.am:
4081         * tabular.C:
4082         * tabular-old.C: remove unused table compat reading
4083
4084 2003-03-29  John Levon  <levon@movementarian.org>
4085
4086         * BufferView.C:
4087         * buffer.C:
4088         * lyx_cb.h:
4089         * lyx_cb.C: more Alert cleanups
4090
4091         * lyxfunc.C: don't allow chktex if not latex document
4092
4093 2003-03-29  John Levon  <levon@movementarian.org>
4094
4095         * lyx_cb.C:
4096         * BufferView.C:
4097         * buffer.C: warnings pushed down from support/,
4098         kill err_alert
4099
4100 2003-03-29  John Levon  <levon@movementarian.org>
4101
4102         * lyxfunc.C: safety check for C-r (revert)
4103
4104 2003-03-29  John Levon  <levon@movementarian.org>
4105
4106         * bufferlist.h:
4107         * bufferlist.C: several UI fixes using Alert::prompt.
4108         Fix the pointless looping quit code. Fix stupid revert
4109         behaviour (bug 938)
4110
4111         * lyxvc.h:
4112         * lyxvc.C:
4113         * lyx_cb.C: use Alert::prompt
4114
4115         * lyx_main.C: remove a silly question
4116
4117         * lyxfunc.C: remove a couple of silly questions,
4118         use Alert::prompt
4119
4120 2003-03-28  John Levon  <levon@movementarian.org>
4121
4122         * text2.C: fix bug 974 (End on empty par)
4123
4124 2003-03-28  John Levon  <levon@movementarian.org>
4125
4126         * BufferView_pimpl.C:
4127         * LyXAction.C:
4128         * lfuns.h: remove do-nothing math greek lfuns
4129
4130 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4131
4132         * lyxgluelength.h (isValidGlueLength): add default arg on
4133         parameter 2. Remove default arg from friend in class.
4134
4135         * lyxlength.h (isValidLength): add default arg on parameter 2.
4136         Remove default arg from friend in class.
4137
4138         * text2.C (LyXText): adjust, initialize refresh_row.
4139         (init): adjust
4140         (removeRow): adjust
4141         (insertRow): adjust
4142         (insertParagraph): adjst
4143         (redoParagraphs): adjust
4144         (fullRebreak): adjust
4145         (updateCounters): adjust
4146         (deleteEmptyParagraphMechanism): first attempt at fixing a
4147         crashing bug.
4148
4149         * text.C (top_y): adjust
4150         (setHeightOfRow): adjust
4151         (getRow): adjust
4152         (getRowNearY): adjust
4153
4154         * lyxtext.h: include RowList.h
4155         (~LyXText): not needed anymore, deleted.
4156         (firstRow): modify for RowList
4157         (lastRow): new function
4158         Delete firstrow and lastrow class variables, add a Rowlist
4159         rowlist_ class variable.
4160
4161         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4162         paragraph is empty.
4163
4164         * RowList.C (insert): fix case where it == begin().
4165
4166 2003-03-26  Angus Leeming  <leeming@lyx.org>
4167
4168         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4169         the thesaurus dialog.
4170
4171 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4172
4173         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4174
4175         * RowList.[Ch]: new files
4176
4177         * ParagraphList.C (erase): handle the case where it == begin
4178         correctly.
4179
4180 2003-03-25  John Levon  <levon@movementarian.org>
4181
4182         * Makefile.am:
4183         * aspell_local.h:
4184         * aspell.C: add new aspell support
4185
4186         * lyxrc.h:
4187         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4188         have it accessible.
4189
4190 2003-03-25  Angus Leeming  <leeming@lyx.org>
4191
4192         * lfuns.h:
4193         * LyXAction.C (init): new LFUN_INSET_INSERT.
4194
4195         * BufferView_pimpl.C (dispatch): split out part of the
4196         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4197
4198         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4199         LFUN_INSET_APPLY.
4200
4201 2003-03-25  Angus Leeming  <leeming@lyx.org>
4202
4203         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4204
4205 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4206
4207         * text2.C:
4208         * text3.C: remove useless row->height(0)
4209
4210 2003-03-25  John Levon  <levon@movementarian.org>
4211
4212         * lyxtext.h:
4213         * text2.C:
4214         * text3.C: rename the refreshing stuff to better names
4215
4216 2003-03-24  John Levon  <levon@movementarian.org>
4217
4218         * BufferView_pimpl.h:
4219         * BufferView_pimpl.C: update layout choice on a mouse
4220         press/release
4221
4222 2003-03-23  John Levon  <levon@movementarian.org>
4223
4224         * Makefile.am: fix commandtags.h reference
4225
4226 2003-03-22  John Levon  <levon@movementarian.org>
4227
4228         * BufferView_pimpl.C:
4229         * lyxtext.h:
4230         * rowpainter.C:
4231         * rowpainter.h:
4232         * text.C:
4233         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4234
4235 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4236
4237         * lyxtext.h:
4238         * text.C: take the rtl methods out of line
4239
4240 2003-03-21 André Pönitz <poenitz@gmx.net>
4241
4242         * metricsinfo.[Ch]: new files containing structures to be passed around
4243         during the two-phase-drawing...
4244
4245 2003-03-21 André Pönitz <poenitz@gmx.net>
4246
4247         * lyxtextclass.C: read 'environment' tag.
4248
4249 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4250
4251         * text2.C (removeRow): fix bug 964
4252
4253 2003-03-20  John Levon  <levon@movementarian.org>
4254
4255         * rowpainter.C:
4256         * text.C:
4257         * text2.C: paint cleanups. Inset::update() dropped font
4258         parameter
4259
4260 2003-03-19  John Levon  <levon@movementarian.org>
4261
4262         * lyxfunc.C: only fitcursor/markDirty if available()
4263
4264 2003-03-19  John Levon  <levon@movementarian.org>
4265
4266         * commandtags.h: rename to ...
4267
4268         * lfuns.h: ... this, and renumber / cleanup
4269
4270 2003-03-19  John Levon  <levon@movementarian.org>
4271
4272         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4273         fit the cursor after an lfun
4274
4275         * BufferView.h:
4276         * BufferView.C:
4277         * BufferView_pimpl.h:
4278         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4279
4280         * LyXAction.C: layout-character should have ReadOnly
4281
4282         * ParagraphParameters.C:
4283         * buffer.C:
4284         * bufferview_funcs.C:
4285         * lyx_cb.C:
4286         * lyxfind.C:
4287         * lyxtext.h:
4288         * text.C:
4289         * text2.C:
4290         * text3.C:
4291         * undo_funcs.C: changes from above
4292
4293 2003-03-18  John Levon  <levon@movementarian.org>
4294
4295         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4296         remove it from update()
4297
4298         * lyxfunc.C: update layout choice after an lfun
4299
4300         * text3.C: remove extra updateLayoutChoice()s
4301
4302 2003-03-18  John Levon  <levon@movementarian.org>
4303
4304         * text.C: top_y change means full repaint, fix
4305         a drawing bug with cursor movement
4306
4307 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4308
4309         * lyxtext.h:
4310         * text.C:
4311         * text2.C: anchor row on setCursor
4312
4313 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4314
4315         * lyxtext.h: remove almost all mutable keywords
4316         * text.C:
4317         * text2.C:
4318         * text3.C: remove const keywords accordingly
4319
4320 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4321
4322         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4323         anon namespace
4324         (TeXEnvironment): ditto
4325         (TeXOnePar): ditto
4326
4327 2003-03-17  John Levon  <levon@movementarian.org>
4328
4329         * text.C (rowBreakPoint): remove attempt to fix displayed
4330         math insets inside a manual label
4331
4332 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4333
4334         * lyxtext.h: remove BufferView* as first arg from almost all class
4335         functions.
4336         * other files: adjust.
4337
4338 2003-03-17  John Levon  <levon@movementarian.org>
4339
4340         * lyxtext.h:
4341         * undo_funcs.C:
4342         * text2.C: more paint cleanups
4343
4344         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4345
4346         * rowpainter.h:
4347         * rowpainter.C: remove "smart" background painting code
4348
4349 2003-03-16  John Levon  <levon@movementarian.org>
4350
4351         * lyxtext.h:
4352         * text.C:
4353         * text2.C:
4354         * text3.C: add helper functions for setting refresh_row/y
4355
4356 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4357
4358         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4359         newline inset which *can* get inserted in the pass_thru layouts.
4360         This is primarily for literate documents.
4361
4362 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4363
4364         * buffer.C: increment LYX_FORMAT to 223
4365
4366 2003-03-14 André Pönitz <poenitz@gmx.net>
4367
4368         * textclass.h: prepare for environment handling, ws changes
4369         * lyxlayout.C: read latexheader and latexfooter tags
4370
4371 2003-03-14  John Levon  <levon@movementarian.org>
4372
4373         * text2.C: rewrite ::status() a bit
4374
4375 2003-03-13  John Levon  <levon@movementarian.org>
4376
4377         * lyxtext.h: add some docs
4378
4379 2003-03-13  John Levon  <levon@movementarian.org>
4380
4381         * lyxtext.h:
4382         * text.C:
4383         * text2.C:
4384         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4385
4386 2003-03-13  John Levon  <levon@movementarian.org>
4387
4388         * text3.C: fix appendix redrawing
4389
4390 2003-03-13  John Levon  <levon@movementarian.org>
4391
4392         * text.C (setHeightOfRow):
4393         * rowpainter.h:
4394         * rowpainter.C: make appendix mark have the text
4395           "Appendix" so the user knows what it is
4396
4397         * LColor.h:
4398         * LColor.C: s/appendixline/appendix/ from above
4399
4400 2003-03-13  John Levon  <levon@movementarian.org>
4401
4402         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4403
4404         * text.C: fix a getChar(pos) bug properly
4405
4406 2003-03-13  Angus Leeming  <leeming@lyx.org>
4407
4408         * commandtags.h:
4409         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4410         Probably only temporary. Let's see how things pan out.
4411
4412         * BufferView.C (unlockInset):
4413         * BufferView_pimpl.C (fitCursor):
4414         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4415
4416         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4417         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4418
4419         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4420         new functions that convert ParagraphParameters to and from a string.
4421
4422         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4423         BufferView::Pimpl's dispatch.
4424         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4425
4426 2003-03-13 André Pönitz <poenitz@gmx.net>
4427
4428         * lyxfunc.C:
4429         * text3.C:
4430         * factory.C: make it aware of InsetEnv
4431
4432 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4433
4434         * text2.C (setCursor): never ask for one past last
4435         (setCursor): add some debugging messages.
4436
4437         * text.C (singleWidth): never ask for one past last
4438         (singleWidth): ditto
4439         (leftMargin): ditto
4440         (rightMargin): ditto
4441         (rowBreakPoint): ditto
4442         (setHeightOfRow): ditto
4443         (prepareToPrint): ditto
4444
4445         * rowpainter.C (paintBackground): never ask for one past last
4446         (paintText): never ask for one past last
4447
4448         * paragraph_pimpl.C (getChar): make the assert stricter, never
4449         allow the one past last pos to be taken
4450
4451         * paragraph.C (getChar): ws changes only
4452
4453         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4454         (numberOfSeparators): ditto
4455         (numberOfHfills): ditto
4456
4457 2003-03-12  John Levon  <levon@movementarian.org>
4458
4459         * author.h:
4460         * author.C:
4461         * bufferparams.h:
4462         * bufferparams.C:
4463         * paragraph_funcs.C: fix per-buffer authorlists
4464
4465 2003-03-12  John Levon  <levon@movementarian.org>
4466
4467         * text.C: fix newline in right address
4468
4469 2003-03-12  Angus Leeming  <leeming@lyx.org>
4470
4471         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4472         duplicate those in LyXFunc::dispatch.
4473
4474         * commandtags.h:
4475         * LyXAction.C:
4476         * ToolbarDefaults.C:
4477         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4478         Add LFUN_FONTFREE_UPDATE.
4479
4480         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4481         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4482
4483         * bufferview_func.[Ch]: several new functions to facilliate
4484         transfer of data to and from the character dialog.
4485
4486 2003-03-12  John Levon  <levon@movementarian.org>
4487
4488         * buffer.C:
4489         * paragraph.h:
4490         * paragraph.C:
4491         * paragraph_funcs.C:
4492         * paragraph_pimpl.C:
4493         * sgml.C:
4494         * tabular.C:
4495         * text.C:
4496         * text3.C: remove META_NEWLINE in favour of an inset
4497
4498         * rowpainter.h:
4499         * rowpainter.C: remove paintNewline (done by inset)
4500
4501 2003-03-12  John Levon  <levon@movementarian.org>
4502
4503         * paragraph_pimpl.C: complain about bad getChar()s
4504         for a while at least
4505
4506 2003-03-12  John Levon  <levon@movementarian.org>
4507
4508         * buffer.h:
4509         * buffer.C: move paragraph read into a separate function,
4510         a little renaming to reflect that.
4511
4512         * bufferparams.h:
4513         * bufferparams.C: remove the author_ids map, not necessary now
4514
4515         * factory.h:
4516         * factory.C: moved Buffer::readInset to here
4517
4518         * paragraph_funcs.h:
4519         * paragraph_funcs.C: readParagraph free function moved from
4520         buffer.C
4521
4522         * tabular.C: name change
4523
4524 2003-03-12  John Levon  <levon@movementarian.org>
4525
4526         * buffer.C:
4527         * ParagraphParameters.C: move par params input to
4528         a read() method
4529
4530         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4531         behave like a normal read from the stream wrt reading
4532         a line vs. a \\token
4533
4534 2003-03-12  John Levon  <levon@movementarian.org>
4535
4536         * paragraph.C:
4537         * ParagraphParameters.h:
4538         * ParagraphParameters.C: move output code to a
4539         ::write() method
4540
4541 2003-03-12  John Levon  <levon@movementarian.org>
4542
4543         * BufferView.C (insertLyXFile):
4544         * buffer.h:
4545         * buffer.C:
4546         * tabular.C: use a parlist iterator for creating the
4547           document.
4548
4549 2003-03-12  John Levon  <levon@movementarian.org>
4550
4551         * buffer.C: make current_change static local not
4552           static file-scope
4553
4554 2003-03-12  John Levon  <levon@movementarian.org>
4555
4556         * buffer.C: fix insertStringAsLines for change tracking
4557
4558 2003-03-12  John Levon  <levon@movementarian.org>
4559
4560         * BufferView.C:
4561         * tabular.C:
4562         * buffer.h:
4563         * buffer.C:
4564         * bufferparams.h:
4565         * bufferparams.C: move author list into params. Rename some
4566           functions. Move the header reading into a separate token
4567           loop. Move the header token reading into BufferParams.
4568
4569 2003-03-12  John Levon  <levon@movementarian.org>
4570
4571         * changes.C: put debug inside lyxerr.debugging() checks
4572
4573 2003-03-11 André Pönitz <poenitz@gmx.net>
4574
4575         * factory.C: make it aware of InsetHFill
4576
4577 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4578
4579         * buffer.C (latexParagraphs): move function from here...
4580         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4581         args.
4582
4583 2003-03-10  Angus Leeming  <leeming@lyx.org>
4584
4585         * LyXAction.C (init): fix bug in poplating array with multiple entries
4586         with the same LFUN (spotted by JMarc).
4587
4588 2003-03-10  John Levon  <levon@movementarian.org>
4589
4590         * text.C:
4591         * text2.C: move getColumnNearX() near its
4592         only call site
4593
4594 2003-03-10  John Levon  <levon@movementarian.org>
4595
4596         * text.C: fix break before a minipage
4597
4598 2003-03-10  John Levon  <levon@movementarian.org>
4599
4600         * text.C: fix the last commit
4601
4602 2003-03-09  John Levon  <levon@movementarian.org>
4603
4604         * lyxtext.h:
4605         * text.C:
4606         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4607         bug 365 (don't break before insets unless needed). Don't
4608         return a value > last under any circumstances.
4609
4610 2003-03-09  Angus Leeming  <leeming@lyx.org>
4611
4612         * BufferView_pimpl.C (trackChanges, dispatch): call
4613         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4614
4615 2003-03-09  Angus Leeming  <leeming@lyx.org>
4616
4617         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4618         than Dialogs::showAboutlyx().
4619
4620 2003-03-09  Angus Leeming  <leeming@lyx.org>
4621
4622         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4623         than Dialogs::showTabularCreate().
4624
4625 2003-03-09  John Levon  <levon@movementarian.org>
4626
4627         * lyxtext.h:
4628         * text.C:
4629         * text2.C: 3rd arg to nextBreakPoint was always the same.
4630           Use references.
4631
4632 2003-03-08  John Levon  <levon@movementarian.org>
4633
4634         * lyxrow.C:
4635         * paragraph.C:
4636         * paragraph.h:
4637         * rowpainter.C:
4638         * text.C:
4639         * text2.C: Remove the "main" bit from the "main body"
4640           notion.
4641
4642 2003-03-08  John Levon  <levon@movementarian.org>
4643
4644         * text.C (leftMargin): The left margin of an empty
4645         manual label paragraph should not include the label width
4646         string length.
4647
4648         * text.C (prepareToPrint): don't attempt to measure hfills
4649         for empty manual label paragraphs - the answer should be 0
4650
4651 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4652
4653         * CutAndPaste.C: remove commented code and reindent.
4654
4655 2003-03-08  John Levon  <levon@movementarian.org>
4656
4657         * lyxfunc.h:
4658         * lyxfunc.C: move reloadBuffer()
4659
4660         * BufferView.h:
4661         * BufferView.C: to here
4662
4663         * lyxvc.C: add comment
4664
4665         * vc-backend.h:
4666         * vc-backend.C: call bv->reload() to avoid
4667           getStatus() check on MENURELOAD
4668
4669 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4670
4671         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4672         to an old format .dep file.
4673
4674 2003-03-07  Angus Leeming  <leeming@lyx.org>
4675
4676         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4677         when the LFUN_MOUSE_RELEASE should have been handled by
4678         inset->localDispatch.
4679
4680 2003-03-07  Angus Leeming  <leeming@lyx.org>
4681
4682         * BufferView_pimpl.C (dispatch):
4683         * LyXAction.C (init):
4684         * ToolbarDefaults.C (init):
4685         * commandtags.h:
4686         * lyxfunc.C (getStatus):
4687         remove LFUN_INSET_GRAPHICS.
4688
4689         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4690
4691 2003-03-07  Angus Leeming  <leeming@lyx.org>
4692
4693         * commandtags.h:
4694         * LyXAction.C (init):
4695         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4696
4697         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4698
4699         * commandtags.h:
4700         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4701
4702         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4703         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4704
4705 2003-03-07  Angus Leeming  <leeming@lyx.org>
4706
4707         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4708         remove "ert".
4709
4710 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4711
4712         * ParagraphList.C (front): new function
4713         (back): implement
4714
4715 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4716
4717         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4718         and top_row_offset_. removed var first_y.
4719         * text.C (top_y):
4720         * text2.C (LyXText, removeRow):
4721         * text3.C:
4722         * BufferView_pimpl.C:
4723         use these methods instead of using first_y
4724
4725 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4726
4727         * text2.C (pasteSelection): adjust for checkPastePossible
4728
4729         * CutAndPaste.C: remove Paragraph * buf and replace with
4730         ParagraphList paragraphs.
4731         (DeleteBuffer): delete
4732         (cutSelection): change the tc type to textclass_type
4733         (copySelection): change the tc type to textclass_type
4734         (copySelection): adjust for ParagraphList
4735         (pasteSelection): change the tc type to textclass_type
4736         (pasteSelection): adjust for Paragraphlist
4737         (nrOfParagraphs): simplify for ParagraphList
4738         (checkPastePossible): simplify for ParagraphList
4739         (checkPastePossible): remove unused arg
4740
4741         * ParagraphList.C (insert): handle the case where there are no
4742         paragraphs yet.
4743
4744         * CutAndPaste.h: make CutAndPaste a namespace.
4745
4746         * text3.C (dispatch): adjust
4747
4748         * text.C (breakParagraph): add a ParagraphList as arg
4749
4750         * paragraph_funcs.C (breakParagraph): change to take a
4751         BufferParams and a ParagraphList as args.
4752         (breakParagraphConservative): ditto
4753         (mergeParagraph): ditto
4754         (TeXDeeper): add a ParagraphList arg
4755         (TeXEnvironment): ditto
4756         (TeXOnePar): ditto
4757
4758         * buffer.C (readLyXformat2): adjust
4759         (insertStringAsLines): adjust
4760         (latexParagraphs): adjust
4761
4762         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4763         (cutSelection): adjust
4764         (pasteSelection): adjust
4765
4766         * BufferView_pimpl.C (insertInset): adjust
4767
4768 2003-03-05  Angus Leeming  <leeming@lyx.org>
4769
4770         * commandtags.h:
4771         * LyXAction.C (init):
4772         * BufferView_pimpl.C (dispatch):
4773         * lyxfunc.C (getStatus):
4774         remove LFUN_CHILD_INSERT.
4775
4776         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4777
4778 2003-03-05  Angus Leeming  <leeming@lyx.org>
4779
4780         * commandtags.h:
4781         * LyXAction.C (init):
4782         * src/factory.C (createInset):
4783         * lyxfunc.C (getStatus):
4784         * text3.C (dispatch):
4785         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4786
4787         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4788
4789 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4790
4791         * ParagraphList.C (insert): handle insert right before end()
4792         (erase): fix cases where it can be first or last paragraph.
4793
4794 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4795
4796         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4797         Paragraph::next and Paragraph::previous
4798         (TeXOnePar): ditto
4799
4800         * text.C (breakParagraph): adjust
4801
4802         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4803         BufferParams& as arg.
4804         (breakParagraph): use ParagraphList::insert
4805         (breakParagraphConservative): take a Buffer* instead of a
4806         BufferParams& as arg.
4807         (breakParagraphConservative): use ParagraphList::insert.
4808
4809         * buffer.C (insertStringAsLines): un-const it
4810         (insertStringAsLines): adjust
4811
4812         * ParagraphList.C (insert): new function
4813
4814         * CutAndPaste.C (pasteSelection): adjust
4815
4816         * text.C (backspace): adjust
4817
4818         * tabular.C (SetMultiColumn): adjust
4819
4820         * CutAndPaste.C (cutSelection): adjust
4821         (pasteSelection): adjust
4822
4823         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4824         Buffer const * as arg
4825
4826         * ParagraphList.C (erase): new function
4827         * paragraph_funcs.C (mergeParagraph): use it
4828         (mergeParagraph): make it take a Buffer* instead of a
4829         BufferParams* as arg
4830
4831         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4832         as arg
4833         (breakParagraphConservative): ditto
4834
4835         * paragraph.h: remove the breakParagraph friend
4836
4837         * paragraph.C (eraseIntern): new function
4838         (setChange): new function
4839
4840         * paragraph_funcs.C (mergeParagraph): make it take a
4841         ParagraphList::iterator instead of a Paragraph *, adjust
4842         accordingly.
4843
4844         * paragraph.h: move an #endif so that the change tracking stuff
4845         also works in the NO_NEXT case.
4846
4847 2003-03-04  Angus Leeming  <leeming@lyx.org>
4848
4849         * commandtags.h:
4850         * LyXAction.C: new LFUN_INSET_MODIFY.
4851
4852         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4853         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4854
4855 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4856
4857         * several files: ws changes only
4858
4859         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4860         (TeXEnvironment): ditto
4861         (TeXDeeper): ditto
4862
4863         * buffer.C (makeLaTeXFile): adjust
4864         (latexParagraphs): make it take ParagraphList::iterator as args
4865
4866 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4867
4868         * buffer.C (latexParagraphs): adjust
4869
4870         * paragraph.C (TeXOnePar): move function...
4871         (optArgInset): move function...
4872         (TeXEnvironment): move function...
4873         * paragraph_pimpl.C (TeXDeeper): move function...
4874         * paragraph_funcs.C: ...here
4875
4876         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4877
4878 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4879
4880         * buffer.C (readInset): remove compability code for old Figure and
4881         InsetInfo insets
4882
4883 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4884
4885         * buffer.C: ws changes
4886         (readInset):
4887
4888         * BufferView_pimpl.C: ditto
4889         * author.C: ditto
4890         * buffer.h: ditto
4891         * bufferlist.h: ditto
4892         * changes.h: ditto
4893         * lyxfunc.C: ditto
4894
4895 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4896
4897         * converter.[Ch]: split into itself +
4898         * graph.[Ch]
4899         * format.[Ch]
4900         * Makefile.am: += graph.[Ch] + format.[Ch]
4901         * MenuBackend.C
4902         * buffer.C
4903         * exporter.C
4904         * importer.C
4905         * lyx_main.C
4906         * lyxfunc.C
4907         * lyxrc.C: added #include "format.h"
4908
4909 2003-02-27  Angus Leeming  <leeming@lyx.org>
4910
4911         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4912           a label.
4913
4914         * factory.C (createInset): add "label" to the factory.
4915
4916         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4917           string and do no more.
4918
4919 2003-02-27  Angus Leeming  <leeming@lyx.org>
4920
4921         * commandtags.h:
4922         * LyXAction.C (init):
4923         * factory.C (createInset):
4924         * BufferView_pimpl.C (dispatch):
4925           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4926
4927         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4928
4929         * lyxfunc.C (dispatch):
4930         * text3.C (dispatch): pass name to params2string.
4931
4932 2003-02-26  Angus Leeming  <leeming@lyx.org>
4933
4934         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4935           blocks together.
4936           Rearrange the ~includes. Strip out the unnecessary ones.
4937
4938         * factory.C (createInset): reformat.
4939           create new insets for the various LFUN_XYZ_APPLY lfuns.
4940
4941 2003-02-26  John Levon  <levon@movementarian.org>
4942
4943         * lyxrow.h:
4944         * lyxrow.C: add isParStart,isParEnd helpers
4945
4946         * paragraph.h: make isInserted/DeletedText take refs
4947
4948         * paragraph_funcs.h:
4949         * paragraph_funcs.C: remove #if 0'd code
4950
4951         * lyxtext.h:
4952         * text3.C:
4953         * text2.C:
4954         * text.C: use lyxrow helpers above.
4955           Move draw and paint routines to RowPainter.
4956           Make several methods use refs not pointers.
4957           Make backgroundColor() const.
4958           Add markChangeInDraw(), isInInset().
4959           Merge changeRegionCase into changeCase.
4960           Make workWidth() shouldn't-happen code into an Assert.
4961
4962         * rowpainter.h:
4963         * rowpainter.C: new class for painting a row.
4964
4965         * vspace.h:
4966         * vspace.C: make inPixels take a ref
4967
4968 2003-02-26  Angus Leeming  <leeming@lyx.org>
4969
4970         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4971         LFUN_REF_APPLY.
4972
4973 2003-02-25  John Levon  <levon@movementarian.org>
4974
4975         * ispell.C: give the forked command a more accurate name
4976
4977 2003-02-22  John Levon  <levon@movementarian.org>
4978
4979         * toc.h:
4980         * toc.C: make TocItem store an id not a Paragraph *
4981           (bug #913)
4982
4983 2003-02-21  Angus Leeming  <leeming@lyx.org>
4984
4985         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4986           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4987           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4988           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4989           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4990           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4991
4992         * BufferView_pimpl.C (dispatch):
4993         * LyXAction.C (init):
4994         * factory.C (createInset):
4995         * lyxfunc.C (getStatus, dispatch):
4996         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4997
4998 2003-02-21  Angus Leeming  <leeming@lyx.org>
4999
5000         * BufferView_pimpl.C (MenuInsertLyXFile):
5001         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5002         * lyxfunc.C (menuNew, open, doImport):
5003           no longer pass a LyXView & to fileDlg.
5004
5005 2003-02-21  Angus Leeming  <leeming@lyx.org>
5006
5007         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5008         * LyXAction.C: change, BIBKEY to BIBITEM.
5009         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5010         Change InsetBibKey to InsetBibitem.
5011         Change BIBKEY_CODE to BIBITEM_CODE.
5012         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5013         * factory.C: replace insetbib.h with insetbibitem.h.
5014         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5015         * paragraph.C: replace insetbib.h with insetbibitem.h.
5016         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5017         Change bibkey() to bibitem().
5018         * text.C: remove insetbib.h.
5019         * text2.C: replace insetbib.h with insetbibitem.h.
5020         change bibkey() to bibitem().
5021         * text3.C: remove insetbib.h.
5022         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5023
5024 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5025
5026         * lyxrc.C (output): enclose user email in quotes (in case there are
5027         several words)
5028
5029 2003-02-18  John Levon  <levon@movementarian.org>
5030
5031         * buffer.h: add std::
5032
5033 2003-02-17  John Levon  <levon@movementarian.org>
5034
5035         * SpellBase.h:
5036         * ispell.h:
5037         * ispell.C:
5038         * pspell.h:
5039         * pspell.C: reworking. Especially in ispell, a large
5040           number of clean ups and bug fixes.
5041
5042         * lyxfunc.C: fix revert to behave sensibly
5043
5044 2003-02-17 André Pönitz <poenitz@gmx.net>
5045
5046         * LyXAction.C:
5047         * commandtags.h: new LFUN_INSERT_BIBKEY
5048
5049         * layout.h:
5050         * lyxlayout.C:
5051         * buffer.C:
5052         * factory.C:
5053         * text.C:
5054         * text2.C:
5055         * text3.C:
5056         * paragraph.[Ch]:
5057         * paragraph_func.C: remove special bibkey handling
5058
5059 2003-02-17  John Levon  <levon@movementarian.org>
5060
5061         * text.C (Delete): fix case where delete at the end of
5062           the very first paragraph would not merge the pars
5063
5064 2003-02-17  John Levon  <levon@movementarian.org>
5065
5066         * lyxrow.C: fix lastPrintablePos()
5067
5068 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5069
5070         * bufferparams.C (writeLaTeX): add a std:here
5071
5072         * buffer.C: and remove a using directive there
5073
5074 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5075
5076         * buffer.C (makeLaTeXFile): move the code that generates the
5077           preamble...
5078
5079         * bufferparams.C (writeLaTeX): ... in this new method
5080
5081         * LaTeXFeatures.C (getEncodingSet): make const
5082           (getLanguages): make const
5083
5084         * MenuBackend.C (binding): returns the binding associated to this
5085           action
5086           (add): sets the status of each item by calling getStatus. Adds
5087           some intelligence.
5088           (read): add support for OptSubMenu
5089           (expand): remove extra separator at the end of expanded menu
5090
5091 2003-02-15  John Levon  <levon@movementarian.org>
5092
5093         * BufferView.C:
5094         * BufferView_pimpl.C:
5095         * bufferlist.h:
5096         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5097           inset code that had no actual effect. Remove unneeded status
5098           code.
5099
5100 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5101
5102         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5103           in preamble
5104
5105 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5106
5107         * text.C (drawLengthMarker): also draw an arrow marker for
5108           symbolic lengths (medskip...)
5109
5110 2003-02-14  John Levon  <levon@movementarian.org>
5111
5112         * tabular.h:
5113         * tabular.C: better method names
5114
5115 2003-02-14  John Levon  <levon@movementarian.org>
5116
5117         * BufferView_pimpl.C:
5118         * bufferlist.C:
5119         * buffer.C:
5120         * converter.C:
5121         * lyx_cb.C:
5122         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5123           it's a more accurate name. Remove some pointless uses.
5124
5125 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5126
5127         * text2.C (LyXText): change order of initilizers to shut off
5128           warnings
5129
5130 2003-02-14  John Levon  <levon@movementarian.org>
5131
5132         * buffer.C: use ParIterator for getParFromID()
5133
5134         * paragraph.h:
5135         * paragraph.C:
5136         * paragraph_pimpl.h:
5137         * paragraph_pimpl.C: remove unused getParFromID()
5138
5139 2003-02-14  John Levon  <levon@movementarian.org>
5140
5141         * buffer.C: remove some very old #if 0'd parse code
5142
5143 2003-02-13  John Levon  <levon@movementarian.org>
5144
5145         * text.h:
5146         * text.C:
5147         * text2.C: move hfillExpansion(), numberOfSeparators(),
5148           rowLast(), rowLastPrintable(), numberofHfills(),
5149           numberOfLabelHfills() ...
5150
5151         * lyxrow.h:
5152         * lyxrow.C: ... to member functions here.
5153
5154         * paragraph.h:
5155         * paragraph.C:
5156         * lyxtext.h:
5157         * text.C: remove LyXText::beginningOfMainBody(), and call
5158           p->beginningOfMainBody() directly. Move the check for
5159           LABEL_MANUAL into the latter.
5160
5161         * text.h:
5162         * text.C:
5163         * text2.C:
5164         * vspace.C:
5165         * BufferView.h:
5166         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5167
5168         * text.h:
5169         * text.C:
5170         * text2.C:
5171         * text3.C:
5172         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5173           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5174
5175 2003-02-13  John Levon  <levon@movementarian.org>
5176
5177         * CutAndPaste.C: remove debug
5178
5179 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5180
5181         * paragraph.C (asString): remove two unused variables
5182
5183         * lyxtextclass.C (readTitleType):
5184           (Read):
5185           (LyXTextClass): handle new members titletype_ and titlename_
5186
5187         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5188
5189 2003-02-09  John Levon  <levon@movementarian.org>
5190
5191         * buffer.h:
5192         * buffer.C: replace hand-coded list with a map for the dep clean
5193
5194 2003-02-08  John Levon  <levon@movementarian.org>
5195
5196         * LaTeX.C: consolidate code into showRunMessage() helper
5197
5198 2003-02-08  John Levon  <levon@movementarian.org>
5199
5200         * lyxfind.C:
5201         * lyxtext.h:
5202         * text2.C:
5203         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5204           and pass the size in explicitly
5205
5206         * BufferView_pimpl.h:
5207         * BufferView_pimpl.C:
5208         * BufferView.h:
5209         * BufferView.C: add getCurrentChange()
5210
5211         * BufferView_pimpl.h:
5212         * BufferView_pimpl.C: handle change lfuns
5213
5214         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5215           for changes. Mark pasted paragraphs as new.
5216
5217         * support/lyxtime.h:
5218         * support/lyxtime.C:
5219         * DepTable.C: abstract time_t as lyx::time_type
5220
5221         * LColor.h:
5222         * LColor.C: add colours for new text, deleted text, changebars
5223
5224         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5225           package use "usenames" option.
5226
5227         * commandtags.h:
5228         * lyxfunc.C:
5229         * LyXAction.C: add change lfuns
5230
5231         * Makefile.am:
5232         * author.h:
5233         * author.C: author handling
5234
5235         * buffer.h:
5236         * buffer.C: add a per-buffer author list, with first entry as
5237           current author. Handle new .lyx tokens for change tracking. Output
5238           author list to .lyx file. Output dvipost stuff to .tex preamble.
5239           Bump lyx format to 222.
5240
5241         * bufferlist.h:
5242         * bufferlist.C: add setCurrentAuthor() to reset current author details
5243           in all buffers.
5244
5245         * bufferparams.h:
5246         * bufferparams.C: add param for tracking
5247
5248         * bufferview_funcs.C: output change info in minibuffer
5249
5250         * Makefile.am:
5251         * changes.h:
5252         * changes.C: add change-tracking structure
5253
5254         * debug.h:
5255         * debug.C: add CHANGES debug flag
5256
5257         * lyxfind.h:
5258         * lyxfind.C: add code for finding the next change piece
5259
5260         * lyxrc.h:
5261         * lyxrc.C: add user_name and user_email
5262
5263         * lyxrow.h:
5264         * lyxrow.C: add a metric for the top of the text line
5265
5266         * lyxtext.h:
5267         * text.C: implement accept/rejectChange()
5268
5269         * lyxtext.h:
5270         * text.C: paint changebars. Paint new/deleted text in the chosen
5271         colours. Strike through deleted text.
5272
5273         * paragraph.h:
5274         * paragraph.C:
5275         * paragraph_pimpl.h:
5276         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5277           in the current change to the insert functions. Rework erase to
5278           mark text as deleted, adding an eraseIntern() and a range-based
5279           erase(). Implement per-paragraph change lookup and
5280           accept/reject.
5281
5282         * paragraph_funcs.C: Fixup paste for change tracking.
5283
5284         * tabular.C: mark added row/columns as new.
5285
5286         * text.C: fix rowLast() to never return -1. Don't allow
5287           spellchecking of deleted text. Track transpose changes. Don't
5288           allow paragraph break or merge where appropriate.
5289
5290         * text2.C: leave cursor at end of selection after a cut.
5291
5292 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5293
5294         * text.C (getLengthMarkerHeight):
5295         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5296         visible on screen too.
5297
5298 2003-02-07  John Levon  <levon@movementarian.org>
5299
5300         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5301
5302 2003-02-05  Angus Leeming  <leeming@lyx.org>
5303
5304         * lyxserver.C (read_ready): revert my patch of 11 September last year
5305         as it sends PC cpu through the roof. Presumably this means that
5306         the lyxserver will no longer run on an Alpha...
5307
5308 2003-01-30  Angus Leeming  <leeming@lyx.org>
5309
5310         * factory.C (createInset): create an InsetCommandParam of type "index"
5311         and use it to 'do the right thing'.
5312
5313         * text2.C (getStringToIndex): ensure that cursor position is always
5314         reset to the reset_cursor position.
5315
5316 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5317
5318         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5319         disabled.
5320
5321 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5322
5323         * bufferview.C:
5324         * lyxcb.C:
5325         * lyxfunc.C: Output messages with identical spelling, punctuation,
5326         and spaces
5327
5328 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5329
5330         * MenuBackend.C (expandFormats): List only viewable export formats
5331         in "View" menu
5332
5333         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5334         message
5335
5336         * lyxfunc.C (getStatus): Make sure that formats other than
5337         "fax" can also be disabled
5338
5339 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5340
5341         * text3.C (dispatch): put the lfuns that insert insets in 3
5342         groups, and call doInsertInset with appropriate arguments.
5343         (doInsertInset): new function, that creates an inset and inserts
5344         it according to some boolean parameters.
5345
5346 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5347
5348         * buffer.C (readFile): remember to pass on 'par' when calling
5349         readFile recursively.
5350
5351 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5352
5353         * MenuBackend.C (expandFormats): add "..." to import formats.
5354
5355 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5356
5357         * paragraph.C (asString): Remove XForms RTL hacks.
5358
5359 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5360         * buffer.C: fix typo
5361
5362 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5363
5364         * Makefile.am (LIBS): delete var
5365         (lyx_LDADD): add @LIBS@ here instead.
5366
5367 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5368
5369         * Clarify the meaning of "wheel mouse jump"
5370
5371 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5372
5373         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5374         tabular in a float
5375
5376 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5377
5378         * importer.C (Loaders): do not preallocate 3 elements in the
5379         vector, since one ends up with 6 elements otherwise
5380
5381 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5382
5383         * DepTable.C (write): write the file name as last element of the
5384         .dep file (because it may contain spaces)
5385         (read): read info in the right order
5386
5387 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5388
5389         * paragraph_pimpl.C (simpleTeXBlanks):
5390         (simpleTeXSpecialChars):
5391         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5392
5393         * tabular.C (latex): add some missing case statements. Reindent.
5394
5395         * MenuBackend.C (expandToc): remove unused variable.
5396
5397 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5398
5399         * LColor.C:
5400         * LaTeX.C:
5401         * LyXAction.C:
5402         * MenuBackend.C:
5403         * buffer.C:
5404         * exporter.C:
5405         * lyxfunc.C:
5406         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5407         and the like.
5408
5409 2003-01-05  John Levon  <levon@movementarian.org>
5410
5411         * BufferView.h:
5412         * BufferView.C: add getEncoding()
5413
5414         * kbsequence.h:
5415         * kbsequence.C: do not store last keypress
5416
5417         * lyxfunc.h:
5418         * lyxfunc.C: store last keypress here instead. Pass encoding
5419           to getISOEncoded()
5420
5421 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5422
5423         * lyx_main.C (init): remove annoying error message when following
5424         symbolic links (bug #780)
5425
5426 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5427
5428         * text.C (insertChar):
5429         * lyxrc.C (getDescription): remove extra spaces
5430
5431 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5432
5433         * lyxrc.C (getDescription): remove extra spaces
5434
5435 2002-12-20  John Levon  <levon@movementarian.org>
5436
5437         * text3.C: hack fix for page up/down across tall rows
5438
5439 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5440
5441         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5442         not been invoked
5443
5444 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5445
5446         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5447         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5448         thesaurus is not compiled in
5449
5450 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5451
5452         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5453
5454 2002-12-16  Angus Leeming  <leeming@lyx.org>
5455
5456         * lyxrc.[Ch]:
5457         * lyx_main.C (init): remove override_x_deadkeys stuff.
5458
5459 2002-12-12  John Levon  <levon@movementarian.org>
5460
5461         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5462           insert. Only remove shift modifier under strict
5463           circumstances.
5464
5465 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5466
5467         * MenuBackend.C (expandToc): fix crash.
5468
5469 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5470
5471         * MenuBackend.C (expandToc): gettext on float names.
5472
5473 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5474
5475         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5476         implement bool empty() [bug 490]
5477
5478 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5479
5480         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5481
5482 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5483
5484         * several files: ws changes
5485
5486 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5487
5488         * text2.C (setCounter): clean up a bit, use boost.format.
5489         (updateCounters): initialize par upon declaration.
5490
5491         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5492         if the layout exists. We do not just store the layout any more.
5493         (SwitchLayoutsBetweenClasses): use boost.format
5494
5495 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5496
5497         * converter.C (convert): if from and to files are the same, use a
5498         temporary files as intermediary
5499
5500 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5501
5502         * commandtags.h:
5503         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5504
5505 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5506
5507         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5508
5509 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5510
5511         * tabular.C (asciiPrintCell): use string(size, char) instead of
5512         explicit loop.
5513
5514         * sgml.C (openTag): fix order of arguments to string constructor
5515         (closeTag): ditto
5516
5517         * lyxfunc.C (dispatch): use boost.format
5518
5519         * lots of files: change "c" -> 'c'
5520
5521 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5522
5523         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5524
5525 2002-11-25  Angus Leeming  <leeming@lyx.org>
5526
5527         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5528
5529         * lyx_main.C (init): compile fix.
5530
5531 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5532
5533         * lyx_cb.C (start): boost.formatify
5534         do not include <iostream>
5535
5536         * lengthcommon.C: ws only
5537
5538         * boost-inst.C,BoostFormat.h: add more explict instantations
5539
5540 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5541
5542         * lots of files: handle USE_BOOST_FORMAT
5543
5544 2002-11-21  John Levon  <levon@movementarian.org>
5545
5546         * pspell.C: fix compile
5547
5548 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5549
5550         * lyxfunc.C (dispatch): use boost::format
5551         (open): ditto
5552         (doImport): ditto
5553
5554         * lyxfont.C (stateText): use boost::format
5555
5556         * lyx_main.C (LyX): use boost::format
5557         (init): ditto
5558         (queryUserLyXDir): ditto
5559         (readRcFile): ditto
5560         (parse_dbg): ditto
5561         (typedef boost::function): use the recommened syntax.
5562
5563         * importer.C (Import): use boost::format
5564
5565         * debug.C (showLevel): use boost::format
5566
5567         * converter.C (view): use boost::format
5568         (convert): ditto
5569         (move): ditto
5570         (scanLog): ditto
5571
5572         * bufferview_funcs.C (currentState): use boost::format
5573
5574         * bufferlist.C (emergencyWrite): use boost::format
5575
5576         * buffer.C (readLyXformat2): use boost::format
5577         (parseSingleLyXformat2Token): ditto
5578
5579         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5580
5581         * LaTeX.C (run): use boost::format
5582
5583         * Chktex.C (scanLogFile): use boost::format
5584
5585         * BufferView_pimpl.C (savePosition): use boost::format
5586         (restorePosition): ditto
5587         (MenuInsertLyXFile): ditto
5588
5589         * BoostFormat.h: help file for explicit instation.
5590
5591 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5592
5593         * tabular.C (latex): Support for block alignment in fixed width
5594         columns.
5595
5596 2002-11-17  John Levon  <levon@movementarian.org>
5597
5598         * BufferView_pimpl.C:
5599         * lyx_cb.C:
5600         * lyxfunc.C: split filedialog into open/save
5601
5602 2002-11-08  Juergen Vigna  <jug@sad.it>
5603
5604         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5605         by my last patch (hopefully).
5606
5607 2002-11-08  John Levon  <levon@movementarian.org>
5608
5609         * iterators.h:
5610         * iterators.C:
5611         * buffer.h:
5612         * buffer.C:
5613         * paragraph.h:
5614         * paragraph.C:
5615         * toc.h:
5616         * toc.C: ParConstIterator, and use it (from Lars)
5617
5618 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5619
5620         * lyxtextclass.[Ch]: revise and add doxygen comments
5621
5622 2002-11-07  John Levon  <levon@movementarian.org>
5623
5624         * text.C: fix progress value for spellchecker
5625
5626         * toc.C: fix navigate menu for insetwrap inside minipage
5627
5628         * paragraph_funcs.C: added FIXME for suspect code
5629
5630 2002-11-07  John Levon  <levon@movementarian.org>
5631
5632         * BufferView_pimpl.C: fix redrawing of insets
5633           on buffer switch
5634
5635 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5636
5637         * text2.C (updateCounters): fix bug 668
5638
5639 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5640
5641         * text3.C (dispatch): Do not make the buffer dirty when moving the
5642         cursor.
5643
5644 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5645
5646         * vc-backend.C: STRCONV
5647         (scanMaster): ditto
5648
5649         * text2.C (setCounter): STRCONV
5650
5651         * paragraph.C (asString): STRCONV
5652
5653         * lyxlength.C (asString): STRCONV
5654         (asLatexString): ditto
5655
5656         * lyxgluelength.C (asString): STRCONV
5657         (asLatexString): ditto
5658
5659         * lyxfunc.C (dispatch): STRCONV
5660         (open): ditto
5661
5662         * lyxfont.C (stateText): STRCONV
5663
5664         * importer.C (Import): STRCONV
5665
5666         * counters.C (labelItem): STRCONV
5667         (numberLabel): ditto
5668         (numberLabel): remove unused ostringstream o
5669
5670         * chset.C: STRCONV
5671         (loadFile): ditto
5672
5673         * bufferview_funcs.C (currentState): STRCONV
5674
5675         * buffer.C (readFile): STRCONV
5676         (asciiParagraph): ditto
5677         (makeLaTeXFile): ditto
5678
5679         * Spacing.C (writeEnvirBegin): STRCONV
5680
5681         * LaTeXFeatures.C (getLanguages): STRCONV
5682         (getPackages): ditto
5683         (getMacros): ditto
5684         (getBabelOptions): ditto
5685         (getTClassPreamble): ditto
5686         (getLyXSGMLEntities): ditto
5687         (getIncludedFiles): ditto
5688
5689         * LaTeX.C: STRCONV
5690         (run): ditto
5691         (scanAuxFile): ditto
5692         (deplog): ditto
5693
5694         * LString.h: add the STRCONV macros
5695
5696         * BufferView_pimpl.C (savePosition): STRCONV
5697         (restorePosition): ditto
5698         (MenuInsertLyXFile): ditto
5699
5700         * vc-backend.C (scanMaster): change from submatch[...] to
5701         submatch.str(...)
5702
5703         * funcrequest.C: include config.h
5704
5705         * factory.C: include config.h
5706
5707         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5708
5709         * box.C: include config.h
5710
5711         * LaTeX.C (scanAuxFile): change from submatch[...] to
5712         submatch.str(...)
5713         (deplog): ditto
5714
5715 2002-10-25  Angus Leeming  <leeming@lyx.org>
5716
5717         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5718
5719         * ispell.[Ch] (setError): new method.
5720         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5721         Use setError() insetead of goto END.
5722
5723         * lyx_cb.C (AutoSave): move out child process into new class
5724         AutoSaveBuffer.
5725
5726 2002-10-30  John Levon  <levon@movementarian.org>
5727
5728         * text3.C: make start appendix undoable
5729
5730 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5731
5732         * lyxlength.C (inPixels): Fix returned value.
5733
5734         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5735         environment.
5736
5737 2002-10-24  Angus Leeming  <leeming@lyx.org>
5738
5739         * lyxgluelength.h: no need to forward declare BufferParams
5740         or BufferView, so don't.
5741
5742 2002-10-21  John Levon  <levon@movementarian.org>
5743
5744         * BufferView.C: menuUndo ->undo, redo
5745
5746         * BufferView.h: document, remove dead, make some methods private
5747
5748         * paragraph_funcs.h:
5749         * paragraph_funcs.C:
5750         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5751
5752         * buffer.h:
5753         * buffer.C:
5754         * sgml.h:
5755         * sgml.C: move sgml open/close tag into sgml.C
5756
5757         * bufferview_funcs.h: unused prototype
5758
5759         * lyxfunc.h:
5760         * lyxfunc.C: remove unused
5761
5762         * lyxtext.h:
5763         * text.C: remove unused
5764
5765 2002-10-21  John Levon  <levon@movementarian.org>
5766
5767         * BufferView.h:
5768         * BufferView.C:
5769         * BufferView_pimpl.h:
5770         * BufferView_pimpl.C: fix mouse wheel handling based on
5771           patch from Darren Freeman
5772
5773 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5774
5775         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5776
5777 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5778
5779         * lyxlength.C (inPixels): Fix hanfling of negative length.
5780         Fix LyXLength::MU case.
5781
5782 2002-10-16  John Levon  <levon@movementarian.org>
5783
5784         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5785
5786 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5787
5788         * converter.C (view): add support for $$i (file name) and $$p
5789         (file path) for the viewer command. If $$i is not specified, then
5790         it is appended to the command (for compatibility with old syntax)
5791
5792 2002-10-14  Juergen Vigna  <jug@sad.it>
5793
5794         * undo_funcs.C (textHandleUndo): alter the order in which the
5795         new undopar is added to the LyXText, as we have to set first
5796         the right prev/next and then add it as otherwise the rebuild of
5797         LyXText is not correct. Also reset the cursor to the right paragraph,
5798         with this IMO we could remove the hack in "redoParagraphs()".
5799
5800 2002-10-09  Angus Leeming  <leeming@lyx.org>
5801
5802         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5803         to turn off an optimisation if a new inset is to be inserted.
5804
5805 2002-10-11 André Pönitz <poenitz@gmx.net>
5806
5807         * lyxtext.h: make some functions public to allow access
5808         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5809
5810 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5811
5812         * text3.C (dispatch): when changing layout, avoid an infinite loop
5813         [bug #652]
5814
5815 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5816
5817         * lyxrc.C (read): treat a viewer or converter command of "none" as
5818         if it were empty.
5819
5820         * MenuBackend.C (expandFormats): for an update, also allow the
5821         formats that are not viewable
5822
5823         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5824         script if it is newer than the lyxrc.defaults in user directory
5825
5826 2002-10-07 André Pönitz <poenitz@gmx.net>
5827
5828         * text.C: Vitaly Lipatov's small i18n fix
5829
5830 2002-09-25  Angus Leeming  <leeming@lyx.org>
5831
5832         * ispell.h: doxygen fix.
5833
5834 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5835
5836         * buffer.h (readFile): Add a new argument to the method, to allow
5837         reading of old-format templates.
5838
5839 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5840
5841         * toc.C (getTocList): Get TOC from InsetWrap.
5842
5843 2002-09-16  John Levon  <levon@movementarian.org>
5844
5845         * lyxfunc.C: check tabular for cut/copy too
5846
5847 2002-09-12  John Levon  <levon@movementarian.org>
5848
5849         * LyXAction.C: tidy
5850
5851         * factory.h:
5852         * factory.C: add header
5853
5854         * paragraph_funcs.h:
5855         * paragraph_funcs.C: cleanup
5856
5857 2002-09-11  John Levon  <levon@movementarian.org>
5858
5859         * PrinterParams.h: odd/even default to true
5860
5861 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5862
5863         * PrinterParams.h: update printer parameters for new xforms dialog
5864
5865 2002-09-11  Angus Leeming  <leeming@lyx.org>
5866
5867         * lyxserver.C (read_ready): re-write to make it more transparent
5868         and to make it work in coherent fashion under Tru64 Unix.
5869
5870 2002-09-11  André Pönitz <poenitz@gmx.net>
5871
5872         * commandtags.h:
5873         * LyXAction.C:
5874         * text3.C: implement LFUN_WORDSEL
5875
5876 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5877
5878         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5879         make floatlist_ a boost::shared_ptr<FloatList>
5880
5881         * lyxtextclass.C: include FloatList.h
5882         (LyXTextClass): initialize floatlist_
5883         (TextClassTags): add TC_NOFLOAT
5884         (Read): match "nofloat" to TC_NOFLOAT and use it.
5885         (readFloat): modify call to floatlist_
5886         (floats): ditto
5887         (floats): ditto
5888
5889         * FloatList.[Ch] (FloatList): remove commented out float
5890         initialization.
5891         (erase): new function
5892
5893 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5894
5895         * MenuBackend.C (expandToc): fix crash when there is no document
5896         open
5897
5898 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5899
5900         * many files: Add insetwrap.
5901
5902 2002-09-09  John Levon  <levon@movementarian.org>
5903
5904         * text2.C: remove confusing and awkward depth wraparound
5905
5906 2002-09-09  John Levon  <levon@movementarian.org>
5907
5908         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5909
5910         * buffer.h:
5911         * buffer.C: remove getIncludeonlyList()
5912
5913         * paragraph.C:
5914         * lyxfunc.C: remove headers
5915
5916 2002-09-09  Juergen Vigna  <jug@sad.it>
5917
5918         * text.C (getColumnNearX): fix form Michael this is most
5919         probably a cut&paste bug.
5920
5921 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5922
5923         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5924
5925         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5926         references, ws changes.
5927
5928         * text2.C (init): update counters after init
5929         (insertParagraph): no need to set counter on idividual paragraphs.
5930         (setCounter): access the counters object in the textclass object
5931         on in the buffer object.
5932         (updateCounters): ditto
5933
5934         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5935         shared_ptr<Counters> to avoid loading counters.h in all
5936         compilation units.
5937         (LyXTextClass): initialize ctrs_
5938         (TextClassTags): add TC_COUNTER, and ...
5939         (Read): use it here.
5940         (CounterTags): new tags
5941         (readCounter): new function
5942         (counters): new funtion
5943         (defaultLayoutName): return a const reference
5944
5945         * counters.C (Counters): remove contructor
5946         (newCounter): remove a couple of unneeded statements.
5947         (newCounter): simplify a bit.
5948         (numberLabel): some small formatting changes.
5949
5950         * buffer.[Ch]: remove all traces of counters, move the Counters
5951         object to the LyXTextClass.
5952
5953 2002-09-06  Alain Castera  <castera@in2p3.fr>
5954
5955         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5956         package to set the horizontal alignment on fixed width columns.
5957
5958         * lyx_sty.C:
5959         * lyx_sty.h: added tabularnewline macro def.
5960
5961         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5962
5963 2002-09-06  John Levon  <levon@movementarian.org>
5964
5965         * LyXAction.C: tooltips for sub/superscript
5966
5967         * MenuBackend.C: a bit more verbose
5968
5969         * lyxfunc.C: tiny clean
5970
5971         * undo_funcs.C: document undo_frozen
5972
5973 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5974
5975         * counters.C (Counters): add missing algorithm counter.
5976
5977         * text2.C (setCounter): lookup the counter with layouts latexname
5978         instead of by section number.
5979         (setCounter): use a hackish way to lookup the correct enum
5980         counter.
5981         a float name->type change
5982         reset enum couners with counter name directly instead of depth value.
5983
5984         * counters.C (Counters): remove the push_backs, change to use the
5985         float type not the float name.
5986         (labelItem): remove unused string, float name->type change
5987
5988         * counters.h: don't include vector, loose the enums and sects vectors
5989
5990 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5991
5992         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5993         (Read): add float->TC_FLOAT to textclassTags
5994         (Read): and handle it in the switch
5995         (readFloat): new function
5996
5997         * FloatList.C (FloatList): comment out the hardcoded float
5998         definitions.
5999
6000         * lyxlayout.h: ws change.
6001
6002 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6003
6004         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6005
6006 2002-09-03  Angus Leeming  <leeming@lyx.org>
6007
6008         * BufferView_pimpl.h: qualified name is not allowed in member
6009         declaration: WorkArea & Pimpl::workarea() const;
6010
6011         * factory.C: added using std::endl directive.
6012
6013         * text3.C: added using std::find and std::vector directives.
6014
6015 2002-08-29  André Pönitz <poenitz@gmx.net>
6016
6017         * lyxtext.h:
6018         * text2.C: remove unused member number_of_rows
6019
6020         * Makefile.am:
6021         * BufferView2.C: remove file, move contents to...
6022         * BufferView.C: ... here
6023
6024         * BufferView_pimpl.C:
6025         * factory.C: move more inset creation to factory
6026
6027         * vspace.C: avoid direct usage of LyXText, ws changes
6028
6029         * BufferView.[Ch]:
6030                 don't provide direct access to WorkArea, use two simple
6031                 acessors haveSelction() and workHeight() instead
6032
6033
6034 2002-08-29  John Levon  <levon@movementarian.org>
6035
6036         * BufferView_pimpl.C (dispatch): do not continue when
6037           no buffer
6038
6039 2002-08-28  André Pönitz <poenitz@gmx.net>
6040
6041         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6042
6043         * BufferView.h:
6044         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6045
6046 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6047
6048         * buffer.C: increment LYX_FORMAT to 221
6049
6050         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6051         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6052
6053         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6054
6055         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6056
6057 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6058
6059         * factory.C (createInset): use LyXTextClass::floats
6060
6061         * MenuBackend.C (expandFloatListInsert):
6062         (expandFloatInsert):
6063         (expandToc):
6064
6065         * text2.C (setCounter):
6066
6067         * LaTeXFeatures.C (useFloat):
6068         (getFloatDefinitions):
6069
6070         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6071
6072         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6073         floatlist_, with accessor floats().
6074
6075         * FloatList.h: remove global FloatList
6076
6077 2002-08-26  André Pönitz <poenitz@gmx.net>
6078
6079         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6080
6081         * BufferView.h:
6082         * BufferView2.C:
6083         * BufferView_pimpl.C:
6084         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6085
6086 2002-08-25  John Levon  <levon@movementarian.org>
6087
6088         * LyXAction.C: fix margin note description
6089
6090 2002-08-24  John Levon  <levon@movementarian.org>
6091
6092         * buffer.C:
6093         * bufferlist.C:
6094         * bufferview_funcs.C:
6095         * lyxfont.C:
6096         * undo_funcs.C: cleanups
6097
6098         * lyxfunc.C: disable CUT/COPY when no selection
6099
6100 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6101
6102         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6103         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6104
6105         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6106         Add backward compatibility to "mono", "gray" and "no".
6107
6108 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6109
6110         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6111         (and file_format >= 200).
6112
6113 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6114
6115         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6116
6117 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6118
6119         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6120
6121 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6122
6123         * BufferView_pimpl.C:
6124         * LyXAction.C:
6125         * buffer.C:
6126         * commandtags.h:
6127         * lyxfunc.C:
6128         * paragraph.[Ch]:
6129         * text2.C:
6130         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6131         inset and code to make it  work with the paragraph code. The inset
6132         can be anywhere in the paragraph, but will only do the expected
6133         thing in LaTeX if the layout file contains the parameter line
6134                         OptionalArgs    1
6135         (or more generally, a nonzero value) for that layout.
6136
6137 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6138
6139         * paragraph.h: remove the declaration of undefined counters class
6140         function.
6141
6142 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6143
6144         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6145         Dr. Richard Hawkins.
6146
6147 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6148
6149         * paragraph_funcs.h: remove some unneeded includes
6150
6151         * text.C (backspace): pasteParagraph now in global scipe
6152
6153         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6154         (pasteSelection): ditto
6155
6156         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6157         * paragraph_funcs.C (pasteParagraph): ... here
6158
6159 2002-08-20  André Pönitz <poenitz@gmx.net>
6160
6161         * commandtags.h: new LFUNs for swapping/copying table row/colums
6162
6163         * LyXAction.C:
6164         * lyxfunc.C: support for new lfuns
6165
6166 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6167
6168         * tabular.C:
6169         * buffer.[Ch]: remove NO_COMPABILITY stuff
6170
6171 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6172
6173         * boost.C (throw_exception): new file, with helper function for
6174         boost compiled without exceptions.
6175
6176         * paragraph.h:
6177         * lyxlength.C:
6178         * buffer.C:
6179         * ParameterStruct.h:
6180         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6181
6182         * bufferlist.C (emergencyWriteAll): use boost bind
6183
6184         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6185
6186         * text.C: include paragraph_funcs.h
6187         (breakParagraph): breakParagraph is now in global scope
6188
6189         * paragraph_funcs.[Ch]: new files
6190
6191         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6192         global scope
6193
6194         * buffer.C: include paragraph_funcs.h
6195         (insertStringAsLines): breakParagraph is now in global scope
6196
6197         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6198         paragraph_funcs.C
6199
6200         * CutAndPaste.C: include paragraph_funcs.h
6201         (cutSelection): breakParagraphConservative is now in global scope
6202         (pasteSelection): ditto
6203
6204         * buffer.h: declare oprator== and operator!= for
6205         Buffer::inset_iterator
6206
6207         * bufferlist.C (emergencyWrite): don't use fmt(...)
6208
6209         * text3.C: add using std::endl
6210
6211         * BufferView.C (moveCursorUpdate): remove default arg
6212
6213 2002-08-20  André Pönitz <poenitz@gmx.net>
6214
6215         * buffer.[Ch]: move inline functions to .C
6216
6217         * BufferView2.C:
6218         * BufferView_pimpl.C:
6219         * text.C:
6220         * buffer.[Ch]: use improved inset_iterator
6221
6222         * buffer.C:
6223         * paragraph.[Ch]: write one paragraph at a time
6224
6225 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6226
6227         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6228         style if style is not specified.
6229
6230 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6231
6232         * text2.C (setCounter): when searching for right label for a
6233         caption, make sure to recurse to parent insets (so that a caption
6234         in a minipage in a figure float works) (bug #568)
6235
6236 2002-08-20  André Pönitz <poenitz@gmx.net>
6237
6238         * text3.C: new file for LyXText::dispatch() and helpers
6239
6240         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6241
6242         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6243
6244 2002-08-19  André Pönitz <poenitz@gmx.net>
6245
6246         * lyxtext.h:
6247         * text.C: new LyXText::dispatch()
6248
6249         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6250
6251 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6252
6253         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6254
6255         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6256         Hebrew text.
6257
6258 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6259
6260         * Makefile.am: use $(variables) instead of @substitutions@
6261
6262 2002-08-15  André Pönitz <poenitz@gmx.net>
6263
6264         * lyxfunc.C:
6265         * BufferView_pimpl.C: streamlining mathed <-> outer world
6266         interaction
6267
6268         * commandtags.h:
6269         * LyXAction.C: remove unused LFUN_MATH
6270
6271 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6272
6273         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6274
6275 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6276
6277         * paragraph.C (Paragraph): reformat a bit
6278         (cutIntoMinibuffer): use builtin InsetList function instad of
6279         doing it manually.
6280         (getInset): ditto
6281
6282         * buffer.C: include boost/bind.hpp, add using std::for_each
6283         (writeFileAscii): use ParagraphList iterators
6284         (validate): use for_each for validate traversal of paragraphs
6285         (getBibkeyList): use ParagraphList iterators
6286         (resizeInsets): use for_each to resizeInsetsLyXText for all
6287         paragraphs.
6288         (getParFromID): use ParagraphList iterators
6289
6290         * BufferView2.C (lockInset): use paragraph list and iterators
6291
6292 2002-08-14  John Levon  <levon@movementarian.org>
6293
6294         * lyxserver.C: remove spurious xforms include
6295
6296 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6297
6298         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6299
6300 2002-08-13  André Pönitz <poenitz@gmx.net>
6301
6302         * LyXAction.[Ch]:
6303         * lyxfunc.C: further cleaning
6304
6305 2002-08-13  André Pönitz <poenitz@gmx.net>
6306
6307         * funcrequest.h: new constructor
6308
6309         * funcrequest.C: move stuff here from .h
6310
6311         * Makefile.am:
6312         * BufferView_pimpl.C:
6313         * LyXAction.C:
6314         * toc.C:
6315         * lyxfunc.C: subsequent changes
6316
6317         * lyxfunc.h: new view() member function
6318
6319         * lyxfunc.C: subsequent changes
6320
6321 2002-08-13  Angus Leeming  <leeming@lyx.org>
6322
6323         * BufferView2.C:
6324         * BufferView_pimpl.C:
6325         * buffer.C:
6326         * converter.C:
6327         * importer.C:
6328         * lyxfunc.C:
6329         * lyxvc.C:
6330         * toc.C:
6331         * vc-backend.C:
6332         changes due to the changed LyXView interface that now returns references
6333         to member variables not pointers.
6334
6335 2002-08-13  Angus Leeming  <leeming@lyx.org>
6336
6337         * WordLangTuple (word, lang_code): return references to strings,
6338         not strings.
6339
6340         * BufferView.h:
6341         * SpellBase.h:
6342         * lyxtext.h: forward-declare WordLangTuple.
6343
6344         * BufferView2.C:
6345         * ispell.C:
6346         * pspell.C:
6347         * text.C: #include "WordLangTuple.h".
6348
6349         * lyxtext.h:
6350         * text.C: (selectNextWordToSpellcheck): constify return type.
6351
6352 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6353
6354         * buffer.C:
6355         * buffer.h:
6356         * lyxtext.h:
6357         * paragraph.C:
6358         * paragraph_pimpl.h:
6359         * text.C:
6360         * text2.C:
6361         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6362         suggested by Angus.
6363         Made updateCounter always count from start of buffer, and removed
6364         second argument (par).
6365         Reverted floats number display to '#'. Perhaps I'll try again when the
6366         code base is sanitized a bit.
6367
6368 2002-08-12  Angus Leeming  <leeming@lyx.org>
6369
6370         * buffer.[Ch] (getLabelList): constify.
6371
6372 2002-08-07  André Pönitz <poenitz@gmx.net>
6373
6374         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6375
6376         * funcrequest.h: extension to keep mouse (x,y) position
6377
6378 2002-08-12  Juergen Vigna  <jug@sad.it>
6379
6380         * BufferView2.C (insertErrors): forbid undo when inserting error
6381         insets.
6382
6383         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6384
6385 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6386
6387         * ParagraphList.[Ch]: new files
6388
6389         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6390
6391         * BufferView2.C (lockInset): ParagraphList changes
6392         * toc.C: ditto
6393         * text2.C: ditto
6394         * bufferlist.C: ditto
6395         * buffer.h: ditto
6396         * buffer.C: ditto
6397
6398 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6399
6400         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6401         unused class variable counter_,
6402
6403         * paragraph.[Ch] (getFirstCounter): delete unused function
6404
6405         * counters.C: include LAssert.h
6406         (reset): add a new function with no arg, change other version to
6407         not have def. arg and to not allow empty arg.
6408
6409         * text2.C (setCounter): remove empty arg from call to Counters::reset
6410
6411 2002-08-11  John Levon  <levon@movementarian.org>
6412
6413         * Makefile.am: add WordLangTuple.h
6414
6415 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6416
6417         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6418         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6419
6420         * insets/insettext.C: InsetList changes
6421
6422         * graphics/GraphicsSupport.C (operator()): InsetList changes
6423
6424         * toc.C (getTocList): InsetList changes
6425
6426         * paragraph_pimpl.[Ch]: InsetList changes
6427
6428         * paragraph.[Ch]: InsetList changes
6429
6430         * buffer.C (inset_iterator): InsetList changes
6431         (setParagraph): ditto
6432         * buffer.h (inset_iterator): ditto
6433         * iterators.C (operator++): ditto
6434         * iterators.h: ditto
6435
6436         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6437
6438         * InsetList.[Ch]: new files, most InsetList handling moved out of
6439         paragraph.C.
6440
6441         * BufferView2.C (removeAutoInsets): InsetList changes
6442         (lockInset): ditto
6443         (ChangeInsets): ditto
6444
6445 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6446
6447         * paragraph_pimpl.h (empty): new function
6448
6449         * paragraph.[Ch] (empty): new function
6450
6451         * other files: use the new Paragraph::empty function
6452
6453 2002-08-09  John Levon  <levon@movementarian.org>
6454
6455         * lyxtext.h: remove unused refresh_height
6456
6457 2002-08-09  John Levon  <levon@movementarian.org>
6458
6459         * Makefile.am:
6460         * sgml.h:
6461         * sgml.C:
6462         * buffer.C:
6463         * paragraph.h:
6464         * paragraph.C: move sgml char escaping out of paragraph
6465
6466         * paragraph.h:
6467         * paragraph.C: remove id setter
6468
6469         * buffer.C:
6470         * paragraph.C:
6471         * paragraph_pimpl.C: remove dead tex_code_break_column
6472
6473         * bufferview_funcs.C: small cleanup
6474
6475         * lyxfunc.C: remove dead proto
6476
6477         * lyxtext.h: make some stuff private. Remove some dead stuff.
6478
6479         * lyxgluelength.C: make as[LyX]String() readable
6480
6481 2002-08-08  John Levon  <levon@movementarian.org>
6482
6483         * LyXAction.h:
6484         * LyXAction.C:
6485         * MenuBackend.C:
6486         * ToolbarDefaults.C:
6487         * lyxfunc.C:
6488         * lyxrc.C:
6489         * toc.C: lyxaction cleanup
6490
6491 2002-08-08  John Levon  <levon@movementarian.org>
6492
6493         * BufferView2.C: small cleanup
6494
6495         * lyxfind.h:
6496         * lyxfind.C: move unnecessary header into the .C
6497
6498 2002-08-08  John Levon  <levon@movementarian.org>
6499
6500         * funcrequest.h: just tedious nonsense
6501
6502         * lyx_main.h:
6503         * lyx_main.C: cleanups
6504
6505         * buffer.C:
6506         * vspace.C: remove dead header lyx_main.h
6507
6508 2002-08-07  Angus Leeming  <leeming@lyx.org>
6509
6510         * Paragraph.[Ch]:
6511         * paragraph_pimpl.h:
6512         Forward declare class Counters in paragraph.h by moving the ctrs member
6513         variable into Paragraph::Pimpl.
6514         (counters): new method, returning a reference to pimpl_->ctrs.
6515
6516         * text2.C: ensuing changes.
6517
6518 2002-08-07  John Levon  <levon@movementarian.org>
6519
6520         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6521
6522         * BufferView_pimpl.C: announce X selection on double/triple
6523           click
6524
6525         * lyx_main.C: use correct bool in batch dispatch
6526
6527         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6528
6529 2002-08-07  André Pönitz <poenitz@gmx.net>
6530
6531         * funcrequest.h: new class to wrap a kb_action and its argument
6532
6533         * BufferView.[Ch]:
6534         * BufferView_pimpl[Ch]:
6535         * LaTeX.C:
6536         * LyXAction.[Ch]:
6537         * lyxfunc.[Ch]:
6538         * lyxrc.C: subsequent changes
6539
6540
6541 2002-08-07  John Levon  <levon@movementarian.org>
6542
6543         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6544           document options change.
6545
6546 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6547
6548         * counters.[Ch]
6549         * text2.C
6550         * paragraph.[Ch]
6551         * makefile.am: move counters functionality over from
6552         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6553
6554 2002-08-06  John Levon  <levon@movementarian.org>
6555
6556         * WordLangTuple.h: new file for word + language code tuple
6557
6558         * SpellBase.h:
6559         * pspell.h:
6560         * pspell.C:
6561         * ispell.h:
6562         * ispell.C:
6563         * lyxtext.h:
6564         * text.C:
6565         * text2.C:
6566         * BufferView.h:
6567         * BufferView2.C: use WordLangTuple
6568
6569         * layout.h:
6570         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6571
6572 2002-08-06  John Levon  <levon@movementarian.org>
6573
6574         * lyx_main.C: fix cmdline batch handling
6575
6576 2002-08-06  André Pönitz <poenitz@gmx.net>
6577
6578         * lyxrc.C: set default for show_banner to true
6579
6580 2002-08-06  John Levon  <levon@movementarian.org>
6581
6582         * pspell.C: fix a crash, and allow new aspell to work
6583
6584 2002-08-06  John Levon  <levon@movementarian.org>
6585
6586         * lyxfunc.C:
6587         * kbmap.C: small cleanup
6588
6589         * vspace.h:
6590         * vspace.C: add const
6591
6592 2002-08-05  John Levon  <levon@movementarian.org>
6593
6594         * LyXAction.C: back to tabular-insert
6595
6596 2002-08-04  John Levon  <levon@movementarian.org>
6597
6598         * BufferView.h:
6599         * BufferView.C: cosmetic change
6600
6601         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6602
6603         * bufferlist.C:
6604         * buffer.h:
6605         * buffer.C:
6606         * lyxcb.h:
6607         * lyxcb.C:
6608         * lyxserver.C:
6609         * lyxvc.C:
6610         * vc-backend.C:
6611         * BufferView2.C: purge all "Lyx" not "LyX" strings
6612
6613         * lyxcursor.h:
6614         * lyxcursor.C: attempt to add some documentation
6615
6616         * lyxfunc.C:
6617         * commandtags.h:
6618         * LyXAction.C:
6619         * ToolbarDefaults.C:
6620         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6621           merge with LFUN_TABULAR_INSERT
6622
6623         * Makefile.am:
6624         * SpellBase.h:
6625         * ispell.h:
6626         * ispell.C:
6627         * pspell.h:
6628         * pspell.C: split up i/pspell implementations into separate
6629           files, many cleanups
6630
6631         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6632
6633         * text2.C: some cleanup
6634
6635         * lyxfunc.C: don't check for isp_command == "none" any more, it
6636           didn't make any sense
6637
6638 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6639
6640         * counters.[Ch]
6641         * text2.C
6642         * paragraph.[Ch]
6643         * makefile.am: move counters functionality over
6644         from text2.C/paragraph.[Ch] to counters.[Ch], and
6645         make proper C++.
6646 2002-08-02  John Levon  <levon@movementarian.org>
6647
6648         * buffer.C: s/lyxconvert/lyx2lyx/
6649
6650 2002-08-02  Angus Leeming  <leeming@lyx.org>
6651
6652         * lyxlex.C: revert John's change as it breaks reading of the user
6653         preamble.
6654
6655 2002-08-02  Angus Leeming  <leeming@lyx.org>
6656
6657         * importer.C (Import):
6658         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6659         changes due to LyXView::view() now returning a boost::shared_ptr.
6660
6661 2002-08-02  John Levon  <levon@movementarian.org>
6662
6663         * lyxlex.C: small cleanup
6664
6665 2002-08-02  John Levon  <levon@movementarian.org>
6666
6667         * text2.C (status): small cleanup, no logic change
6668
6669 2002-08-01  John Levon  <levon@movementarian.org>
6670
6671         * buffer.h:
6672         * buffer.C (writeFile): don't output alerts, caller
6673           handles this
6674
6675         * bufferlist.C:
6676         * lyx_cb.C: from above
6677
6678         * lyxfunc.C: allow to open non-existent files
6679
6680 2002-07-31  John Levon  <levon@movementarian.org>
6681
6682         * lyxserver.C: don't let incidental errors get
6683           in the way (errno)
6684
6685 2002-07-30  John Levon  <levon@movementarian.org>
6686
6687         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6688
6689 2002-07-30  John Levon  <levon@movementarian.org>
6690
6691         * lyxserver.h:
6692         * lyxserver.C: remove I/O callback too
6693
6694 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6695
6696         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6697         log.
6698
6699 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6700
6701         * many files: strip,frontStrip -> trim,ltrim,rtrim
6702
6703 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6704
6705         * PrinterParams.h: remove extern containsOnly, and include
6706         support/lstrings.h instead.
6707
6708         * LaTeX.C (scanAuxFile): modify because of strip changes
6709         (deplog): ditto
6710         * buffer.C (makeLaTeXFile): ditto
6711         * bufferparams.C (writeFile): ditt
6712         * lyxfont.C (stateText): ditto
6713         * lyxserver.C (read_ready): ditto
6714         * vc-backend.C (scanMaster): ditto
6715
6716         * BufferView_pimpl.h: ws changes
6717
6718         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6719
6720 2002-07-26  André Pönitz <poenitz@gmx.net>
6721
6722         * kb_sequence.C: remove unnedred usings
6723
6724 2002-07-26  Juergen Vigna  <jug@sad.it>
6725
6726         * lyxfind.C (LyXReplace): we have to check better if the returned
6727         text is not of theLockingInset()->getLockingInset().
6728
6729 2002-07-25  Juergen Vigna  <jug@sad.it>
6730
6731         * lyxfind.C (LyXReplace): don't replace if we don't get the
6732         right LyXText.
6733
6734         * undo_funcs.C (createUndo): remove debugging code.
6735
6736 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6737
6738         * buffer.C (parseSingleLyXformat2Token): Use default placement
6739         when reading old floats.
6740
6741         * FloatList.C (FloatList): Change the default placement of figure
6742         and tables to "tbp".
6743
6744 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6745
6746         * MenuBackend.C: using std::max
6747
6748 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6749
6750         * MenuBackend.C (expandToc):
6751         (expandToc2): code moved from xforms menu frontend. It is now
6752         generic and TOCs are transparent to menu frontends.
6753
6754 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6755
6756         * toc.C (getTocList): protect against buf=0
6757
6758         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6759         Menu as first parameter. Now, this calls itself recursively to
6760         expand a whole tree (this will be useful for TOC handling)
6761         (expandFloatInsert): remove 'wide' version of floats
6762
6763         * MenuBackend.h (submenuname): returns the name of the submenu.
6764         (submenu): returns the submenu itself, provided it has been
6765         created by MenuBackend::expand
6766
6767 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6768
6769         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6770         insets which have noFontChange == true. (bug #172)
6771
6772 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6773
6774         * BufferView_pimpl.C: add connection objects and use them...
6775         (Pimpl): here.
6776
6777 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6778
6779         * MenuBackend.C (expandLastfiles):
6780         (expandDocuments):
6781         (expandFormats):
6782         (expandFloatListInsert):
6783         (expandFloatInsert):
6784         (expand): split expand in parts
6785
6786 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6787
6788         * lyx_gui.C: use lyx_gui::exit()
6789
6790 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6791
6792         * LyXAction.C: show the failing pseudo action
6793
6794 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6795
6796         * buffer.C (readFile): Run the lyxconvert script in order to read
6797         old files.
6798
6799 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6800
6801         * LyXAction.C:
6802         * commandtags.h:
6803         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6804
6805 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6806
6807         * LyXAction.C:
6808         * commandtags.h:
6809         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6810
6811 2002-07-22  Herbert Voss  <voss@lyx.org>
6812
6813         * lengthcommon.C:
6814         * lyxlength.[Ch]: add support for the vertical lengths
6815
6816 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6817
6818         * toc.[Ch]: std:: fixes
6819
6820 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6821
6822         * lyxrc.C: do not include lyx_main.h
6823
6824         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6825         for layouts
6826
6827         * lyxrc.C:
6828         * encoding.C:
6829         * bufferlist.C:
6830         * BufferView2.C: include "lyxlex.h"
6831
6832         * tabular.h:
6833         * bufferparams.h: do not #include "lyxlex.h"
6834
6835         * lyxtextclasslist.C (Add): remove method
6836         (classlist): renamed to classlist_
6837
6838         * paragraph_pimpl.C:
6839         * paragraph.C:
6840         * text2.C:
6841         * CutAndPaste.C:
6842         * bufferview_funcs.C:
6843         * bufferlist.C:
6844         * text.C:
6845         * LaTeXFeatures.C:
6846         * buffer.C:
6847         * toc.C (getTocList): use BufferParams::getLyXTextClass
6848
6849         * toc.C (getTocList): use InsetFloat::addToToc
6850
6851         * toc.[Ch]: new files, containing helper functions to handle table
6852         of contents
6853
6854         * lyxfunc.C (dispatch): no need to remove spaces around command
6855         given as a string
6856         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6857         first command of the sequence; it is not very clever, but I do not
6858         have a better idea, actually
6859
6860         * LyXAction.C (LookupFunc): make sure to remove space at the
6861         beginning and end of the command
6862
6863 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6864
6865         * MenuBackend.C (getMenubar): new method: return the menubar of
6866         this menu set
6867         (read): treat differently reading of menu and menubar (in
6868         particular, the menubar has no name now)
6869         (Menu::menubar): remove
6870
6871         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6872         saving is finished
6873
6874 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6875
6876         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6877         a bibitem inset in a RTL paragraph.
6878
6879 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6880
6881         * paragraph_pimpl.C: constify
6882
6883         * BufferView_pimpl.C:
6884         * LaTeX.C:
6885         * lyxfunc.C: fix dispatch in a nicer way
6886
6887 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6888
6889         * lyxfunc.C (dispatch):
6890         * BufferView_pimpl.C:
6891         * BufferView_pimpl.h:
6892         * BufferView.C:
6893         * BufferView.h: rename Dispatch() to dispatch()
6894
6895         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6896
6897         * lyxlayout.C (Read): honor DependsOn tag
6898
6899         * lyxlayout.[Ch] (depends_on): new method
6900
6901         * version.C.in: update lyx_docversion
6902
6903         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6904
6905         * paragraph.C (validate): remove from here...
6906         * paragraph_pimpl.C (validate): ... and move here
6907         (isTextAt): make it const
6908
6909         * buffer.C (getLists): ws cleanup
6910
6911 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6912
6913         * language.C (read): Use iso8859-1 encoding in latex_lang
6914         (this prevents LyX from crashing when using iso10646-1 encoding).
6915
6916 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6917
6918         * text2.C (toggleInset): if cursor is inside an inset, close the
6919         inset and leave cursor _after_ it
6920
6921 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6922
6923         * lyxfunc.C: move minibuffer completion handling out of here
6924
6925 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6926
6927         * BufferView_pimpl.C:
6928         * LaTeX.C: fix dispatch calls
6929
6930 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6931
6932         * text.C (drawChars): Fix Arabic text rendering.
6933
6934 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6935
6936         * LyXAction.C:
6937         * commandtags.h:
6938         * lyxfunc.C: remove message-push/pop
6939
6940         * lyxserver.C:
6941         * lyxfunc.h:
6942         * lyxfunc.C: rationalise some code by removing verboseDispatch
6943           in favour of a bool argument to dispatch()
6944
6945 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6946
6947         * lyx_main.C (init): make sure to read symlinks as absolute paths
6948
6949 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6950
6951         * lyxfunc.h:
6952         * lyxfunc.C: no need for commandshortcut to be a member
6953
6954 2002-07-15  André Pönitz <poenitz@gmx.net>
6955
6956         * converter.C: add support for $$s (scripts from lib/scripts dir)
6957         * lyx_main.C: white space
6958
6959 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6960
6961         * bufferlist.C:
6962         * lyxrc.h:
6963         * lyxrc.C: remove second exit confirmation
6964
6965 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6966
6967         * BufferView.h:
6968         * BufferView.C:
6969         * BufferView2.C:
6970         * BufferView_pimpl.h:
6971         * BufferView_pimpl.C:
6972         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6973
6974 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6975
6976         * MenuBackend.C (expand): add numeric shortcuts to document menu
6977
6978         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6979
6980 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6981
6982         * lyxfont.C (setLyXFamily):
6983         (setLyXSeries):
6984         (setLyXShape):
6985         (setLyXSize):
6986         (setLyXMisc):
6987         (lyxRead):
6988         * debug.C (value):
6989         * buffer.C (asciiParagraph): use ascii_lowercase
6990
6991 2002-07-15  Mike Fabian  <mfabian@suse.de>
6992
6993         * lyxlex_pimpl.C (search_kw):
6994         * lyxlex.C (getLongString):
6995         * converter.h (operator<):
6996         * converter.C (operator<):
6997         * buffer.C (parseSingleLyXformat2Token):
6998         (asciiParagraph):
6999         * ToolbarDefaults.C (read):
7000         * MenuBackend.C (checkShortcuts):
7001         (read):
7002         * LColor.C (getFromGUIName):
7003         (getFromLyXName): use the compare_ascii_no_case instead of
7004         compare_no_case, because in turkish, 'i' is not the lowercase
7005         version of 'I', and thus turkish locale breaks parsing of tags.
7006
7007 2002-07-16  Angus Leeming  <leeming@lyx.org>
7008
7009         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7010         now takes a Buffer const & argument.
7011
7012 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7013
7014         * BufferView.C (resize): check there's a buffer to resize
7015
7016 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7017
7018         * lyxfunc.C: remove dead code
7019
7020         * lyxserver.h:
7021         * lyxserver.C: use lyx_guii::set_read_callback
7022
7023 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7024
7025         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7026         an inset in a RTL paragraph.
7027
7028 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7029
7030         * lyxfunc.C: repaint after a font size update
7031
7032 2002-07-15  André Pönitz <poenitz@gmx.net>
7033
7034         * lyxlength.C: inBP should be able to return negative values
7035
7036 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7037
7038         * lyxfunc.C: use lyx_gui::update_fonts()
7039
7040 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7041
7042         * lyxfunc.C: use lyx_gui::update_color()
7043
7044 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7045
7046         * bufferlist.C:
7047         * lyxfunc.h:
7048         * lyxfunc.C:
7049         * lyxrc.h:
7050         * lyxrc.C: remove file->new asks for name option, and let
7051           buffer-new take an argument
7052
7053 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7054
7055         * BufferView_pimpl.C: remove unneeded extra repaint()
7056
7057 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7058
7059         * LyXAction.C: allow command-sequence with NoBuffer
7060
7061         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7062
7063 2002-07-10  Angus Leeming  <leeming@lyx.org>
7064
7065         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7066
7067 2002-07-09  Angus Leeming  <leeming@lyx.org>
7068
7069         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7070
7071 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7072
7073         * lengthcommon.h: whitespace
7074
7075         * lyxfunc.C: update scrollbar after goto paragraph
7076
7077         * lyxtext.h: factor out page break drawing, and fix it so
7078           page break/added space paints as selected nicely
7079
7080 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7081
7082         * BufferView_pimpl.C: add FIXMEs, clean up a little
7083
7084 2002-07-09  André Pönitz <poenitz@gmx.net>
7085
7086         * lyxfont.[Ch]: support for wasy symbols
7087
7088 2002-07-08  André Pönitz <poenitz@gmx.net>
7089
7090         * BufferView_pimpl.C: apply John's patch for #93.
7091
7092 2002-07-05  Angus Leeming  <leeming@lyx.org>
7093
7094         * BufferView_pimpl.C (buffer): generate previews if desired.
7095
7096         * LColor.h: add "preview" to the color enum.
7097
7098         * LColor.C (LColor): add a corresponding entry to the items array.
7099
7100         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7101         with this buffer.
7102
7103 2002-07-05  Angus Leeming  <leeming@lyx.org>
7104
7105         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7106         The body of the code is now in the method that is passed an ostream &
7107         rather than a file name.
7108         Pass an additional only_preamble parameter, useful for the forthcoming
7109         preview stuff.
7110
7111 2002-07-03  André Pönitz <poenitz@gmx.net>
7112
7113         * lyxfunc.C: simplify getStatus() a bit for math stuff
7114
7115 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7116
7117         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7118
7119 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7120
7121         * text.C (changeRegionCase): do not change case of all the
7122         document when region ends at paragraph end (bug #461)
7123
7124 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7125
7126         * paragraph.C (startTeXParParams):
7127         (endTeXParParams): add \protect when necessary
7128
7129 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7130
7131         * BufferView_pimpl.C (workAreaExpose): remove warning
7132
7133 2002-06-27  Angus Leeming  <leeming@lyx.org>
7134
7135         * Makefile.am: add lyxlayout_ptr_fwd.h.
7136
7137 2002-06-26  André Pönitz <poenitz@gmx.net>
7138
7139         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7140
7141 2002-06-25  Angus Leeming  <leeming@lyx.org>
7142
7143         * lyxfunc.C (dispatch): Comment out the call to
7144         grfx::GCache::changeDisplay. The method no longer exists now that the
7145         pixmap generation part of the graphics loader has been moved into
7146         InsetGraphics.
7147
7148 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7149
7150         * text2.C: layout as layout
7151
7152         * text.C: layout as layout
7153
7154         * tabular.C (OldFormatRead): layout as layout
7155
7156         * paragraph_pimpl.C (TeXDeeper): layout as layout
7157         (realizeFont): layout as layout
7158
7159         * paragraph.C (writeFile): layout as layout
7160         (validate): layout as layout
7161         (getFont): layout as layout
7162         (getLabelFont): layout as layout
7163         (getLayoutFont): layout as layout
7164         (breakParagraph): layout as layout
7165         (stripLeadingSpaces): layout as layout
7166         (getEndLabel): layout as layout
7167         (getMaxDepthAfter): layout as layout
7168         (applyLayout): layout as layout
7169         (TeXOnePar): layout as layout
7170         (simpleTeXOnePar): layout as layout
7171         (TeXEnvironment): layout as layout
7172         (layout): layout as layout
7173         (layout): layout as layout
7174
7175         * lyxtextclass.C (compare_name): new functor to work with
7176         shared_ptr, layout as layout
7177         (Read): layout as layout
7178         (hasLayout): layout as layout
7179         (operator): layout as layout
7180         (delete_layout): layout as layout
7181         (defaultLayout): layout as layout
7182
7183         * lyxlayout_ptr_fwd.h: new file
7184
7185         * lyxlayout.C (Read): layout as layout
7186
7187         * lyx_cb.C (MenuInsertLabel): layout as layout
7188
7189         * bufferlist.C (newFile): layout as layout
7190
7191         * buffer.C (readLyXformat2): layout as layout
7192         (parseSingleLyXformat2Token): layout as layout
7193         (insertStringAsLines): layout as layout
7194         (asciiParagraph): layout as layout
7195         (latexParagraphs): layout as layout
7196         (makeLinuxDocFile): layout as layout
7197         (simpleLinuxDocOnePar): layout as layout
7198         (makeDocBookFile): layout as layout
7199         (simpleDocBookOnePar): layout as layout
7200         (getLists): layout as layout
7201
7202         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7203
7204         * CutAndPaste.C (cutSelection): layout as layout
7205         (pasteSelection): layout as layout
7206         (SwitchLayoutsBetweenClasses): layout as layout
7207
7208         * BufferView_pimpl.C (Dispatch): layout as layout
7209         (smartQuote): layout as layout
7210
7211         * BufferView2.C (unlockInset): layout as layout
7212
7213 2002-06-24  André Pönitz <poenitz@gmx.net>
7214
7215         * lyxfunc.C: fix #487
7216
7217 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7218
7219         * lyxrc.h:
7220         * lyxrc.C:
7221         * lyxfunc.C: remove display_shortcuts, show_banner
7222
7223 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7224
7225         * Buffer_pimpl.C: oops, update on resize
7226
7227 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7228
7229         * buffer.C:
7230         * converter.C:
7231         * exporter.C:
7232         * lyxfunc.C:
7233         * BufferView.h:
7234         * BufferView.C: use repaint()
7235
7236         * BufferView_pimpl.h:
7237         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7238           as it's a clearer description. Remove superfluous
7239           redraws.
7240
7241 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7242
7243         * text.C: fix bug 488. Not ideal, but getting
7244           getWord() to work properly for the insets that
7245           matter is more difficult ...
7246
7247 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7248
7249         * BufferView_pimpl.C:
7250         * LyXAction.C:
7251         * commandtags.h:
7252         * lyxfunc.C: remove the six million index lyxfuncs to just
7253           one, and DTRT (bug 458)
7254
7255 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7256
7257         * BufferView.h:
7258         * BufferView.C:
7259         * BufferView_pimpl.h:
7260         * BufferView_pimpl.C: clean up resize() stuff,
7261           and unnecessary updateScreen()s
7262
7263 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7264
7265         * BufferView.h:
7266         * BufferView.C:
7267         * BufferView_pimpl.h:
7268         * BufferView_pimpl.C:
7269         * lyxfind.h:
7270         * lyxfind.C:
7271         * minibuffer.C: remove focus management of workarea,
7272           not needed. Use screen's greyOut()
7273
7274 2002-06-17  Herbert Voss  <voss@lyx.org>
7275
7276         * converter.C: (convert) do not post a message, when converting
7277         fails, let the calling function decide what to do in this case
7278
7279 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7280
7281         * lyxfunc.C: tidy up a little
7282
7283 2002-06-16    <alstrup@diku.dk>
7284
7285         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7286         Got rid of FORMS_H_LOCATION include. Now we are
7287         GUII.
7288
7289 2002-06-15  LyX Development team  <lyx@rilke>
7290
7291         * buffer.[Ch] (sgmlOpenTag):
7292         (sgmlCloseTag): Added support for avoiding pernicious mixed
7293         content. Return number of lines written.
7294
7295         (makeLinuxDocFile):
7296         (makeDocBookFile): Fixed calls to sgml*Tag.
7297         Simple white space clean.
7298
7299         (simpleDocBookOnePar): Simple white space clean.
7300
7301         * tabular.[Ch] (docBook): Renamed to docbook and got another
7302         argument to related with the pernicious mixed content.
7303
7304         (docbookRow): Fixed calls for docbook inset method.
7305
7306 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7307
7308         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7309         so it's X11 independent.
7310
7311         * kb*.[Ch]: ditto.
7312
7313         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7314
7315 2002-06-15  Lyx Development team  <lyx@electronia>
7316
7317         * intl.h: Renamed getTrans to getTransManager.
7318
7319 2002-06-14  Angus Leeming  <leeming@lyx.org>
7320
7321         * Makefile.am: nuke forgotten stl_string_fwd.h.
7322
7323 2002-06-12  Angus Leeming  <leeming@lyx.org>
7324
7325         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7326
7327 2002-06-13  Angus Leeming  <leeming@lyx.org>
7328
7329         * LaTeX.C:
7330         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7331
7332 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7333
7334         * kbmap.C (getiso): add support for cyrillic and greek
7335
7336 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7337
7338         * BufferView.h:
7339         * BufferView.C:
7340         * BufferView_pimpl.h:
7341         * BufferView_pimpl.C: move bogus scrolling logic
7342           to xforms
7343
7344 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7345
7346         * lyxfunc.C:
7347         * BufferView_pimpl.C: view->resize() change
7348
7349 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7350
7351         * BufferView_pimpl.C: topCursorVisible
7352           prototype change
7353
7354 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7355
7356         * Makefile.am:
7357         * lyx_gui.h:
7358         * lyx_gui.C: move to frontends/
7359
7360         * main.C:
7361         * lyx_main.h:
7362         * lyx_main.C: changes from above
7363
7364 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7365
7366         * intl.C:
7367         * intl.h:
7368         * kbmap.C:
7369         * kbsequence.C:
7370         * lyx_cb.C:
7371         * lyx_main.C: minor tidy
7372
7373 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7374
7375         * BufferView_pimpl.h:
7376         * BufferView_pimpl.C:
7377         * BufferView.h:
7378         * BufferView.C: make painter() const,
7379           remove dead code
7380
7381         * BufferView2.C: use screen() accessor
7382
7383         * lyx_main.h:
7384         * lyx_main.C: some minor cleanup
7385
7386 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7387
7388         * BufferView_pimpl.h:
7389         * BufferView_pimpl.C: remove enter/leaveView,
7390           use workHeight()
7391
7392 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7393
7394         * BufferView.h:
7395         * BufferView.C:
7396         * BufferView2.C:
7397         * BufferView_pimpl.h:
7398         * BufferView_pimpl.C: only construct screen once,
7399           rename
7400
7401         * lyxrc.C: remove pointless comment
7402
7403 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7404
7405         * BufferView.h:
7406         * BufferView.C: remove active() and belowMouse()
7407
7408         * BufferView_pimpl.h:
7409         * BufferView_pimpl.C: use workarea() not workarea_,
7410           and make it use a scoped_ptr instead
7411
7412 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7413
7414         * lyx_gui.C: add debug message on BadWindow
7415
7416 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7417
7418         * sp_spell.C: fdopen is not part of the C++ standard.
7419
7420         * paragraph.C (InsetIterator): use >= instead of ==
7421
7422 2002-06-07  Angus Leeming  <leeming@lyx.org>
7423
7424         Fixes needed to compile with Compaq cxx 6.5.
7425         * BufferView_pimpl.C:
7426         * DepTable.C:
7427         * buffer.C:
7428         * converter.C:
7429         * encoding.C:
7430         * lyx_gui.C:
7431         * lyx_main.C:
7432         * lyxtextclasslist.C:
7433         * minibuffer.C:
7434         * sp_spell.C:
7435         * tabular_funcs.C:
7436         * vc-backend.C:
7437         all c-library variables have been moved into namespace std. Wrap
7438         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7439
7440         * lyxlength.C:
7441         * tabular-old.C:
7442         * tabular.C:
7443         Add a using std::abs declaration.
7444
7445         * kbmap.h (modifier_pair):
7446         * paragraph.h (InsetTable, InsetList):
7447         * lyxfont.h (FontBits):
7448         type definition made public.
7449
7450         * bufferlist.C (emergencyWriteAll): the compiler complains that
7451         there is more than one possible lyx::class_fun template to choose from.
7452         I re-named the void specialisation as lyx::void_class_fun.
7453
7454         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7455
7456         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7457         the compiler is is unable to find tostr in write_attribute.
7458
7459 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7460
7461         * buffer.C (sgmlError): hide #warning
7462
7463 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7464
7465         * xtl/*: get rid of xtl, which is not in use anyway
7466
7467         * LyXAction.C (init):
7468         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7469         were unimplemented xtl experimentation
7470
7471 2002-06-04  André Pönitz <poenitz@gmx.net>
7472
7473         * lyxfunc.C: disable array operation on simple formulae
7474
7475 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7476
7477         * converter.C: constify a bit
7478
7479 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7480
7481         * lyx_gui.C: check xforms version correctly
7482
7483 2002-04-30  Herbert Voss  <voss@lyx.org>
7484
7485         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7486         "keep" option
7487
7488 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7489
7490         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7491           attempt to register it with a VCS)
7492
7493 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7494
7495         * lyx_main.C (init): honor variables LYX_DIR_13x and
7496         LYX_USERDIR_13x
7497
7498 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7499
7500         * buffer.h:
7501         * buffer.C:
7502         * lyx_main.C: fix a crash on bad command line,
7503           and give a useful exit status on error
7504
7505         * lyxfunc.C (doImport): allow -i lyx to work
7506
7507 2002-03-30  André Pönitz <poenitz@gmx.net>
7508
7509         * lyxfunc.C: mathed font changes
7510
7511 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7512
7513         * LaTeX.C:
7514         * importer.h:
7515         * importer.C:
7516         * lyx_sty.h:
7517         * lyx_sty.C:
7518         * lyxlex.C:
7519         * lyxrow.h:
7520         * lyxtext.h:
7521         * paragraph.h:
7522         * paragraph.C:
7523         * texrow.h:
7524         * texrow.C:
7525         * text.C:
7526         * trans_mgr.h: srcdocs, and some minor cleanups
7527
7528 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7529
7530         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7531         call getFont all the time)
7532
7533 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7534
7535         * switch from SigC signals to boost::signals
7536
7537 2002-05-29  André Pönitz <poenitz@gmx.net>
7538
7539         * paragraph_pimpl.C (getChar): don't call size() too often...
7540
7541 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7542
7543         * paragraph_pimpl.C (insertChar): do not try to update tables when
7544         appending (pos == size())
7545
7546         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7547         in order to reduce drastically the number of comparisons needed to
7548         parse a large document
7549
7550 2002-05-29  André Pönitz <poenitz@gmx.net>
7551
7552         * text.C:
7553         * text2.C:
7554         * lyxtextclass.C:
7555         * sp_pspell.h:
7556         * textclasslist.[Ch]:
7557         * sp_ispell.h: whitespace change
7558
7559 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7560
7561         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7562         lyxaction directly now.
7563
7564 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7565
7566         * trans.C:
7567         * lyxfont.C:
7568         * lyxvc.C: remove unused headers
7569
7570 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7571
7572         * Makefile.am:
7573         * buffer.h:
7574         * undostack.h:
7575         * undostack.C:
7576         * undo_funcs.h:
7577         * undo_funcs.C: some cleanups. Use shared_ptr
7578           and a template for the undo stacks.
7579
7580 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7581
7582         * BufferView_pimpl.h:
7583         * BufferView_pimpl.C:
7584         * kbmap.h:
7585         * kbmap.C:
7586         * kbsequence.h:
7587         * kbsequence.C:
7588         * lyxfunc.h:
7589         * lyxfunc.C:
7590         * text2.C: use key_state/mouse_state
7591
7592 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7593
7594         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7595         and LSubstring
7596
7597         * chset.C: change include order
7598         (loadFile): use boost regex and get rid of LRegex and LSubstring
7599
7600         * Makefile.am (BOOST_LIBS): new variable
7601         (lyx_LDADD): use it
7602
7603         * LaTeX.C: change include order.
7604         (scanAuxFile): use boost regex and get rid of LRegex and
7605         LSubstring
7606         (deplog): ditto
7607
7608 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7609
7610         * ColorHandler.h:
7611         * ColorHandler.C:
7612         * FontInfo.h:
7613         * FontInfo.C: moved to frontends/xforms/
7614
7615         * FontLoader.h:
7616         * FontLoader.C: moved into frontends for GUIIzation
7617
7618         * Makefile.am:
7619         * lyx_gui.C:
7620         * lyxfont.C:
7621         * lyxfunc.C: changes from above
7622
7623 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7624
7625         * LColor.C: remove spurious X include
7626
7627         * BufferView_pimpl.C:
7628         * Makefile.am:
7629         * font.h:
7630         * font.C:
7631         * text.C:
7632         * text2.C: move font metrics to frontends/
7633
7634 2002-05-24  Juergen Vigna  <jug@sad.it>
7635
7636         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7637         setting the undo_cursor.
7638
7639         * ParagraphParameters.h: include local includes first.
7640
7641 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7642
7643         * BufferView_pimpl.C:
7644         * BufferView_pimpl.h:
7645         * Makefile.am:
7646         * WorkArea.h:
7647         * WorkArea.C:
7648         * screen.C: move WorkArea into frontends/
7649
7650         * lyxscreen.h:
7651         * screen.C:
7652         * text.C:
7653         * BufferView.C:
7654         * BufferView2.C: move LyXScreen into frontends/
7655
7656         * lyxlookup.h:
7657         * lyxlookup.C:
7658         * lyx_gui.C: move lyxlookup into frontends/xforms/
7659
7660 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7661
7662         * BufferView2.C:
7663         * BufferView_pimpl.C:
7664         * FontLoader.C:
7665         * LyXView.h:
7666         * LyXView.C:
7667         * Makefile.am:
7668         * WorkArea.C:
7669         * XFormsView.h:
7670         * XFormsView.C:
7671         * buffer.C:
7672         * bufferlist.C:
7673         * bufferview_funcs.C:
7674         * converter.C:
7675         * importer.C:
7676         * lyx_cb.C:
7677         * lyx_gui.C:
7678         * lyx_main.C:
7679         * lyx_find.C:
7680         * lyxfunc.C:
7681         * lyxvc.C:
7682         * minibuffer.C:
7683         * text.C:
7684         * text2.C:
7685         * trans.C:
7686         * vc-backend.C: move LyX/XFormsView into frontends/
7687
7688 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7689
7690         * Makefile.am:
7691         * PainterBase.C:
7692         * PainterBase.h:
7693         * Painter.C:
7694         * Painter.h:
7695         * WorkArea.C:
7696         * WorkArea.h:
7697         * screen.C:
7698         * tabular.C:
7699         * text.C:
7700         * text2.C: move Painter to frontends/
7701
7702 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7703
7704         * buffer.C: comment out some some code that depend upon lyx_format
7705         < 220
7706
7707         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7708         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7709
7710         * buffer.h (NO_COMPABILITY): turn off compability
7711
7712         * ColorHandler.C: include scoped_array.hpp
7713
7714         * font.C: Use more specific smart_ptr header.
7715         * Painter.C: ditto
7716         * gettext.C: ditto
7717         * ShareContainer.h: ditto
7718         * lyx_main.h: ditto
7719         * kbmap.h: ditto
7720         * FontInfo.h: ditto
7721         * BufferView_pimpl.h: ditto
7722         * ColorHandler.h: ditto
7723
7724         * kbmap.C (defkey): change call to shared_ptr::reset
7725
7726 2002-05-21  Juergen Vigna  <jug@sad.it>
7727
7728         * buffer.C (insertErtContents): fix to insert ert asis if it is
7729         non empty. Skip it completely if it contains only whitespaces.
7730
7731 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7732
7733         * BufferView_pimpl.C:
7734         * BufferView2.C: clear selection on paste (bug 393)
7735
7736 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7737
7738         * DepTable.C: include ctime
7739
7740 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7741
7742         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7743
7744 2002-05-14  Juergen Vigna  <jug@sad.it>
7745
7746         * text.C (breakParagraph): fixed function to honor the keepempty
7747         layout in the right maner and also to permit the right breaking
7748         algorithm on empty or non empyt keepempty paragraphs.
7749
7750         * paragraph.C (breakParagraph): we have to check also if the par
7751         is really empty (!size()) for isempty otherwise we do the wrong
7752         paragraph break.
7753
7754 2002-05-10  Juergen Vigna  <jug@sad.it>
7755
7756         * buffer.[Ch] : The following are only changes to the ert
7757         compatibility read reading old LaTeX layout and font stuff and
7758         convert it to ERTInsets.
7759
7760         * buffer.h: added isErtInset().
7761
7762         * buffer.C (struct ErtComp): add a fromlayout bool to check
7763         if we're inside a LaTeX layout.
7764         (isErtInset): new helper function.
7765         (insertErtContents): look for other ert insets before this one
7766         and insert the contents there, so that we don't have subsequent
7767         ERT insets with nothing between them. This way we create only one
7768         inset with multiple paragraphs. Also check if we don't insert only
7769         spaces ' ' as they are ignored anyway afterwards in the .tex file
7770         so if we have only spaces we will ignore this latex part in the
7771         new file.
7772         (parseSingleLyXformat2Token \\layout): better compatibility when
7773         reading layout-latex stuff.
7774         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7775         language tag.
7776         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7777         stuff after reading the inset only get the information back from
7778         the stack.
7779
7780 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7781
7782         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7783
7784         * LaTeXFeatures.C (getBabelOptions): New method.
7785
7786 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7787
7788         * BufferView_pimpl.C (Dispatch): work around missing argument for
7789         'layout'
7790
7791 2002-05-08  Juergen Vigna  <jug@sad.it>
7792
7793         * text.C (leftMargin): handle paragraph leftindent.
7794
7795         * paragraph.C (writeFile): write the new \\leftindent tag.
7796         (validate): handle leftindent code.
7797         (TeXEnvironment): handle paragraphleftindent code again.
7798
7799         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7800
7801         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7802         for paragrap_extra indent code and new token \\leftindent.
7803         (latexParagraphs): handle the leftindent as environment.
7804
7805         * ParameterStruct.h: added leftindent support.
7806
7807         * ParagraphParameters.C (leftIndent): added support functions for
7808         the paragraph left indent.
7809
7810         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7811         more appropriate.
7812
7813 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7814
7815         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7816         inside insetERT.
7817
7818         * text.C (computeBidiTables): No bidi in insetERT.
7819
7820         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7821         in RTL documents.
7822
7823 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7824
7825         * version.C.in: pre 5
7826
7827 2002-05-02  José Matos  <jamatos@fep.up.pt>
7828         * buffer.C (makeDocBookFile): white space changes, add newline to
7829         command styles.
7830         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7831
7832         * tabular.C (docBook): fix typo.
7833
7834 2002-05-03  Juergen Vigna  <jug@sad.it>
7835
7836         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7837         change in LyXText as we can not be sure it was not freed.
7838         (drawOneRow): remove unused code.
7839
7840         * text.C (drawInset): redo the calculation of the need_break_row as
7841         it could have a row which was already freed.
7842         (draw): look at the return value of drawInset and return false if
7843         it also returned false.
7844         (paintRowText): look at the return value of draw and return false if
7845         it also returned false.
7846
7847         * lyxtext.h: added bool return type to drawInset() and draw() so that
7848         if we have a change in the row so that the rowbreak has to be redone
7849         we abort drawing as it will be called again.
7850
7851 2002-05-02  Juergen Vigna  <jug@sad.it>
7852
7853         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7854         a change in the maintext also if we're inside an inset.
7855         (Dispatch): set the cursor again after a break line and after the
7856         screen has been updated as it could be we're in a different row.
7857
7858         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7859         to set the cursor behind the pargraph with > size().
7860         (setCursor): check also for the same paragraph when checking where
7861         to put the cursor if we have a NFR inset.
7862
7863         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7864         parts of layout read further up as it still was in the wrong
7865         position.
7866
7867 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7868
7869         * screen.C (drawFromTo): change sine fullRebreak always return
7870         true.
7871
7872         * buffer.C (parseSingleLyXformat2Token): reindent some
7873
7874         * BufferView_pimpl.C (update): change since fullRebreak always
7875         return true.
7876         (Dispatch): git rid of the last hardcoded "Standard"s.
7877
7878 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7879
7880         * text2.[Ch] (fullRebreak): make it return void now that we always
7881         returned true.
7882
7883 2002-04-30  Juergen Vigna  <jug@sad.it>
7884
7885         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7886         ert compatibility check for "latex" layout.
7887
7888 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7889
7890         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7891         minipages: use col% instead of p%, and also use the current font.
7892         (makeLaTeXFile): Fix use babel condition.
7893         (parseSingleLyXformat2Token): Correct font when reading old floats.
7894
7895 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7896
7897         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7898         inserting list of floats.
7899
7900 2002-04-25  Herbert Voss  <voss@lyx.org>
7901
7902         * MenuBackend.C (expand): don't add the graphics extensions to the
7903         export menu
7904
7905 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7906
7907         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7908         non-existing layout, do not complain if it was the default layout
7909         of the original class (bug #342)
7910
7911 2002-04-24  Juergen Vigna  <jug@sad.it>
7912
7913         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7914         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7915
7916 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7917
7918         * buffer.C (getBibkeyList): If using \bibliography, return the
7919         option field with the reference itself. Enables us to provide natbib
7920         support when using \bibliography.
7921
7922 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7923
7924         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7925
7926         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7927         natbib is provided by the LaTeX class.
7928
7929 2002-04-23  Juergen Vigna  <jug@sad.it>
7930
7931         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7932         Wakeup functions.
7933
7934         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7935
7936 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7937
7938         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7939
7940         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7941         ensuremath around textordmasculine, textordfeminine and
7942         textdegree.
7943
7944 2002-04-19  Juergen Vigna  <jug@sad.it>
7945
7946         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7947         reinitializing the buffer otherwise row-dimensions may be wrong.
7948         (update): reset also the selection cursors if they do exits otherwise
7949         their x/y positions may be wrong.
7950
7951         * text2.C (cursorDown): don't enter the inset if we came from a row
7952         above and are one row over the inset.
7953
7954         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7955         really leaving an inset.
7956
7957 2002-04-18  Juergen Vigna  <jug@sad.it>
7958
7959         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7960         of the selected paragraph does not have the selected layout also if
7961         the last one had!
7962
7963         * text2.C (setLayout): fixed bug which did not change last selected
7964         paragraph.
7965
7966         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7967         changed the read and substituted \\end_float with \\end_inset!
7968
7969         * BufferView_pimpl.C (cursorPrevious):
7970         (cursorNext): fixed to make it work with rows heigher than the work
7971         area without moving the cursor only the draw of the row.
7972         (workAreaMotionNotify): fix jumping over high rows.
7973
7974 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7975
7976         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7977         Ressler.
7978
7979 2002-04-16  Juergen Vigna  <jug@sad.it>
7980
7981         * text2.C (setCursor): set also the irow().
7982         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7983         (cursorUp):
7984         (cursorDown): support for locking an inset if the x_fix value goes
7985         inside it. That way I can transverse insets too with cursor up/down.
7986
7987         * lyxrow.h: added irow helper function same as other (i) functions.
7988
7989         * BufferView_pimpl.C (cursorPrevious):
7990         (cursorNext): fixed for insets!
7991
7992 2002-04-15  Juergen Vigna  <jug@sad.it>
7993
7994         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7995         position otherwise it is wrong in some cases.
7996
7997         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7998         inside the inset before the call.
7999
8000 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8001
8002         * buffer.[Ch] (getBibkeyList): make it const.
8003
8004 2002-04-12  Juergen Vigna  <jug@sad.it>
8005
8006         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8007
8008         * text2.C (getCursorX): new helper function
8009         (setCursor): compute also ix_
8010         (setCursorFromCoordinates): set also ix.
8011
8012         * lyxcursor.h: added ix_ and helper functions.
8013
8014         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8015
8016         * buffer.C (insertStringAsLines): dont break paragraph if the this
8017         paragraph is inside an inset which does not permit it!
8018
8019         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8020         also with no chars on this paragraph.
8021         (paintRowText): only paint stuff if it's inside the workarea!
8022
8023         * paragraph.C (breakParagraph): honor keepempty flag and break the
8024         paragraph always below not above.
8025
8026         * BufferView2.C (unlockInset): update the paragraph layout on inset
8027         unlock as we changed paragraph in such a case.
8028
8029         * lyxfind.C (LyXFind): clear the former selection if not found!
8030
8031         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8032         again called in insertChar().
8033
8034         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8035         an inset which uses the whole row!
8036         (rightMargin): ditto.
8037         (insertChar): force a rebreak if we inserted an inset!
8038
8039 2002-03-28  Herbert Voss  <voss@lyx.org>
8040
8041         * lyxlength.[Ch]: add inBP() to get the right PS-point
8042         units (BigPoint). With inPixels we have rounding errors
8043
8044 2002-04-11  Juergen Vigna  <jug@sad.it>
8045
8046         * text2.C (setCursorFromCoordinates): set iy to the right value.
8047         (setCursor): add check if row->previous exists!
8048
8049         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8050         an old float_type as this was the case in the old code!
8051
8052         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8053
8054         * BufferView2.C (showLockedInsetCursor): use iy
8055         (fitLockedInsetCursor): ditto
8056
8057         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8058         locked insets as there we have the right value now.
8059
8060         * lyxcursor.C: added iy_ variable and iy functions to set to the
8061         baseline of cursor-y of the locked inset.
8062
8063         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8064         (setCursor): fixed for insets which need a full row.
8065
8066         * text.C (rowLastPrintable): don't ignore the last space when before
8067         an inset which needs a full row.
8068         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8069         as last character of a row when before a inset which needs a full row.
8070
8071 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8072
8073         * version.C.in: update date
8074
8075         * text2.C (fullRebreak): try to always return true and see what
8076         happens...
8077
8078 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8079
8080         * MenuBackend.C (expand): use Floating::listName
8081
8082         * FloatList.C (FloatList): add listName argument to the built-in
8083         floats
8084
8085         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8086         text associated with the float.
8087
8088 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8089
8090         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8091
8092 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8093
8094         * ShareContainer.h: add a couple of missing typenames.
8095
8096 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8097
8098         * lyxrc.C (getDescription): use _() correctly rather than N_().
8099
8100 2002-03-28  Herbert Voss  <voss@lyx.org>
8101
8102         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8103         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8104
8105 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8106
8107         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8108         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8109
8110 2002-03-29  Juergen Vigna  <jug@sad.it>
8111
8112         * lyxfunc.C (dispatch): add a missing fitCursor call.
8113
8114         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8115         it was scrolled by a cursor move, so return the bool status.
8116
8117         * BufferView.C (fitCursor): return the bool flag also to the outside
8118         world as this is needed.
8119
8120         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8121
8122         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8123         call the edit() as it is not needed (and wrong) IMO.
8124         (workAreaButtonPress): set the screen_first variable before evt.
8125         unlock the inset as this may change screen_first and then we have
8126         a wrong y position for the click!
8127
8128 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8129
8130         * MenuBackend.C (expand): another translation that I missed
8131
8132 2002-03-28  Juergen Vigna  <jug@sad.it>
8133
8134         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8135
8136         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8137
8138 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8139
8140         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8141
8142         * MenuBackend.C (expand): fix export/view/update when there is no
8143         document open.
8144
8145 2002-03-27  Herbert Voss  <voss@lyx.org>
8146
8147         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8148         and text%
8149
8150 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8151
8152         * bufferview_funcs.C (currentState): only show paragraph number
8153         for is DEVEL_VERSION is set.
8154
8155         * lyxfunc.C (dispatch): put warning in INFO channel
8156
8157         * MenuBackend.C (expand): translate the name of floats
8158
8159         * FloatList.C (FloatList): mark the float names for translation
8160
8161         * converter.C (convert): use LibScriptSearch
8162
8163 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8164
8165         * MenuBackend.C (defaults): fix default menu (we might as well get
8166         rid of it...)
8167
8168 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8169
8170         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8171         directory.
8172
8173 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8174
8175         * lyxvc.C: reorder includes.
8176
8177 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8178
8179         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8180           properly
8181
8182 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8183
8184         * CutAndPaste.C: change layouts earlier on paste
8185           to avoid crashing when calling getFont()
8186
8187 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8188
8189         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8190         irritating #error.
8191
8192 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8193
8194         * WorkArea.C: remove 'Pending' debug message.
8195
8196         * most files: ws cleanup
8197
8198         * buffer.[Ch]: ws changes
8199
8200         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8201
8202 2002-03-21  Juergen Vigna  <jug@sad.it>
8203
8204         * tabular.C (SetMultiColumn): collapse also the contents of the
8205         cells and set the last border right. Added a Buffer const * param.
8206
8207 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8208
8209         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8210         linking or not.
8211
8212 2002-03-19  Juergen Vigna  <jug@sad.it>
8213
8214         * text2.C (clearSelection): reset also xsel_cache.
8215
8216         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8217         where it needs to be called (John tells us to do so too :)
8218         (selectionLost): reset sel_cache.
8219
8220         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8221
8222 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8223
8224         * text2.C (setCursorIntern): put debuging code in INSETS channel
8225
8226 2002-03-19  André Pönitz <poenitz@gmx.net>
8227
8228         * lyxfunc.C: tiny whitespace change
8229
8230 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8231
8232         * ToolbarDefaults.C (init):
8233         * LyXAction.C (init):
8234         * commandtags.h:
8235         * BufferView_pimpl.C (Dispatch):
8236         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8237
8238 2002-03-19  Allan Rae  <rae@lyx.org>
8239
8240         * exporter.C (Export): removeAutoInsets before doing anything else.
8241         While I've just introduced a dependency on BufferView this really is
8242         the best place to clean the buffer otherwise you need to cleanup in
8243         a dozen places before calling export or cleanup in a dozen functions
8244         that export calls.
8245
8246         * converter.C (runLaTeX):
8247         (scanLog): Better handling of removeAutoInsets and screen updates.
8248
8249         * lyxfunc.C (dispatch): small whitespace changes
8250
8251 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8252
8253         * WorkArea.C (C_WorkAreaEvent): return a value.
8254         (event_cb): return 1 if we handled the event, 0 otherwise.
8255
8256         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8257
8258 2002-03-18  Juergen Vigna  <jug@sad.it>
8259
8260         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8261         (GetAdditionalWidth): ditto.
8262         (RightLine): ditto.
8263         (LeftLine): ditto.
8264
8265         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8266         inset if we're there actually (probably not used right now but this
8267         is the direction to go for unifying code).
8268         (paste): disable code to clear the selection.
8269
8270         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8271         inside an InsetText and move the check further up as it is in the
8272         wrong place.
8273
8274         * text2.C (pasteSelection): set a selection over the pasted text.
8275
8276 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8277
8278         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8279         and libgraphics to build on Cygwin.
8280
8281 2002-03-15  Juergen Vigna  <jug@sad.it>
8282
8283         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8284         inserting an Inset into the paragraph. I know this is not the best
8285         fix but we already use current_view in CutAndPaste so we will remove
8286         all of it's using at the same time.
8287
8288         * buffer.C (sgmlError): deactivated function till it is rewritten in
8289         the right mode, now it can create problems.
8290
8291         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8292         before accessing it.
8293
8294 2002-03-14  Juergen Vigna  <jug@sad.it>
8295
8296         * undo_funcs.C (textHandleUndo): do the right thing when updating
8297         the inset after the undo/redo.
8298
8299         * text2.C (setCursor): just some testcode for #44 not ready yet.
8300
8301         * undo_funcs.C (textHandleUndo): set the next() and previous()
8302         pointers of the paragraph to 0 before deleting otherwise we have
8303         problems with the Paragraph::[destructor].
8304
8305         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8306         on a paragraph insertion.
8307
8308 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8309
8310         * buffer.C (asciiParagraph): use += operator for char append to
8311         string.
8312
8313         * paragraph.C (getFontSettings): compare >= not just >
8314         (highestFontInRange): ditto
8315         (setFont): ditto
8316
8317 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8318
8319         * paragraph.C: change several algorithm to be more appripriate for
8320         the problem domain. This is lookip in FontList and in the InsetList.
8321
8322 2002-03-13  André Pönitz <poenitz@gmx.net>
8323
8324         * commandtags.h:
8325         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8326
8327 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8328
8329         * commandtags.h:
8330         * LyXAction.C:
8331         * lyxfunc.C:
8332         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8333
8334 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8335
8336         * Painter.C (display): anon helper function, adjust code for this
8337         change.
8338         (pixmap): remove function.
8339
8340         * Painter.h: remove private display variable.
8341
8342         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8343
8344 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8345
8346         * WorkArea.[Ch]: remove figinset_canvas cruft.
8347
8348 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8349
8350         * lyxtextclass.C (operator): add one item cache optimization.
8351
8352         * bufferlist.h: doxy changes
8353
8354         * bufferlist.C: ws changes
8355
8356         * DepTable.[Ch] (ext_exist): place const in the right spot.
8357
8358         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8359         call resizeInsets.
8360         (workAreaExpose): call resizeInsets when the with BufferView changes.
8361         (Dispatch): adjust for protectedBlank removal
8362         (specialChar): call updateInset if the insert went ok.
8363
8364         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8365         specialChar instead.
8366
8367         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8368
8369         * BufferView.h: doxy change
8370
8371         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8372
8373         * lyxtextclass.C (operator[]): remove non-const version
8374         (defaultLayout): remove non-const version
8375
8376 2002-03-12  Juergen Vigna  <jug@sad.it>
8377
8378         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8379         did resize the LyXText too.
8380
8381         * buffer.C (readLyXformat2): set layout information on newly allocated
8382         paragraphs.
8383
8384         * tabular.C (OldFormatRead): set layout information on the paragraph.
8385
8386 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8387
8388         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8389
8390 2002-03-11  Juergen Vigna  <jug@sad.it>
8391
8392         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8393         plainly wrong.
8394         (resizeCurrentBuffer): force also the insets to resize themselfes.
8395         (moveCursorUpdate): fixed up for InsetText.
8396
8397 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8398
8399         * commandtags.h:
8400         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8401         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8402         value of Dialogs::tooltipsEnabled().
8403         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8404
8405 2002-03-08  Juergen Vigna  <jug@sad.it>
8406
8407         * BufferView_pimpl.C (updateInset): update inset inside inset also
8408         if it isn't inside theLockingInset().
8409
8410 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8411
8412         * buffer.C (asciiParagraph): redo some of the word and line length
8413         handling.
8414         (getLists): look for Caption instead of caption.
8415
8416 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8417
8418         * buffer.C (Buffer): initialize niceFile to true
8419         (makeLaTeXFile):
8420         (makeLinuxDocFile):
8421         (makeDocBookFile): make sure niceFile is true on exit
8422
8423 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8424
8425         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8426
8427 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8428
8429         * LyXSendto.C: remove.
8430         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8431         * lyx_gui.C: remove now-redundant comment.
8432         * ColorHandler.h: remove forward declaration of class WorkArea.
8433         * lyxfunc.C: remove #include "WorkArea.h".
8434
8435 2002-03-07  Juergen Vigna  <jug@sad.it>
8436
8437         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8438         got moved away with the DEPM and also set the inset_owner always
8439         right which before could have been omitted.
8440
8441 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8442
8443         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8444         wanted layout is not found.
8445
8446 2002-03-07  Juergen Vigna  <jug@sad.it>
8447
8448         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8449
8450 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8451
8452         * paragraph.C (breakParagraph): use default layout not layout of
8453         prev paragraph.
8454         (Paragraph): clear ParagraphParameters.
8455
8456 2002-03-06  Juergen Vigna  <jug@sad.it>
8457
8458         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8459         otherwise it would not be a valid lenght. Fixed a special case in
8460         the minipage compatibility read where we end the document with a
8461         minipage.
8462
8463         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8464         was set as it could be 0 for InsetTexts first entry.
8465
8466 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8467
8468         * paragraph.C (writeFile): if layout is empty write out
8469         defaultLayoutName().
8470
8471         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8472         file without named layout we set layout to defaultLayoutName().
8473
8474 2002-03-06  Juergen Vigna  <jug@sad.it>
8475
8476         * CutAndPaste.C (copySelection): set layout for new paragraph.
8477
8478         * text.C (prepareToPrint): leave ERT inset left aligned
8479         (leftMargin): don't indent paragraphs inside ERT insets
8480
8481 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8482
8483         * paragraph.C (breakParagraph): dont call clear do the work manually
8484
8485         * paragraph.[Ch] (clear): remove function
8486
8487 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8488
8489         * paragraph.C (Paragraph): dont call clear, the work has already
8490         been done.
8491
8492         * lyxtextclass.C (operator): assert if n is empty
8493
8494         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8495         work manually instead.
8496
8497 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8498
8499         * BufferView_pimpl.C: protect selectionLost against text == 0
8500
8501 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8502
8503         * text.C (breakParagraph): fix a setting layout to '0' problem.
8504
8505 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8506
8507         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8508         final location of file, for the included files, and graphics.
8509
8510 2002-03-05  Juergen Vigna  <jug@sad.it>
8511
8512         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8513
8514 2002-03-04  Juergen Vigna  <jug@sad.it>
8515
8516         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8517
8518         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8519         last column of multicolumn cells.
8520         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8521
8522 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8523
8524         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8525         file if it doesn't go to a temporary file.
8526
8527         * buffer.C (sgmlOpenTag):
8528         (sgmlCloseTag):  remove extra newline insertion.
8529
8530 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8531
8532         * text.C (getRowNearY): comment out debug msg
8533
8534 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8535
8536         * text2.C: first -> first_y
8537
8538         * text.C (getRowNearY): add some attemts at a possible
8539         optimization, not working.
8540
8541         * tabular.[Ch]: add BufferParams to several function so that newly
8542         created paragraph can be initialized to he default layotu for the
8543         buffers textclass.
8544
8545         * tabular-old.C (ReadOld): add buf->params to call of Init
8546
8547         * screen.C: rename text->first to text->first_y
8548
8549         * paragraph.C (breakParagraph): always set layout in the broken
8550         paragraph
8551
8552         * lyxtextclass.C (Read): remove lowercase
8553         (hasLayout): ditto
8554         (operator): ditto
8555         (delete_layout): ditto
8556
8557         * lyxtext.h: rename first -> first_y
8558
8559         * lyxlayout.C (Read): remove lowercase
8560         (name): ditto
8561         (setName): ditto
8562         (obsoleted_by): ditto
8563
8564         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8565
8566         * buffer.C (insertErtContents): add params are to InsetERT
8567         (parseSingleLyXformat2Token): add code to check if a paragraphs
8568         layout really exist.
8569         (parseSingleLyXformat2Token): add params to several inset
8570         constructors
8571         (asciiParagraph): remove lowercase, do the layout comparisons with
8572         no_case
8573
8574         * BufferView_pimpl.C (cursorNext): first -> first_y
8575         (resizeCurrentBuffer): first -> first_y
8576         (updateScrollbar): first -> first_y
8577         (scrollCB): first -> first_y
8578         (workAreaMotionNotify): first -> first_y
8579         (workAreaButtonPress): first -> first_y
8580         (checkInsetHit): first -> first_y
8581         (cursorPrevious): first -> first_y
8582         (cursorNext): first -> first_y
8583         (Dispatch): add buffer_->params to severl inset contructors
8584
8585 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8586
8587         * lyxlayout.C (Read): remove some debug info that I forgot.
8588
8589         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8590         clean up the code slightly.
8591         (makeLinuxDocFile): ditto
8592         (makeDocBookFile): ditto
8593
8594         * text2.C: layout as string
8595
8596         * text.C: layout as string
8597
8598         * paragraph_pimpl.C: layout as string
8599
8600         * paragraph.[Ch]: layout as string
8601
8602         * lyxtextclasslist.[Ch]: layout as string
8603
8604         * lyxtextclass.[Ch]: layout as string
8605
8606         * lyxtext.h: layout as string
8607
8608         * lyxlayout.[Ch]: layout as string
8609
8610         * lyx_cb.C: layout as string
8611
8612         * bufferview_funcs.C: layout as string
8613
8614         * bufferparams.C: layout as string
8615
8616         * buffer.C: layout as string
8617
8618         * LyXView.[Ch]: layout as string
8619
8620         * LaTeXFeatures.[Ch]: layout as string
8621
8622         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8623
8624         * BufferView_pimpl.C: change current_layout to string, remove
8625         lyx::layout_type.
8626         (Dispatch):
8627         (smartQuote):
8628         (insertInset):
8629         (workAreaButtonRelease): layout as string
8630
8631         * BufferView2.C (unlockInset): adjust
8632
8633         * vspace.C (asLatexCommand): use an explict temp variable.
8634
8635 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8636
8637         * Makefile.am: use FRONTEND_*
8638
8639 2002-03-01  Juergen Vigna  <jug@sad.it>
8640
8641         * tabular.C (SetWidthOfMulticolCell): changed to something better
8642         I hope but still work in progress.
8643         (recalculateMulticolumnsOfColumn): renamed function from
8644         recalculateMulticolCells as it is more appropriate now.
8645         (SetWidthOfCell): calculate multicols better.
8646
8647 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8648
8649         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8650
8651         * lyxfunc.C (processKeySym): print sequence also if it is
8652         `deleted' (complete)
8653
8654         * kbsequence.C (print): print sequence even if it is deleted
8655         (complete would be a better word, actually).
8656
8657         * lyxfunc.C (dispatch): print complete options after a prefix key
8658
8659         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8660
8661 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8662
8663         * text2.C (setCharFont): eliminate setCharFont code duplication.
8664
8665 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8666
8667         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8668         LFUN_TABULAR_FEATURE (bug #177)
8669
8670 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8671
8672         * Makefile.am: remove figure.h
8673
8674 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8675
8676         * Bufferview_pimpl.C:
8677         * CutAndPasteC:
8678         * LaTeX.C:
8679         * LyXSendto.C:
8680         * buffer.C:
8681         * bufferlist.C:
8682         * converter.C:
8683         * language.C:
8684         * lyxfunc.C:
8685         * lyxvc.C:
8686         * paragraph.C:
8687         * text.C:
8688         * text2.C: remove #include "lyx_gui_misc.h".
8689
8690         * LaTeX.C: added #include <cstdio>
8691
8692 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8693
8694         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8695         that the paragraph following this one can have.
8696
8697         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8698
8699         * vspace.C (asLatexCommand): fix bogus gcc warning
8700
8701         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8702
8703 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8704
8705         * text2.C (setLayout): get rid of redundant code
8706
8707 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8708
8709         * text2.C (incDepth): make sure depth cannot be increased beyond
8710         reasonable values.
8711
8712 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8713
8714         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8715         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8716
8717         * PainterBase.h (image):
8718         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8719         a LyXImage const *.
8720
8721 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8722
8723         * BufferView.C:
8724         * BufferView.h:
8725         * BufferView_pimpl.C:
8726         * BufferView_pimpl.h:
8727         * LaTeXFeatures.C:
8728         * LyXAction.C:
8729         * LyXView.C:
8730         * Makefile.am:
8731         * UpdateList.h:
8732         * UpdateList.C:
8733         * buffer.C:
8734         * figure.h:
8735         * figureForm.C:
8736         * figureForm.h:
8737         * figure_form.C:
8738         * figure_form.h:
8739         * lyx_cb.C:
8740         * lyx_gui.C:
8741         * lyx_gui_misc.C:
8742         * lyxfunc.C:
8743         * sp_base.h:
8744         * sp_ispell.h:
8745         * sp_pspell.h:
8746         * sp_spell.C: remove fig inset, and the crap house of
8747           cards that follows it
8748
8749 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8750
8751         * Makefile.am:
8752         * lyxserver.C:
8753         * os2_defines.h:
8754         * os2_errortable.h:
8755         * nt_defines.h: move .h into support/
8756
8757         * vms_defines.h: remove
8758
8759         * WorkArea.C: add space in debug output
8760
8761         * text2.C:
8762         * paragraph.C:
8763         * buffer.C: add WITH_WARNINGS
8764
8765         * vc-backend.h:
8766         * vc-backend.C:
8767         * bufferlist.C: s/retrive/retrieve/, add docs
8768
8769         * vspace.h:
8770         * vspace.C:
8771         * kbmap.h:
8772         * lyxlength.h:
8773         * lyxgluelength.h:
8774         * length_common.h:
8775         * chset.h:
8776         * chset.C: add docs
8777
8778         * lyxgui.C: add ID to X error handler
8779
8780         * lyxtestclass.c: fix typo
8781
8782 2002-02-26  Juergen Vigna  <jug@sad.it>
8783
8784         * tabular_funcs.C (write_attribute): changed so that some default
8785         attributes are not written at all.
8786         (getTokenValue): set default values before trying to read the
8787         value so we have the return value always set as default if we don't
8788         find the token we search for.
8789
8790         * tabular.C (Write): write bools as bools not as strings!
8791
8792 2002-02-22  Juergen Vigna  <jug@sad.it>
8793
8794         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8795         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8796
8797         * text.C (leftMargin): don't add an indent for paragraphs inside
8798         tabular cells (fix #208).
8799
8800 2002-02-21  José Matos  <jamatos@fep.up.pt>
8801
8802         * tabular.C (docBook): fixed support for long tables.
8803
8804 2002-02-20  Juergen Vigna  <jug@sad.it>
8805
8806         * text2.C (getFont): get the drawing font of the Inset if this
8807         paragraph is inside an inset (only important for InsetERT for now).
8808
8809         * buffer.C (insertErtContents): use new lanugage params in ERT
8810         constructor.
8811
8812         * CutAndPaste.C: commenting out seemingly uneeded code.
8813
8814 2002-02-19  Allan Rae  <rae@lyx.org>
8815
8816         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8817         Iterators might be simple to use but they also get invalidated.
8818         (removeAutoInsets): renamed saved cursor tracking variables and added
8819         some comments to clarify what everything does.
8820
8821 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8822
8823         * Chktex.C:
8824         * LaTeX.C:
8825         * LyXSendto.C:
8826         * converter.C:
8827         * lyx_cb.C:
8828         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8829         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8830
8831         * lyxfunc.C:
8832         * vc-backend.h: remove #include "support/syscall.h"
8833
8834         * LaTeX.C:
8835         * LyXSendto.C:
8836         * converter.C: rearrange #includes in Lars' approved fashion.
8837
8838         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8839         forward declare class Timeout in the header file.
8840
8841         * XFormsView.C: changes due to the above.
8842
8843         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8844         similar to LyXView.
8845
8846         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8847         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8848
8849 2002-02-18  José Matos  <jamatos@fep.up.pt>
8850
8851         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8852         insets contents.
8853
8854 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8855
8856         * a lot of small ws changes
8857         * add a lot of using std::XXX
8858         * use std construcs some places where approp.
8859         * use some exisint stuff from lyxfunctional where approp.
8860         * Make file changes to use partial linking (lets test this now...)
8861
8862 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8863
8864         * Chktex.C:
8865         * buffer.C:
8866         remove #include "support/syscontr.h" as it's redundant. Always has been.
8867
8868         * Chktex.C:
8869         * LaTeX.C:
8870         * LyXSendto.C:
8871         * converter.C:
8872         * lyx_cb.C:
8873         * vc-backend.C:
8874         change Systemcalls::System to Systemcalls::Wait and
8875         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8876         No change of functionality, just reflects the stripped down Systemcalls
8877         class.
8878
8879 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8880
8881         * debug.[Ch]: add a GRAPHICS type to the enum.
8882
8883 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8884
8885         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8886
8887         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8888         there is an inset.
8889
8890 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8891
8892         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8893         match the changes below.
8894
8895         * text2.C (toggleInset): if there is not editable inset at cursor
8896         position, try to see if cursor is _inside_ a collapsable inset
8897         and close it.
8898
8899 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8900
8901         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8902         document menu has a nice checkbox
8903
8904 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8905
8906         * lyxlength.C (asLatexString): change PW to output as percent of
8907         \textwidth.
8908
8909         * lengthcommon.C: change '%' to 't%'
8910
8911         * lyxfunc.C (dispatch): a few comments from Martin
8912
8913 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8914
8915         * WorkArea.h:
8916         * WorkArea.C:
8917         * BufferView_pimpl.h:
8918         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8919           the X selection.
8920
8921 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8922
8923         * vspace.C (inPixels): fix compiler warning
8924
8925 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8926
8927         * lyxfunc.C (getStatus): fix status message for disabled commands.
8928
8929 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8930
8931         * BufferView_pimpl.C: fix crash on close buffer
8932         during selection (#227)
8933
8934 2002-01-27  Herbert Voss  <voss@lyx.org>
8935
8936         * buffer.C: link old Figure to new graphic inset
8937
8938 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8939
8940         * FontLoader.C (getFontinfo): Change the latex font names in order
8941         to match the names of type1inst.
8942
8943 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8944
8945         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8946
8947         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8948         (extchanged): ditto
8949         (ext_exist): ditto
8950         (remove_files_with_extension): ditto
8951         (remove_file): ditto
8952         (write): ditto
8953
8954         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8955         document is smaller than the work area height. Do not initialize
8956         static variables to 0.
8957
8958 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8959
8960         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8961
8962         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8963         LFUN_LAYOUT_PARAGRAPHS.
8964
8965         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8966         tabular. It is possible to provide a possible cell, which will
8967         typically be the actcell from the corresponding insettabular
8968
8969         * lyxfunc.C (getStatus): small cleanup; disable
8970         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8971         true
8972
8973 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8974
8975         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8976
8977         * paragraph.C (startTeXParParams):
8978         (endTeXParParams): new methods. The LaTeX code to
8979         start/end paragraph formatting
8980         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8981         empty (fixes bug #200)
8982
8983         * vspace.C (inPixels): adapt to the change below
8984         (inPixels): [later] more cleanups (remove unused variables)
8985
8986         * lyxlength.C (inPixels): change to use a width and a height as
8987         parameter.
8988
8989 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8990
8991         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8992         Replaced with \paperwidth
8993
8994         * DepTable.C (insert): add std:: qualifier
8995
8996 2002-01-18  Allan Rae  <rae@lyx.org>
8997
8998         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8999         updated also?
9000
9001         * text.C (drawInset): Turned out I didn't know enough about how
9002         rebreaking worked.  This fixes most of the redraw problems.  I see
9003         an occasional cursor trail when a line is broken now and the cursor
9004         placement can seem out by a few pixels also after a rebreak.
9005
9006 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9007
9008         * buffer.C (parseSingleLyXformat2Token): update because minipage
9009         width is now a LyXLength
9010
9011         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9012
9013         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9014         math insets
9015
9016 2002-01-17  Juergen Vigna  <jug@sad.it>
9017
9018         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9019
9020         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9021         is set correctly and the inset is updated correctly.
9022
9023 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9024
9025         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9026         the beginning of the loop.
9027
9028 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9029
9030         * lyxrc.C: improve help for use_scalable_fonts
9031
9032 2002-01-17  Allan Rae  <rae@lyx.org>
9033
9034         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9035
9036 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9037
9038         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9039         make sure to set their inset_owner to the right value (bug #171)
9040
9041 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9042
9043         * DepTable.h
9044         * DepTable.C: Implement mtime checking to reduce time spent doing
9045         CRCs.
9046
9047 2002-01-16  Juergen Vigna  <jug@sad.it>
9048
9049         * tabular.C (GetAdditionalHeight): one of error fixed.
9050
9051         * lyxrc.C (output): small fix in writing use_pspell.
9052
9053 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9054
9055         * sp_base.h: #include LString.h
9056
9057 2002-01-16  Allan Rae  <rae@lyx.org>
9058
9059         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9060         Can someone check this please?
9061
9062         * text.C (drawInset): It was possible that p.row would be removed by
9063         breakAgainOneRow upsetting a few other settings.  There may be another
9064         small tweak possible by setting need_break_row = 0 when p.row has been
9065         removed but I don't know enough about the logic here.
9066
9067 2002-01-15  Allan Rae  <rae@lyx.org>
9068
9069         * text.C (insertChar): removed conditional truism.
9070
9071         * BufferView2.C (removeAutoInsets): More tweaks.
9072         cur_par_prev could be a stray pointer.  Check for trailing empty line
9073         in case last line was cur_par and only had an error inset on it.
9074
9075 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9076
9077         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9078         absolute
9079
9080         * vc-backend.C (most methods):
9081         * exporter.C (Export):
9082         * converter.C (convert):
9083         (runLaTeX):
9084         * LyXSendto.C (SendtoApplyCB):
9085         * lyxfunc.C (dispatch):
9086         (menuNew):
9087         (open):
9088         (doImport):
9089         * lyx_cb.C (AutoSave):
9090         (InsertAsciiFile):
9091         * BufferView_pimpl.C (MenuInsertLyXFile):
9092         * buffer.C (runChktex): use Buffer::filePath().
9093
9094         * buffer.h: rename filename to filename_; rename filepath to
9095         filepath_ and make it private
9096         (filePath): new method
9097
9098         * buffer.C (writeFile): use fileName()
9099         (getLatexName):
9100
9101         * lyx_main.C (init): fix starting  of LyX when the binary is a
9102         link from so,ewhere else.
9103
9104         * minibuffer.C: include <cctype> for isprint
9105
9106 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9107
9108         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9109         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9110         name clash with InsetCollapsable's width function.
9111
9112 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9113
9114         * lastfiles.C: include <iterator>
9115
9116 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9117
9118         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9119         std::count.
9120
9121         * buffer.C (makeLaTeXFile): ditto.
9122         Also make loop operation more transparent.
9123
9124 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9125
9126         * ToolbarDefaults.C: remove trailing comma closing namespace.
9127
9128         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9129
9130         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9131         as in WorkArea.
9132
9133         * trans.C (Load): comment out unused variable, allowed.
9134
9135 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9136
9137         * minibuffer.[Ch] (append_char): new method to recieve input from the
9138         drop-down completion browser. If a key was pressed, then recieve this
9139         char and append it to the existing string.
9140         (peek_event): modify the positioning data passed to the completion
9141         browser so that it can be placed above the minibuffer rather than below.
9142 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9143
9144         * LyXAction.C (init): alloe error-next for readonly documents.
9145
9146         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9147         count.
9148
9149 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9150
9151         * bufferlist.C (readFile): create the buffer _after_ checking that
9152         the file exists.
9153
9154         * lyxfunc.C (verboseDispatch): fix handling of arguments
9155
9156         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9157
9158         * lyxrc.C: use string::erase() instead of initializing to "".
9159
9160
9161 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9162
9163         * BufferView_pimpl.h:
9164         * BufferView_pimpl.C:
9165         * WorkArea.h:
9166         * WorkArea.C:
9167         * text2.C: tell X when we have made a selection for copying
9168
9169 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9170
9171         * BufferView_pimpl.C (MenuInsertLyXFile):
9172         * lyxfunc.C (menuNew):
9173         (open):
9174         (doImport): add shortcuts to directory buttons
9175
9176         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9177         open a float)
9178
9179         * lyxfunc.C (setStatusMessage):
9180         (getStatusMessage): new methods
9181         (getStatus):use setStatusMessage instead of setErrorMessage
9182         (dispatch): when function is disabled, set error message here
9183         [instead of in getStatus previously]
9184
9185         * BufferView_pimpl.C (workAreaButtonRelease): update
9186         toolbar/menubar here too.
9187
9188 2002-01-13  Allan Rae  <rae@lyx.org>
9189
9190         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9191         Now seems indestructible.  Remaining task is to audit all other
9192         code affected by deleteEmptyParagraphMechanism.  One small quirk
9193         left is that an empty document with an error in the preamble can
9194         be made to report an error but no error box appears.  I don't know
9195         where it goes.
9196         (removeAutoInsets): Improved comments.
9197
9198 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9199
9200         * Thesaurus.h:
9201         * Thesaurus.C: update for Aiksaurus 0.14
9202
9203 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9204
9205         * text2.C (firstParagraph): removed member function, all uses
9206         replaces with ownerParagraph
9207         (redoParagraphs): here
9208         (updateInset): here
9209         (toggleAppendix): here
9210         * BufferView2.C (insertErrors): here
9211         (setCursorFromRow): here
9212
9213 2002-01-13  Allan Rae  <rae@lyx.org>
9214
9215         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9216         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9217         There is still a way to segfault this although you may have to do this
9218         multiple times: Have an InsetERT with an unknown command in it.
9219         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9220         <down-arrow>, <Enter> again, View->DVI, BANG!
9221
9222         * text2.C (setCursor):
9223         (deleteEmptyParagraphMechanism):
9224         * lyxtext.h (setCursor):
9225         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9226         Making use of the return value may help fix other bugs.
9227
9228 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9229
9230         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9231
9232         * LyXView.C (updateMenubar): call MenuBar::update here
9233         (updateToolbar): but not here
9234         (showState): do not update toolbar/menubar
9235
9236         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9237         should need to care about that.
9238
9239         * lyxfunc.C (verboseDispatch): simplify a bit
9240         (getStatus): have a version which takes a pseudoaction, and
9241         another which requires a (kb_action,string).
9242
9243         * LyXAction.C (retrieveActionArg): make it work also when action
9244         is not a pseudo-action.
9245         (getActionName): simplify a bit
9246         (helpText):
9247
9248 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9249
9250         * lyxfunc.C (verboseDispatch): new families of methods with
9251         several ways to specify a command and a bool to indicate whether
9252         the command name and shortcut should be displayed in minibuffer
9253         (eventually, we could extend that to a finer bitmask like
9254         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9255         (dispatch): the pristine dispatch command which just, well,
9256         dispatchs! Note it still sets its result to minibuffer; I'm not
9257         sure we want that.
9258
9259         * lyxfunc.h: remove setHintMessage
9260
9261         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9262
9263 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9264
9265         * BufferView_pimpl.C (specialChar): delete new inset if we have
9266         not been able to insert it.
9267
9268         * kbmap.C: revert to using int instead of kb_action, since all we
9269         are dealing with is pseudo-actions.
9270
9271         * LyXAction.C (searchActionArg): change to return int instead of
9272         kb_action, since the result is a pseudoaction.
9273
9274 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9275
9276         * buffer.C (insertErtContents): Fix (partially) the font bug.
9277
9278 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9279
9280         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9281         as the other one is broken on my machine!
9282
9283 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9284
9285         * commandtags.h:
9286         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9287
9288 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9289
9290         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9291         reflect their actual use. Provide compatibility code for older lyxrc
9292         files.
9293
9294         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9295         FL_NORMAL_STYLE.
9296         change names of popup font variables in line with the changes to lyxrc.C
9297
9298 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9299
9300         * buffer.C (asciiParagraph): avoid outputing a word twice after
9301         an inset.
9302
9303         * lyxrc.C (getDescription): document that document_path and
9304         template_path can be empty.
9305
9306 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9307
9308         * LaTeXFeatures.C (getMacros):
9309         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9310
9311         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9312
9313         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9314         getPackages.
9315         (getPackages): rename feature "floats" to "float". Use an array to
9316         iterate over 'simple' features (i.e. just a \usepackage). Add
9317         handling of "amsmath" (renamed from "amsstyle").
9318
9319 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9320
9321         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9322         features list.
9323
9324 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9325
9326         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9327         FuncStaus::FuncStatus & FuncStaus::some_method().
9328
9329 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9330
9331         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9332         of the func_satus stuff. Edited and massaged in various ways by
9333         JMarc.
9334
9335         * lyxfunc.C (getStatus): use FuncStatus
9336
9337 2002-01-08  Juergen Vigna  <jug@sad.it>
9338
9339         * text.C (nextBreakPoint): use function Inset::isChar().
9340
9341         * paragraph.C (TeXOnePar): use function
9342         Inset::forceDefaultParagraphs.
9343
9344         * buffer.C (latexParagraphs): use function
9345         Inset::forceDefaultParagraphs.
9346
9347 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9348
9349         * lyx_gui.C (init): set the style of the menu popups to
9350         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9351
9352 2002-01-07  Juergen Vigna  <jug@sad.it>
9353
9354         * text.C (setHeightOfRow): small fix
9355         (prepareToPrint): don't look at alignment if we don't have the place
9356         for doing it.
9357
9358 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9359
9360         * box.C: New file. Move the Box methods and functions out of box.h,
9361         following Lars' suggestion.
9362
9363 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9364
9365         * box.h: #include "support/LOstream.h", needed for inlined function.
9366
9367         * lyxtextclass.C:
9368         * lyxtextclasslist.C: added some using std declarations.
9369
9370 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9371
9372         * box.h: make signed dimensions to allow insets wider than
9373           the screen (bug #162)
9374
9375         * BufferView_pimpl.C: add some insetHit debug
9376
9377 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9378
9379         * vc-backend.C: add FIXME
9380
9381 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9382
9383         * lyxfunc.C (getStatus): enable code for showing math font status
9384         in toolbar/menu.
9385
9386 2002-01-07  Juergen Vigna  <jug@sad.it>
9387
9388         * text.C (nextBreakPoint): removed debug output not needed anymore.
9389
9390 2002-01-06  Juergen Vigna  <jug@sad.it>
9391
9392         * text.C (nextBreakPoint): fixed up this function we had this bug
9393         since ever but now hopefully we break row better.
9394         (insertChar): we have to check if an inset is the next char as it
9395         could now happen that a large inset is causing a break.
9396
9397 2002-01-05  Juergen Vigna  <jug@sad.it>
9398
9399         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9400         if it doesn't like to be drawed.
9401
9402 2002-01-04  Juergen Vigna  <jug@sad.it>
9403
9404         * BufferView2.C (lockInset): forgot to set a cursor.
9405
9406         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9407
9408 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9409
9410         * FormMathsPanel.C:
9411         * FormMathsPanel.h
9412         * MathsSymbols.C:
9413         * form_maths_panel.C:
9414         * form_maths_panel.h:
9415         * form_maths_panel.fd: implemented sub- and super- buttons in math
9416         panel.
9417
9418         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9419         (or ^ space) to be used as in TeX (req'd by André).
9420
9421         * lyxfunc.C: Allow ^ and _ again to be used both as
9422         super/subscript (mathed) and as themselves (in text).
9423
9424 2002-01-03  Allan Rae  <rae@lyx.org>
9425
9426         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9427         "LyX" or the filename of the current buffer if it has one.  This is a
9428         modified form of John Levon's patch.
9429
9430         * XFormsView.C (setWindowTitle): also set icon title.
9431
9432         * LyXView.h (setWindowTitle): signature changed.
9433         * XFormsView.h (setWindowTitle): ditto.
9434
9435 2002-01-02  Juergen Vigna  <jug@sad.it>
9436
9437         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9438
9439 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9440
9441         * screen.C (topCursorVisible): introduce a temp var for
9442         text->cursor.row(), handle the case where this row is null. (kindo
9443         hachish)
9444
9445         * text2.C (setCursor): add a couple of asserts.
9446
9447         * paragraph.h (inset_iterator): add -> operator
9448
9449         * paragraph.[Ch] (autoDeleteInsets): remove member function
9450
9451         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9452         cursor pos correctly and handle inset deletion by itself.
9453         (insertErrors): move iterator declaration out of for expression
9454
9455         * lyxtextclass.C: add <algorithm>
9456
9457         * Makefile.am: added the new files to sources, removed layout.C
9458
9459         * layout.C: removed file
9460
9461         * layout.h: remove LYX_DUMMY_LAYOUT
9462
9463         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9464         layout.
9465
9466         * lyxlayout.[Ch]:
9467         * lyxtextclass.[Ch]:
9468         * lyxtextclasslist.[Ch]: new files
9469
9470         * include order changes to a lot of files, also changes because of
9471         the six new files.
9472
9473 2001-12-27  Juergen Vigna  <jug@sad.it>
9474
9475         * buffer.C (asciiParagraph): more fixes.
9476
9477         * tabular.C (ascii): make ascii export support export of only the
9478         data separated by a column-delimiter.
9479         (ascii): better support for ascii export.
9480
9481         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9482
9483 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9484
9485         * tabular_funcs.C: use a "using std::getline" instead of the
9486         previous fix from Angus (necessary for cxx + lyxstring)
9487
9488 2001-12-24  Juergen Vigna  <jug@sad.it>
9489
9490         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9491
9492         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9493         problems. First check a minipage also if we have some ert-contents
9494         (not only on par->size(), second set the right depth of the paragraph
9495         on the relink to the root-paragraph-list!
9496
9497         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9498         which then did not anymore update the main paragraphs on undo/redo!
9499
9500 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9501
9502         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9503         code. Support all font-changing funcs (even those which are not in
9504         menu currently). Support for reporting font settings in
9505         mathed (disabled until Andre provides a function on mathed's side).
9506
9507         * func_status.h (toggle): small helper function to set toggle
9508         state on a flag.
9509
9510 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9511
9512         * tabular_funcs.C: getline -> std::getline
9513
9514 2001-12-21  Juergen Vigna  <jug@sad.it>
9515
9516         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9517         accessed and could be 0 (I couldn't generate this but it seems
9518         Michael could!).
9519
9520 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9521
9522         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9523         * tabular_funcs.h: here and include iosfwd
9524
9525 2001-12-20  Juergen Vigna  <jug@sad.it>
9526
9527         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9528         inside inset but undo_par was.
9529
9530 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9531
9532         * Thesaurus.C: always include <config.h> in sources.
9533
9534         * Painter.h:
9535         * lyxlookup.h:
9536         * box.h: do not include <config.h> in header files
9537
9538         * text.C (paintLastRow): remove unused variable
9539
9540         * text.C (transformChar):
9541         (insertChar):
9542         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9543
9544         * Painter.C (text):
9545         * font.C (width): rewrite to use uppercase() instead of
9546         islower/toupper.
9547
9548         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9549
9550 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9551
9552         * lyxfind.C: clean up of find failure position change
9553
9554 2001-12-20  Juergen Vigna  <jug@sad.it>
9555
9556         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9557
9558         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9559         (TeXRow): added to LaTeX a single tabular row.
9560         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9561         (Latex): simplified and finally good LT-h/f support.
9562         (various_functions): just small adaptions for LT-h/f support.
9563
9564         * tabular_funcs.[hC]: added and moved here all not classfunctions
9565         of LyXTabular.
9566
9567 2001-12-19  Juergen Vigna  <jug@sad.it>
9568
9569         * tabular.[Ch]: better support for longtabular options (not finished
9570         yet!)
9571
9572 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9573
9574         * text.C (paintLastRow): use the label font instead of the font of
9575         the last character to compute the size of *_BOX. This makes more
9576         sense and avoids a crash with empty paragraphs.
9577         Use Painter::rectangle to draw EMPTY_BOX.
9578
9579 2001-12-19  Juergen Vigna  <jug@sad.it>
9580
9581         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9582         the paragraphs if the replaced paragraph is not the first one!
9583         Tried to delete not used paragraphs but does not work yet so for
9584         now it's inside #ifdef's and by default off!
9585
9586 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9587
9588         * MenuBackend.C: include "lyx_main.h" instead of declaring
9589         lastfiles (actually was declared as LastFiles* instead of a
9590         scoped_ptr).
9591
9592 2001-12-17  Juergen Vigna  <jug@sad.it>
9593
9594         * tabular.C (AppendColumn): applied John's fix
9595
9596 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9597
9598         * BufferView.h:
9599         * BufferView.C:
9600         * BufferView_pimpl.h:
9601         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9602
9603         * Makefile.am:
9604         * box.h: new start of class for above
9605
9606         * lyxfunc.C: ignore space-only minibuffer dispatches.
9607           Show the command name when it doesn't exist
9608
9609         * minibuffer.C: don't add empty lines to the history
9610
9611         * minibuffer.C: add a space on dropdown completion
9612
9613 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9614
9615         * text.C: fix line above/below drawing in insets
9616
9617 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9618
9619         * lyxlength.C (LyXLength): Initialize private variables.
9620
9621 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9622
9623         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9624         when inserting error insets.
9625
9626 2001-12-13  Juergen Vigna  <jug@sad.it>
9627
9628         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9629         actually sometimes the before-paragraph.
9630         (setUndo): don't clear the redostack if we're not actually undoing!
9631
9632 2001-12-06  Juergen Vigna  <jug@sad.it>
9633
9634         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9635         and fixed redoing of main paragraph, so we can use it now ;)
9636
9637         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9638
9639 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9640
9641         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9642         Juergen's request
9643
9644 2001-12-13  André Pönitz <poenitz@gmx.net>
9645
9646         * undostack.[Ch]:
9647         * undo_func.C: minor cleanup
9648
9649 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9650
9651         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9652         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9653         font in urw-fonts package which is marked as -urw-fontspecific and
9654         does not work (incidentally, changing the encoding in the
9655         fonts.dir of this package to -adobe-fontspecific fixes the
9656         problem).
9657
9658         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9659         is a crash when undoing first paragraph (Juergen, please take a
9660         look). THis does not mean the undo fix is wrong, just that it
9661         uncovers problems.
9662
9663         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9664         the (Paragraph*) version when needed instead of duplicating the
9665         code.
9666
9667         * text.C (workWidth): use Inset::parOwner to find out where the
9668         inset has been inserted. This is a huge performance gain for large
9669         documents with lots of insets. If Inset::parOwner is not set, fall
9670         back on the brute force method
9671
9672         * paragraph_pimpl.C (insertInset):
9673         * paragraph.C (Paragraph):
9674         (cutIntoMinibuffer): set parOwner of insets when
9675         inserting/removing them
9676
9677         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9678
9679 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9680
9681         * commandtags.h:
9682         * LyXAction.C:
9683         * lyx_main.C:
9684         * lyxfunc.C:
9685         * mathed/formulabase.C:
9686         * mathed/math_cursor.[Ch]:
9687         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9688
9689
9690 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9691
9692         * lyxlength.[Ch] (operator!=): new function
9693
9694 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9695
9696         * text.C (workWidth): use Inset::parOwner to find out where the
9697         inset has been inserted. This is a huge performance gain for large
9698         documents with lots of insets. If Inset::parOwner is not set, fall
9699         back on the brute force method
9700
9701         * paragraph_pimpl.C (insertInset):
9702         * paragraph.C (Paragraph):
9703         (cutIntoMinibuffer): set parOwner of insets when
9704         inserting/removing them
9705
9706         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9707
9708 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9709
9710         * tabular-old.C (getTokenValue):
9711         * tabular.C (getTokenValue):
9712         (write_attribute): new versions for LyXLength
9713         (everywhere): adjust the use of widths
9714
9715         * tabular.h: change the type of widths from string to LyXLength
9716
9717 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9718
9719         * paragraph.C: fixed missing line number count when exporting
9720         Environments to LaTeX file
9721
9722         * buffer.C: added informational message for checking line numbers.
9723
9724 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9725
9726         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9727         paragraph, do the 'double space' part, but not the 'empty
9728         paragraph' one.
9729
9730         * text.C (workWidth): small optimization
9731         (getLengthMarkerHeight): use minimal size for negative lengths.
9732
9733 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9734
9735         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9736
9737         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9738
9739 2001-12-11  André Pönitz <poenitz@gmx.net>
9740
9741         * FontLoader.C:
9742         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9743
9744 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9745
9746         * text2.C: keep selection on a setFont()
9747
9748 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9749
9750         * lyx_cb.C: another bv->text misuse, from insert label
9751
9752 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9753
9754         * kbsequence.h:
9755         * kbsequence.C: re-instate nmodifier mask
9756
9757 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9758
9759         * lyx_main.h: make lyxGUI private.
9760
9761 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9762
9763         * lyxfind.C: place the cursor correctly on failed search
9764
9765 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9766
9767         * text.C (getLengthMarkerHeight): for small heights, the arrows
9768         are not always on top/bottom of the text
9769         (drawLengthMarker): smaller arrows; take the left margin in
9770         account; draw also vfills.
9771         (paintFirstRow):
9772         (paintLastRow): remove special code for vfill and standard spaces,
9773         since everything is handled in drawLengthMarker now.
9774
9775 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9776
9777         * buffer.C (insertErtContents): try to handle font and language
9778         interaction a bit better.g
9779
9780         * ColorHandler.C (updateColor): change the hash to cover the whole
9781         LColor enum, ws cleanup
9782         (getGCLinepars): ditto
9783         (getGCLinepars): only lookup in the linecache once.
9784
9785 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9786
9787         * iterators.C (operator++): Make the iterator more robust
9788
9789         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9790         (John's patch)
9791         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9792
9793 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9794
9795         * lyxtext.h:
9796         * text.C: better added space drawing
9797
9798 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9799
9800         * LyXView.C:
9801         * BufferView2.C: fix layout combo update on inset unlock
9802
9803 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9804
9805         * Makefile.am: don't compile unused files
9806
9807 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9808
9809         * lyxfunc.C:
9810         * commandtags.h:
9811         * LyXAction.C: remove old LFUN_LAYOUTNO
9812
9813 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9814
9815         * paragraph_pimpl.h:
9816         * paragraph_pimpl.C: isTextAt() doesn't need font param
9817
9818 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9819
9820         * lyxlex.h:
9821         * lyxlex.C: little cleanup
9822
9823 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9824
9825         * BufferView_pimpl.C: fix insertAscii for insets
9826
9827 2001-12-05  Juergen Vigna  <jug@sad.it>
9828
9829         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9830         set the right font on the "multi" paragraph paste!
9831
9832 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9833
9834         * trans_decl.h:
9835         * trans_mgr.[Ch]:
9836         * trans.[Ch]:
9837         * lyxgluelength.C:
9838         * lyxlength.C: remove out-commented code.
9839
9840         * BufferView_pimpl:
9841         * CutAndPaste.C:
9842         * DepTable.C:
9843         * buffer.C:
9844         * chset.C:
9845         * lastfiles.C:
9846         * lyxlex.C:
9847         * lyxlex_pimpl.C:
9848         * lyxserver.C:
9849         * screen.C:
9850         * tabular-old.C:
9851         * tabular.C:
9852         * text.C:
9853         * trans_mgr.C:
9854         * vc-backend.C: change "while(" to "while ("
9855
9856         * lyxlength.[Ch]: add zero function to check if length is zero or
9857         not
9858         * lyxgluelength.C: use it
9859
9860 2001-12-05  Allan Rae  <rae@lyx.org>
9861
9862         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9863         Works for 2.95.3, from what I understand of Garst's reports this should
9864         work for other g++ versions.  We're screwed if the abs(int) definition
9865         changed between bugfix releases of gcc.
9866
9867 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9868
9869         * text.C: fix chapter label offset !
9870
9871 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9872
9873         * lyxtext.h:
9874         * text.C: fix hfill at end of line, clean up
9875
9876 2001-12-04  Juergen Vigna  <jug@sad.it>
9877
9878         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9879         that we force an update of the inset and it's owners if neccessary.
9880
9881 2001-12-03  Juergen Vigna  <jug@sad.it>
9882
9883         * text.C (rowLast): simplified code
9884
9885 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9886
9887         * lyxfunc.C: fix show options on timeout
9888
9889 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9890
9891         * screen.C (topCursorVisible): scroll half a page when the cursor
9892         reached top of bottom of screen
9893
9894 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9895
9896         * minibuffer.C: deactivate on loss of focus
9897
9898 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9899
9900         * vspace.[Ch] (operator!=): add operator.
9901
9902 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9903
9904         * BufferView_pimpl.C: refuse to open an inset when
9905         there's a selection.
9906
9907 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9908
9909         * BufferView_pimpl.C: allow to click on RHS of full row insets
9910
9911 2001-11-30  Juergen Vigna  <jug@sad.it>
9912
9913         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9914         insets for undo reasons.
9915
9916 2001-11-28  André Pönitz <poenitz@gmx.net>
9917
9918         * vspace.[Ch]: cosmetical changes
9919
9920 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9921
9922         * LyXAction.h:
9923         * LyXAction.C:
9924         * lyxfunc.h:
9925         * lyxfunc.C:
9926         * kbmap.h:
9927         * kbmap.C:
9928         * lyxrc.C:
9929         * kbsequence.h:
9930         * kbsequence.C: part re-write of old kb code
9931
9932         * Painter.C:
9933         * WorkArea.C: remove Lgb_bug_find_hack
9934
9935 2001-11-30  José Matos <jamatos@fep.up.pt>
9936
9937         * buffer.C (makeDocBookFile): add a comment to point a hack.
9938         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9939         Fixed a double write of labels.
9940
9941 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9942
9943         * LaTeX.C:
9944         * LaTeX.h Fixed bug in LaTeX class where it would not
9945         re-run latex if no depfiles were changed, but the .dvi was removed.
9946
9947 2001-11-28  André Pönitz <poenitz@gmx.net>
9948
9949         * all the files from the change on 2001/11/26:
9950         use lyx::layout_type instead of LyXTextClass::size_type
9951         use lyx::textclass_type instead of LyXTextClassList::size_type
9952
9953 2001-11-29  Juergen Vigna  <jug@sad.it>
9954
9955         * text.C: added support for paragraph::isFreeSpacing()
9956
9957         * buffer.C: same as above
9958
9959         * paragraph.h: inserted isFreeSpacing() function to enable
9960         FreeSpacing inside InsetERT.
9961
9962         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9963         of the paragraph's in the cut/copy buffer to 0!
9964
9965         * text2.C (removeRow): remove the assert as it can!
9966
9967         * lyxtext.h: added helper function firstRow returning firstrow and
9968         made firstrow private again.
9969
9970         * BufferView2.C (lockInset): don't relock if we're already locked!
9971
9972         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9973         the only paragraph.
9974         (removeRow): added Assert::(firstrow)
9975
9976         * debug.C: forgot to add INSETTEXT here.
9977
9978 2001-11-28  Juergen Vigna  <jug@sad.it>
9979
9980         * sp_spell.C (initialize): changed error text to more general
9981         spellchecker command use (not only ispell!)
9982
9983         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9984
9985         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9986
9987 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9988
9989         * vspace.C: initialise lyxgluelength on failure
9990
9991 2001-11-28  Allan Rae  <rae@lyx.org>
9992
9993         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9994         declaration & definition that looks like a function declaration.
9995
9996 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9997
9998         * BufferView2.C (copy):
9999         (copyEnvironment): do not clear the selection when doing a copy.
10000
10001         * text.C (paintFirstRow): compilation fix
10002
10003 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10004
10005         * tabular.C (Latex): correct line count when writing latex.
10006
10007 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10008
10009         * paragraph_pimpl.h:
10010         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10011           bug a bit
10012
10013 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10014
10015         * text.C:
10016         * LColor.h:
10017         * LColor.C: change vfillline->added_space
10018
10019         * text.C: add markers and text for added space
10020
10021         * vspace.C: fix comment
10022
10023 2001-11-28  André Pönitz <poenitz@gmx.net>
10024
10025         * paragraph.C: whitespace changes
10026         * all the other files from the change on 2001/11/26:
10027         change *::pos_type into lyx::pos_type
10028
10029 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10030
10031         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10032         language of the document when inserting error insets.
10033
10034 2001-11-26  André Pönitz <poenitz@gmx.net>
10035
10036         * BufferView_pimpl.[Ch]:
10037         *       CutAndPaste.C:
10038         * buffer.[Ch]:
10039         * lyxcursor.[Ch]:
10040         * lyxfind.C:
10041         * lyxfunc.C:
10042         * lyxrow.[Ch]:
10043         * paragraph.[Ch]:
10044         * paragraph_pimpl.[Ch]:
10045         * sp_spell.C:
10046         * text.C:
10047         * text2.C: reduce header dependencies, introduce type for positions
10048
10049 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10050
10051         * <various>: change to use Alert.h
10052
10053 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10054
10055         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10056         when encountering an unknown token.
10057         (readLyXformat2): Show an error message if there were unknown tokens.
10058
10059 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10060
10061         * BufferView2.C:
10062         * BufferView_pimpl.C:
10063         * buffer.C:
10064         * paragraph.h:
10065         * text.C:
10066         * text2.C: use par->isInset()
10067
10068 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10069
10070         * paragraph_pimpl.h:
10071         * paragraph_pimpl.C: cleanup
10072
10073 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10074
10075         * text2.C (removeRow):
10076         * text.C (setHeightOfRow): remove useless (and costly) call to
10077         getRow.
10078
10079 2001-11-20  Allan Rae  <rae@lyx.org>
10080
10081         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10082         Now need Inset*::checkInsertChar() to return true for appropriate
10083         cases so that the characters in the minibuffer will actually be
10084         inserted.
10085
10086 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10087
10088         * text.C: change the order of the includes.
10089         (workWidth): initialize it at once.
10090         (workWidth): make maxw unsigned
10091         (setHeightOfRow): remove unused variable (inset)
10092         (selectSelectedWord): remove unused variable (inset)
10093         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10094
10095 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10096
10097         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10098         server is not running.
10099         (openConnection):
10100         (closeConnection): add debug info when server is disabled.
10101
10102         * ColorHandler.C (getGCForeground): send debug message to GUI
10103         channel.
10104
10105         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10106
10107         * kbmap.C (bind): modify because return conventions of
10108         kb_sequence::parse have changed.
10109
10110         * kbsequence.C (parse): only ignore spaces and not any stupid
10111         control character. This avoids tests like s[i] <= ' ', which are
10112         guaranteed to fail with 8bit characters and signed chars.
10113         Change return code to string::npos when there have been no error
10114         (0 was a bad idea when error is at first character)
10115
10116 2001-11-14  José Matos  <jamatos@fep.up.pt>
10117
10118         * buffer.h:
10119         * buffer.C (simpleDocBookOnePar): removed unused argument.
10120
10121 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10122
10123         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10124         insets which are part of a word. Paragraph::isLetter takes care of
10125         that now. Use Paragraph::isInset to identify insets.
10126         (selectSelectedWord): do not test for hyphenation break.
10127
10128         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10129         that protected spaces are considered as spaces.
10130
10131         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10132         Inset::isLetter.
10133
10134 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10135
10136         * lyxserver.h:
10137         * lyxserver.C: fix it. and small cleanup.
10138
10139 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10140
10141         * BufferView_pimpl.C: use inline helpers
10142
10143         * LaTeXFeatures.h:
10144         * LaTeXFeatures.C: fix typos
10145
10146         * Spacing.h:
10147         * Spacing.C: move spacing_string into class
10148
10149         * ToolbarDefaults.C: move stuff into namespace anon
10150
10151         * layout.h: update enum
10152
10153         * lyxfunc.C: use better debug
10154
10155         * minibuffer.h: fix typo
10156
10157         * debug.h:
10158         * debug.C:
10159         * WorkArea.C: add and use Debug::WORKAREA
10160
10161         * lyxtext.h:
10162         * text.C:
10163         * text2.C: code re-organisation, inline helpers
10164
10165 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10166
10167         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10168         std::vector.empty().
10169
10170 2001-11-09  Allan Rae  <rae@lyx.org>
10171
10172         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10173         '\n's after tables.  Tabular and ERT inset work now makes this no
10174         longer necessary.
10175
10176 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10177
10178         * minibuffer.h:
10179         * minibuffer.C: fix crash, improve drop-down completion
10180
10181 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10182
10183         * lyxserver.h:
10184         * lyxserver.C: invalidate fd's when doing endPipe()
10185
10186 2001-11-08  José Matos  <jamatos@fep.up.pt>
10187
10188         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10189         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10190
10191         * paragraph.h:
10192         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10193
10194 2001-11-07  José Matos  <jamatos@fep.up.pt>
10195
10196         * buffer.h:
10197         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10198         const qualifier.
10199
10200         * buffer.C (sgmlOpenTag):
10201         * buffer.C (sgmlCloseTag): removed debug info.
10202
10203         * buffer.h (sgmlOpenTag):
10204         * buffer.h (sgmlCloseTag): made public.
10205
10206 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10207
10208         * buffer.C (saveParamsAsDefaults):
10209         * lyx_cb.C (MenuLayoutSave): remove
10210
10211         * LyXAction.C (init):
10212         * commandtags.h:
10213         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10214
10215 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10216
10217         * buffer.C (setPaperStuff): removed from here...
10218
10219         * bufferparams.C (setPaperStuff): ... and moved there.
10220
10221 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10222
10223         * minibuffer.h:
10224         * minibuffer.C:
10225         * XFormsView.C: add support for drop-down completion
10226
10227 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10228
10229         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10230         commands.
10231
10232 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10233
10234         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10235         disabled.
10236
10237 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10238
10239         * lyx_main.C: change ref to known bugs
10240
10241 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10242
10243         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10244         to work around older babel problems.
10245
10246 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10247
10248         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10249
10250 2001-10-24  Juergen Vigna  <jug@sad.it>
10251
10252         * tabular-old.C (ReadOld): below variable changes reflected.
10253
10254         * tabular.[Ch]: added ltType struct for longtable header/footer
10255         defines and changed all instances where they are used. Added
10256         future support for double top/bottom rows.
10257
10258 2001-10-24  José Matos  <jamatos@fep.up.pt>
10259
10260         * buffer.h (docbookHandleCaption):
10261         * buffer.C (docbookHandleCaption): removed unused function.
10262         (makeDocBookFile): moved docbook supported version to v4.1.
10263
10264 2001-10-24  José Matos  <jamatos@fep.up.pt>
10265
10266         * tabular.h:
10267         * tabular.C (docbookRow): new function to export docbook code of a row.
10268         (DocBook): now honors the longtable flags.
10269
10270 2001-10-23  José Matos  <jamatos@fep.up.pt>
10271
10272         * LaTeXFeatures.h:
10273         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10274         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10275
10276         * buffer.C (makeLinuxDocFile):
10277         (makeDocBookFile): reworked the preamble, more clean, and with
10278         support for lyx defined entities. Changed the document declaration
10279         to be more XML friendly.
10280
10281         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10282         if we need to output XML that should be done with a filter.
10283
10284 2001-10-22  Juergen Vigna  <jug@sad.it>
10285
10286         * sp_pspell.h (class PSpell): add alive function needed in the
10287         controller to see if the spellchecker could be started.
10288
10289 2001-10-22  Juergen Vigna  <jug@sad.it>
10290
10291         * buffer.C (insertStringAsLines): modify the font for inserting
10292         chars in certain conditions by calling checkInsertChar(font).
10293
10294 2001-10-19  Juergen Vigna  <jug@sad.it>
10295
10296         * text.C (workWidth): use getRow instead of wrong algorithm.
10297         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10298
10299 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10300
10301         * lyxserver.h:
10302         * lyxserver.C:
10303         * lyx_main.h:
10304         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10305
10306 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10307
10308         * text.C (workWidth): do not search for the exact row when
10309         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10310         optimization for big documents.
10311
10312 2001-10-18  Juergen Vigna  <jug@sad.it>
10313
10314         * text.C (workWidth): new function with added Inset * parameter.
10315
10316 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10317
10318         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10319
10320         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10321         change return type of getColumnNearX.
10322
10323
10324         * text.C (changeRegionCase): use uppercase/lowercase instead of
10325         toupper/tolower.
10326         (leftMargin):
10327         (rightMargin): simplify code by factoring out the uses of
10328         textclasslist.
10329         (labelFill):
10330         (numberOfHfills):
10331         (setHeightOfRow):
10332         (appendParagraph): use Paragraph::size_type
10333
10334 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10335
10336         * vspace.C (asLatexString): add a missing break
10337
10338 2001-10-15  Herbert Voss  <voss@perce.de>
10339
10340         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10341
10342 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10343
10344         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10345         is not available.
10346
10347 2001-10-10  André Pönitz <poenitz@gmx.net>
10348
10349         * lyxfunc.C: removed greek_kb_flag.
10350
10351 2001-10-10  Herbert Voss  <voss@perce.de>
10352
10353         * lyx_main.C: delete global string help_lyxdir.
10354
10355 2001-10-09  Herbert Voss  <voss@perce.de>
10356
10357         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10358
10359         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10360
10361         * lyx_main.C: added global string help_lyxdir.
10362
10363         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10364
10365 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10366
10367         * lyxrc.C (set_font_norm_type): support iso8859-4
10368
10369 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10370
10371         * LaTeX.C (deplog): add another regex for MikTeX
10372
10373 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10374
10375         * lyxrc.C (set_font_norm_type): support iso8859-3
10376
10377 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10378
10379         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10380
10381         * LaTeXFeatures.C: remove special case of french and index
10382
10383         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10384         before \begin{document}). This solves several incompatibilities.
10385
10386 2001-10-03  Garst Reese  <reese@isn.net>
10387
10388         * lyx_cb.C: change CheckTex error msg.
10389
10390 2001-10-03  José Matos  <jamatos@fep.up.pt>
10391
10392         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10393
10394 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10395
10396         * .cvsignore: update
10397
10398         * lyx_main.C (commandLineVersionInfo): use new style version info.
10399
10400         * buffer.C (writeFile):
10401         (makeLaTeXFile):
10402         (makeLinuxDocFile):
10403         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10404
10405         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10406
10407         * version.h: update to use stuff in version.C
10408
10409         * version.C.in: new file. Contains version information determined
10410         at compile time. This is a merging of version.h and
10411         version_info.h.in.
10412
10413 2001-10-03  Juergen Vigna  <jug@sad.it>
10414
10415         * BufferView_pimpl.C (update): don't change "dirty" status in
10416         updateInset call.
10417
10418 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10419
10420         * WorkArea.C (c-tor): re-position version string slightly.
10421
10422 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10423
10424         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10425         revert to previous code.
10426
10427         WorkArea.[Ch]: (show, destroySplash): methods removed.
10428
10429         WorkArea.C: rework code so that it's an amalgam of the codes before and
10430         after the splash screen was moved to WorkArea.
10431
10432 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10433
10434         * lyxrc.C (read):
10435         * vspace.C (inPixels):
10436         (lyx_advance):
10437         * kbmap.C (bind):
10438         * buffer.C (insertStringAsLines):
10439         (asciiParagraph): fix types to be large enough
10440
10441         * lyxlex_pimpl.h: change member status from short to int
10442
10443         * layout.h: fix type of endlabeltype
10444
10445         * kbmap.C (bind):
10446         * kbsequence.C (parse): change return type to string::size_type
10447
10448         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10449         variable
10450
10451         * Bullet.C (bulletSize):
10452         (bulletEntry): do not use short ints as parameters
10453
10454         * BufferView2.C (insertLyXFile): change a char to an int.
10455
10456         * WorkArea.C (WorkArea): remove unneeded floats in computation
10457
10458 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10459
10460         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10461
10462         * paragraph.C (asString): Do not ignore newline/hfill chars when
10463         copying to the clipboard.
10464
10465 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10466
10467         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10468         after a multi-line inset.
10469
10470 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10471
10472         * paragraph.C (validate): Set NeedLyXFootnoteCode
10473
10474 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10475
10476         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10477         and decrease-error to decrease.
10478
10479 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10480
10481         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10482         it more readable (should be equivalent)
10483
10484 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10485
10486         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10487
10488 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10489
10490         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10491         of a cursor (row, etc.) after a character has been deleted
10492         (deleteEmptyParagraphMechanism): call the method above on _all_
10493         cursors held by the LyXText when a double space has been
10494         detected/deleted.
10495
10496 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10497
10498         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10499         pixmap.
10500         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10501
10502         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10503         background. Use greyOut() and the new show() methods to toggle between
10504         the foreground and background. Add code to remove the splash after
10505         its initial showing.
10506
10507         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10508         (create_forms): no longer call Dialogs::showSplash.
10509
10510 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10511
10512         * .cvsignore: add version_info.h
10513
10514 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10515
10516         * version_info.h.in: new file
10517
10518         * Makefile.am: add version_info.h.in
10519
10520         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10521         version_info.h instead of VERSION_INFO
10522
10523 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10524
10525         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10526         The ERT inset now returns string().
10527
10528 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10529
10530         * lyxtext.h, text.C (selectNextWord): renamed as
10531         selectNextWordToSpellcheck.
10532
10533         * text.C (selectNextWordToSpellcheck): Modified to not select
10534         words inside an ERT inset.
10535
10536 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10537
10538         * lyx_cb.C (MenuLayoutSave): change a bit the question
10539
10540         * sp_base.h: include <sys/types.h>
10541
10542 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10543
10544         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10545
10546 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10547
10548         * several files: fix typos in user-visible strings
10549
10550 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10551
10552         * text2.C (pasteSelection): do not set the selection, since it
10553         will be cleared later. Actually, the intent was to fix the way the
10554         selection was set, but I figured rmoving the code was just as good.
10555
10556 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10557
10558         * FontLoader.C (available): Check if font is available without
10559         loading the font.
10560
10561 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10562
10563         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10564
10565 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10566
10567         * lyxrc.[Ch]: added display_graphics variable and associated code.
10568
10569 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10570
10571         * bufferparams.C (hasClassDefaults): new method. Returns true if
10572         the buffer parameters correspond to known class defaults
10573
10574 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10575
10576         * XFormsView.C (show): set minimum size to the main window.
10577
10578 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10579
10580         * text2.C (copySelection):
10581         (cutSelection):
10582         * lyxfind.C (LyXReplace):
10583         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10584         LyXText::selectionAsString.
10585
10586         * paragraph.C (asString): add "label" argument to the second form
10587
10588         * text2.C (selectionAsString): add "label" argument and pass it to
10589         Paragraph::asString.
10590
10591 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10592
10593         * lyx_main.C (commandLineHelp): remove version information
10594
10595 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10596
10597         * lyx_main.C: add -version commandline option
10598
10599 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10600
10601         * paragraph.h: make the optional constructor arg required instead.
10602         some modifications to other files because of this.
10603
10604         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10605
10606         * lyxserver.C (C_LyXComm_callback): make it static
10607
10608         * lyx_main.C (error_handler): make it static
10609
10610         * lyx_gui.C (LyX_XErrHandler): make it static
10611
10612         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10613
10614         * WorkArea.C: make the extern "C" methods static.
10615
10616         * Makefile.am (lyx_LDADD): simplify
10617
10618 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10619
10620         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10621         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10622
10623         * LyXAction.C (init):
10624         * lyxfunc.C (dispatch): associated code removal.
10625
10626 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10627
10628         * lyxfont.h (isSymbolFont): shut off warning
10629
10630         * text.C (setHeightOfRow):
10631         (getVisibleRow): fix crash with empty paragraphs which have a
10632         bottom line
10633
10634 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10635
10636         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10637         code.
10638
10639 2001-09-04  José Matos  <jamatos@fep.up.pt>
10640         * buffer.C
10641         * buffer.h
10642         * tabular.C (docbook): rename docBook method to docbook.
10643
10644 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10645
10646         * Makefile.am: add dependencies to main.o.
10647
10648 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10649
10650         * FontLoader.C (available): Return false if !lyxrc.use_gui
10651
10652 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10653
10654         * FontInfo.C (query):
10655         * converter.C (view):
10656         * importer.C (Import):
10657         * exporter.C (Export): Can not -> cannot.
10658
10659 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10660
10661         * BufferView_pimpl.C: allow to create index inset even if
10662           string is empty
10663
10664 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10665
10666         * buffer.C (getLists): replace boost::tie code with an explicit pair
10667         as boost::tie can break some compilers.
10668
10669         * iterators.h: Added a std:: declaration to the return type of
10670         ParIterator::size.
10671
10672 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10673
10674         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10675           case.
10676
10677 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10678
10679         * iterators.[Ch]: New files. Provide paragraph iterators.
10680
10681         * buffer.C (changeLanguage): Use paragraph iterators.
10682         (isMultiLingual): ditto
10683
10684         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10685
10686 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10687
10688         * FontLoader.C: Support for cmr font.
10689
10690 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10691
10692         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10693         (available): New method.
10694
10695         * FontInfo.C (getFontname): Use scalable fonts even when
10696         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10697         found.
10698
10699 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10700
10701         * converter.C (Formats::view): reverted! Incorrect fix.
10702
10703 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10704
10705         * converter.C (Formats::view): only output the -paper option
10706         if the dvi viewer is xdvi, thereby fixing bug #233429.
10707
10708 2001-08-23  Herbert Voss  <voss@perce>
10709
10710         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10711
10712 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10713
10714         * Spacing.h (Spacing): Set space to Default on in the default
10715         constructor.
10716
10717 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10718
10719         * vc-backend.h (RCS::versionString): add RCS to version
10720         (CVS::versionString): add CVS to version
10721
10722         * vc-backend.C (scanMaster): do not add CVS to version.
10723         (scanMaster): do not add RCS to version
10724
10725         * lyxvc.C (versionString): new method
10726
10727         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10728
10729 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10730
10731         * Spacing.C (set): initialize fval
10732
10733 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10734
10735         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10736         " or \.
10737
10738 2001-08-16  Juergen Vigna  <jug@sad.it>
10739
10740         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10741
10742 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10743
10744         * BufferView_pimpl.C:
10745         * figureForm.C:
10746         * lyxtext.h:
10747         * text2.C: setParagraph takes linespacing now
10748
10749 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10750
10751         * LyxAction.C: add internal LFUN_CITATION_INSERT
10752
10753         * LyXView.C: actually apply fix
10754
10755         * bufferlist.C: fix open non-existent file
10756
10757         * lyxfind.C: fix indentation
10758
10759         * lyxfunc.C: remove unneeded assert, fix typo
10760
10761 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10762
10763         * MenuBackend.C: use "Floatname List"
10764
10765 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10766
10767         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10768         when converting LaTeX layout to insetERT.
10769         Generate a non-collapsed float when reading old float
10770
10771 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10772
10773         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10774         ERT insets.
10775
10776 2001-08-13  Juergen Vigna  <jug@sad.it>
10777
10778         * text.C (fill): return 0 instead of 20 as this seems to be the more
10779         correct value.
10780
10781 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10782
10783         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10784         lyxrc.font_norm.
10785
10786 2001-08-13  Juergen Vigna  <jug@sad.it>
10787
10788         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10789         casesensitive off.
10790         (SearchBackward): comment out the unlocking of the inset_owner this
10791         should not be needed!
10792
10793 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10794
10795         * Many files: Remove inherit_language, and add latex_language
10796
10797         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10798         collapsible insets.
10799
10800 2001-08-10  Juergen Vigna  <jug@sad.it>
10801
10802         * text.C (prepareToPrint): fixed hfill-width in draw!
10803
10804         * BufferView2.C (selectLastWord): save the selection cursor as this
10805         now is cleared in the function LyXText::clearSelection!
10806
10807 2001-08-08  Juergen Vigna  <jug@sad.it>
10808
10809         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10810         BACKSPACE type functions.
10811
10812         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10813         is only cutted from the document but not put in the cut-buffer, where
10814         still the old stuff should be.
10815
10816         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10817
10818         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10819
10820         * tabular.C (SetWidthOfCell): fixed special case where the width
10821         was not updated!
10822         (LeftLine): handle '|' in align_special.
10823         (RightLine): ditto
10824         (LeftAlreadyDrawed): ditto
10825         (SetWidthOfCell): ditto
10826
10827 2001-08-07  Juergen Vigna  <jug@sad.it>
10828
10829         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10830
10831 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10832
10833         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10834         * lyxlex.[hC]: ditto
10835
10836 2001-08-06  Juergen Vigna  <jug@sad.it>
10837
10838         * text.C (getVisibleRow): fix up row clearing a bit.
10839
10840 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10841
10842         * minibuffer.C: make sure the X server sees the changes in the input.
10843
10844 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10845
10846         * paragraph.C (getFont): split into...
10847         (getLabelFont): this
10848         (getLayoutFont): and this
10849         * paragraph_pimpl.C (realizeFont): calling this
10850
10851         * text2.C (getFont): split into...
10852         (getLayoutFont): this
10853         (getLabelFont): and this
10854         (realizeFont): all three calling this
10855
10856         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10857         files where used.
10858
10859 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10860
10861         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10862
10863 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10864
10865         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10866         layouts from the Quote inset insertion.
10867
10868 2001-08-03  Juergen Vigna  <jug@sad.it>
10869
10870         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10871
10872         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10873         only if status not is already CHANGED_IN_DRAW (second level).
10874
10875         * text.C (draw): don't set the need_break_row when inside an
10876         InsetText LyXText.
10877
10878 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10879
10880         * buffer.C (parseSingleLyXformat2Token): handle more latex
10881         conversion cases.
10882
10883         * bufferview_funcs.[hC]: change function names to
10884         begin with small char, adjust other files.
10885
10886 2001-08-02  André Pönitz <poenitz@gmx.net>
10887
10888         * lyxfunc.C:
10889         BufferView_pimpl.C: remove broken special code for math-greek
10890
10891 2001-08-02  Juergen Vigna  <jug@sad.it>
10892
10893         * BufferView_pimpl.C (update): redone this function so that we
10894         update the text again if there was a CHANGE_IN_DRAW.
10895
10896         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10897         (drawFromTo): added a new internal bool which is used by draw() and
10898         redraw() function.
10899         (general): some cursor drawing problems fixed.
10900
10901 2001-08-01  Juergen Vigna  <jug@sad.it>
10902
10903         * lyxfind.C (LyXFind): fixed
10904         (SearchForward): ditto
10905         (SearchBackward): ditto
10906
10907         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10908         spurius drawing of the cursor in the main area.
10909
10910         * text2.C (status): small fix which could lead to a segfault!
10911         (clearSelection): remove unneeded BufferView param.
10912
10913 2001-08-01  André Pönitz <poenitz@gmx.net>
10914
10915         * lyxfunc.C: small change due to changed mathed interface
10916
10917 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10918
10919         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10920
10921 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10922
10923         * lyxfunc.c: fail gracefully if file doesn't exist
10924
10925         * LyXSendto.C:
10926         * buffer.C:
10927         * lyxfunc.C:
10928         * BufferView_pimpl.C: IsDirWriteable() proto changed
10929
10930         * LyXView.C: fix updateWindowTitle() to store the last title
10931
10932 2001-07-31  Juergen Vigna  <jug@sad.it>
10933
10934         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10935         the font (wrong since using of Paragraph::highestFontInRange).
10936
10937         * paragraph.C (highestFontInRange): added a default_size parameter.
10938
10939         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10940         (setHeightOfRow): reformat
10941
10942 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10943
10944         * converter.[hC] + affected files: move to (inital-char)lowercase
10945         function names.
10946
10947         * ParagraphParameters.C (ParagraphParameters): remove commented code
10948
10949         * PainterBase.[Ch]: remove commented code
10950
10951         * LaTeXFeatures.h: add "bool floats" for float.sty
10952
10953         * LaTeXFeatures.C (LaTeXFeatures): init floats
10954         (require): handle float
10955         (getPackages): do it with floats
10956
10957 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10958
10959         * BufferView_pimpl.C (Dispatch): improve handling of
10960         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10961
10962         * commandtags.h: #include lyxfont.h here temporarily to avoid
10963         keybinding bug.
10964
10965         * bufferlist.h: include LString.h here.
10966
10967 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10968
10969         * text2.C (getStringToIndex): new method.
10970
10971 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10972
10973         * *: Reduced header file dependencies all over.
10974
10975 2001-07-30  Baruch Even  <baruch@lyx.org>
10976
10977         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10978
10979 2001-07-29  Baruch Even  <baruch@lyx.org>
10980
10981         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10982
10983 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10984
10985         * ParameterStruct.h (endif): add a default constructor to make
10986         sure that all variables is initialized.
10987
10988         * ParagraphParameters.C (ParagraphParameters): adjust
10989
10990 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10991
10992         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10993         index; also, check that there is something to index, and that it
10994         does not span over several paragraphs.
10995         (doubleClick): use WHOLE_WORD_STRICT for double click.
10996
10997         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10998
10999         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11000         scheme.
11001
11002 2001-07-26  Baruch Even  <baruch@lyx.org>
11003
11004         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11005         an InsetFig figure, backwards compatible reading of old figure code.
11006
11007 2001-07-27  Juergen Vigna  <jug@sad.it>
11008
11009         * text2.C: font.realize function adaption.
11010
11011         * text.C (draw): add a warnings lyxerr text if needed.
11012
11013         * layout.C: font.realize function adaption.
11014
11015         * language.C: add inherit_language and implement it's handlings
11016
11017         * bufferview_funcs.C (StyleReset): remove language parameter from
11018         font creation (should be language_inherit now).
11019
11020         * bufferparams.C (writeFile): handle ignore_language.
11021
11022         * paragraph.C (getFontSettings): the language has to be resolved
11023         otherwise we have problems in LyXFont!
11024
11025         * lyxfont.C (lyxWriteChanges): added document_language parameter
11026         (update): removed unneeded language parameter
11027
11028         * paragraph.C (validate): fixed wrong output of color-package when
11029         using interface colors for certain fonts in certain environments,
11030         which should not seen as that on the final output.
11031
11032 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11033
11034         * BufferView_pimpl.C:
11035         * Thesaurus.h:
11036         * Thesaurus.C:
11037         * Makefile.am:
11038         * commandtags.h:
11039         * LyXAction.C: add thesaurus support
11040
11041         * lyxfind.h:
11042         * lyxfind.C: add "once" parameter, for thesaurus, to not
11043           move to the next match
11044
11045 2001-07-26  Juergen Vigna  <jug@sad.it>
11046
11047         * lyxfont.C (realize): honor ignore_language too!
11048         (resolved): ditto.
11049
11050         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11051
11052         * text.C (draw): one place more for ignore_language to not draw
11053         itself!
11054
11055 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11056
11057         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11058
11059 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11060
11061         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11062         the minipage conversion problem.
11063
11064 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11065
11066         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11067         insert an inset.
11068
11069 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11070
11071         * BufferView.h: don't forward declare WorkArea
11072
11073         * BufferView.C: don't include WorkArea.h
11074
11075 2001-07-25  André Pönitz <poenitz@gmx.net>
11076
11077         * commandtags.h:
11078         * LyXAction.C:
11079         * lyxfunc.C:  new LFUN 'math-space'
11080
11081         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11082
11083 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11084
11085         * text2.C (toggleInset): call open/close
11086
11087 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11088
11089         * lyxfunc.C (dispatch): add debug for the disabled case
11090
11091         * font.C (buttonText): make similar to rectText
11092
11093         * buffer.C (readInset): comment out parsing of insetlist and
11094         insttheorem
11095
11096         * PainterBase.C (rectText): small correction
11097
11098         * BufferView_pimpl.C: comment out insettheorem and insetlist
11099         * LyXAction.C: ditto
11100         * commandtags.h: ditto
11101
11102 2001-07-24  Juergen Vigna  <jug@sad.it>
11103
11104         * text.C (draw): honor the ignore_language.
11105
11106         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11107
11108 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11109
11110         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11111         char inset.
11112
11113 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11114
11115         * lyxtext.h: remove unused (and unimplemented) methods
11116
11117 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11118
11119         * text.C (getVisibleRow): honor background color
11120
11121         * PainterBase.h:
11122         * Painter.h: remove default color argument for fillRectangle
11123
11124         * text.C (backgroundColor): new method
11125
11126 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11127
11128         * text.C (getVisibleRow): adjust
11129
11130         * font.[Ch] (rectText): new method, metrics
11131         (buttonText): new method, metrics
11132
11133         * PainterBase.[hC]: make rectText and buttonText always draw and take
11134         fewer paramteres.
11135
11136 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11137
11138         * ToolbarDefaults.C (read):
11139         * MenuBackend.C (read): allow escaping in all strings
11140
11141         * BufferView_pimpl.C (insertAndEditInset): new method.
11142         (Dispatch): use insertAndEditInset whenever appropriate.
11143
11144         * BufferView_pimpl.C (insertNote): removed
11145
11146         * BufferView_pimpl.C (smartQuote): new method, moved from
11147         BufferView; if an insetquote cannot be inserted, insert a '"'
11148         character instead.
11149
11150         * BufferView2.C: remove insertCorrectQuote();
11151
11152         * lyxfunc.C (getStatus): Add support for all remaingin
11153         inset-insert lfuns.
11154
11155         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11156
11157         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11158         command (necessary to pass " as parameter of self-insert.
11159
11160         * text.C (selectWordWhenUnderCursor):
11161         (selectWord): add word_location parameter
11162         (selectWordWhenUnderCursor): same + remove special code for word
11163         boundary.
11164         (selectNextWord): use kind() to guess type of insetspecialchar,
11165         not latex().
11166
11167         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11168         (insertErtContents): create ert insets as collapsed.
11169         (readInset): better compatibility code for Info inset.
11170
11171 2001-07-20  Juergen Vigna  <jug@sad.it>
11172
11173         * lyxfunc.C (dispatch): use always LyXFind now!
11174
11175         * text2.C (init): add a reinit flag so that the LyXText can be
11176         reinited instead of deleted and reallocated (used in InsetText).
11177
11178         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11179
11180         * text.C: ditto
11181
11182         * text2.C: ditto
11183
11184 2001-07-18  Juergen Vigna  <jug@sad.it>
11185
11186         * text.C (selectNextWord): handle insets inside inset by calling
11187         always the bv->text functions so that we can go up the_locking_inset!
11188
11189         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11190         in strange locations when inside an inset!
11191
11192         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11193         handling to include insets.
11194
11195         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11196
11197 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11198
11199         * LyXAction.C (init):
11200         * commandtags.h:
11201         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11202         LIGATURE_BREAK, since the name is so stupid.
11203
11204 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11205
11206         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11207         InsetInfos.
11208
11209         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11210
11211         * sp_form.[Ch]: remove.
11212
11213         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11214
11215         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11216         InsetInfo.
11217
11218         * src/buffer.C (readInset): ditto.
11219
11220 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11221
11222         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11223         menuSeparator(), endOfSentenceDot(), ldots() and
11224         hyphenationPoint(), which are therefore removed.
11225         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11226
11227         * LyXAction.C (init):
11228         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11229
11230         * paragraph.C (getWord): removed.
11231
11232         * BufferView_pimpl.C (Dispatch): use last word or selection for
11233         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11234
11235         * lyx_main.C (queryUserLyXDir): do not ask before creating
11236         user_dir, except if it has been named explicitely.
11237
11238 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11239
11240         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11241         a document of zero size.
11242
11243 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11244
11245         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11246         approriately in the c-tor and in require().
11247         (getPackages): output the appropriate LaTeX for natbib support.
11248
11249         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11250         variables "use_natbib" and "use_numerical_citations" when reading the
11251         LyX file.
11252         (readInset): read the various natbib cite commands.
11253         (validate): white-space change.
11254
11255         * bufferparams.[Ch]: new variables "bool use_natbib" and
11256         "bool use_numerical_citations".
11257         (writeFile): output them in the LyX file.
11258
11259 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11260
11261         * lyxfunc.C (getStatus): add support for all the inset insertion
11262         commands.
11263
11264         * text2.C (insertInset):
11265         * paragraph.C (insetAllowed):
11266         * BufferView_pimpl.C (insertInset): update to take in account the
11267         renaming of insertInsetAllowed
11268
11269         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11270
11271         * text2.C (getInset): new method. returns inset at cursor position.
11272
11273         * BufferView_pimpl.C (Dispatch): changes because of this.
11274
11275         * LyXAction.C (init): rename open-stuff to inset-toggle.
11276
11277         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11278
11279         * text2.C (toggleInset): renamed from openStuff; use
11280         Inset::open().
11281
11282 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11283
11284         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11285
11286         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11287
11288 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11289
11290         * buffer.C (readLyXformat2): Add filename to the error dialog
11291
11292 2001-07-18  Juergen Vigna  <jug@sad.it>
11293
11294         * tabular.C (GetCellNumber): put an assert here instead of the check!
11295
11296 2001-07-17  Juergen Vigna  <jug@sad.it>
11297
11298         * BufferView_pimpl.C (toggleSelection): adapted too.
11299
11300         * text.C (selectNextWord): adapted for use with insets.
11301         (selectSelectedWord): ditto
11302
11303 2001-07-17  Juergen Vigna  <jug@sad.it>
11304
11305         * sp_spell.C (PSpell): fix initialitation order.
11306
11307 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11308
11309         * paragraph.C: spacing
11310
11311 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11312
11313         * sp_spell.C: repair language selection for pspell
11314
11315 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11316
11317         * lyxfunc.h: change more methods to begin with lower char.
11318
11319 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11320
11321         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11322         for unknown layouts.
11323
11324 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11325
11326         * buffer.C (readLyXformat2): Generate an error dialog if there are
11327         unknown layouts.
11328
11329 2001-07-16  Juergen Vigna  <jug@sad.it>
11330
11331         * sp_spell.C: always compile ISpell part.
11332
11333         * lyxrc.C: added use_pspell entry and it's handling.
11334
11335 2001-07-13  Juergen Vigna  <jug@sad.it>
11336
11337         * sp_spell.C: removed double includes.
11338
11339 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11340
11341         Consistent use of Lsstream.h:
11342         * Lsstream.h: added using std::stringstream for consistencies sake.
11343
11344         * buffer.C: removed using std::stringstream
11345
11346         * lyxfont.C (stateText):
11347         * paragraph.C (asString):
11348         * text.C (selectNextWord, selectSelectedWord):
11349         * text2.C (setCounter):
11350         * vspace.C (asString, asLatexString):
11351         std::ostringstream -> ostringstream.
11352
11353 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11354
11355         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11356         * commandtags.h: add LFUN_HELP_ABOUTLYX
11357         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11358
11359 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11360
11361         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11362         cursorToggle()
11363         * lyx_gui_misc.C: remove spellchecker
11364         * lyxfunc.C: showSpellchecker
11365         * sp_base.h: added
11366         * sp_ispell.h: added
11367         * sp_pspell.h: added
11368         * sp_spell.C: added
11369         * sp_form.[Ch]: removed
11370         * spellchecker.[Ch]: removed
11371
11372 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11373
11374         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11375         is set.
11376         (simpleTeXSpecialChars): Simply print the input character without
11377         any special translation if pass_thru is set.
11378
11379         * layout.h: Added bool pass_thru to layout class for being able to
11380         implement pass through of a paragraph for Literate Programming.
11381
11382         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11383         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11384         * layout.C (Read): add "passthru" to list of layout tags and add
11385         code to set the pass_thru boolean when it is read.
11386
11387 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11388
11389         * trans_decl.h: remove allowed from KmodInfo
11390
11391         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11392         remove allowed code
11393         (Load): adjust
11394
11395         * paragraph_pimpl.C (erase): use boost::prior
11396
11397         * Painter.C (text): use data() instead of c_str() when length is
11398         also provided.
11399         * WorkArea.C (putClipboard): ditto
11400         * font.h (width): ditto
11401
11402         * BufferView2.C: use it-> instead of (*it). for iterators
11403         * texrow.C: ditto
11404         * paragraph_pimpl.C: ditto
11405         * paragraph.C: ditto
11406         * minibuffer.C: ditto
11407         * language.C: ditto
11408         * kbmap.C: ditto
11409         * encoding.C: ditto
11410         * counters.C: ditto
11411         * converter.C: ditto
11412         * chset.C: ditto
11413         * Variables.C: ditto
11414         * TextCache.C: ditto
11415         * MenuBackend.C: ditto
11416         * LyXAction.C: ditto
11417         * LColor.C: ditto
11418         * FloatList.C: ditto
11419         * DepTable.C: ditto
11420         * ColorHandler.C (LyXColorHandler): ditto
11421
11422 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11423
11424         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11425
11426         * text2.C (openStuff): reintroduce this method (which had been
11427         nuked in NEW_INSETS frenzy).
11428
11429         * lyxfunc.C (Dispatch): when an action has not been handled, use
11430         its name in the error message, not its number.
11431
11432         * paragraph.C (inInset): change method name to begin with lowercase.
11433
11434         * undo_funcs.C:
11435         * text2.C: updates because of this.
11436
11437 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11438
11439         * ToolbarDefaults.C (add): add spaces in error message
11440
11441 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11442
11443         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11444         (readLyXformat2): rename return_par to first_par, use lyxlex's
11445         pushToken and remove the manual push handling.
11446         (parseSingleLyXformat2Token): add another ert comp. variable:
11447         in_tabular, rename return_par to first_par. handle newlines better
11448
11449 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11450
11451         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11452
11453 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11454
11455         * text2.C (getParFromID): removed
11456
11457         * buffer.C (getParFromID): new method moved form lyxtext.
11458         * BufferView2.C (insertErrors): adjust
11459         (setCursorFromRow): adjust
11460         * BufferView_pimpl.C (restorePosition): adjust
11461         * lyxfunc.C (Dispatch): adjust
11462         * undo_funcs.C (textUndo): adjust
11463         (textRedo): adjust
11464         (textHandleUndo): adjust
11465         (textHandleUndo): adjust
11466
11467 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11468
11469         * buffer.C: up' the LYX_FORMAT
11470
11471         * lyxfont.h: turn NO_LATEX on as default
11472
11473         * buffer.C (insertErtContents): new methods of tex style compability.
11474         (parseSingleLyXformat2Token): use it several places.
11475         * tabular.C (OldFormatRead): and here
11476
11477 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11478
11479         * text2.C: remove some commented code.
11480         reindent file.
11481
11482         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11483         * trans.C: changes because of the above.
11484
11485 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11486
11487         * text2.C (setCounter): Fix counters bug with bibliography layout.
11488
11489 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11490
11491         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11492         own member functions
11493         (simpleTeXSpecialChars): ditto
11494
11495 2001-07-06  Juergen Vigna  <jug@sad.it>
11496
11497         * a lot of files: changed the access to LyXText::status and the
11498         call of undo-functions.
11499
11500         * undo.[Ch]: added a inset_id to the undo informations.
11501
11502         * undo_funcs.[Ch]: added and moved here all undo functions.
11503
11504         * lyxtext.h: give the status enum a weight, made status_ a private
11505         variable and made accessor functions for it, removed the whole bunch
11506         of undo-functions as they are now in their own file, make some
11507         functions publically available. Added function ownerParagraph with
11508         int parameter.
11509
11510         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11511         made InInset() a const function, added getParFromID() function.
11512
11513         * buffer.[Ch]: added const version for inset_iterator functions,
11514         added getInsetFromID() function.
11515
11516         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11517         changed undo functions for new version.
11518
11519 2001-07-05  Juergen Vigna  <jug@sad.it>
11520
11521         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11522         unknow mechanism does not call the proper constructor but only this
11523         one also if I request the other!?
11524
11525 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11526
11527         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11528
11529         * text2.C (LyXText): use initialization lists.
11530
11531         * lyxtext.h (Selection): initialize set_ and mark_
11532         (init): remove method
11533
11534 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11535
11536         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11537
11538 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11539
11540         * screen.[Ch]: change method names to begin with lowercase
11541
11542         * BufferView_pimpl.C (updateScrollbar): simplify further and
11543         hopefully make it a bit faster.
11544
11545 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11546
11547         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11548         calling directly xforms functions.
11549
11550         * Painter.C (Painter):
11551         * lyx_cb.C (MenuWrite):
11552         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11553         fl_display.
11554
11555         * lyx_gui.C: remove bogus guiruntime extern declaration.
11556
11557 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11558
11559         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11560         in NEW_INSETS
11561         (redoDrawingOfParagraph): ditto
11562         (redoParagraphs): ditto
11563         (cutSelection): don't create a object for CutAndPaste use the
11564         static method directly
11565         (pasteSelection): ditto
11566
11567         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11568         LyXview (+ rename)
11569
11570 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11571
11572         * modifications to some other files because of this.
11573
11574         * Makefile.am (lyx_SOURCES): add XFormsView
11575
11576         * XFormsView.[Ch]: new files
11577
11578         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11579         the main window. Move the gui dependent stuff to XFormsView
11580
11581 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11582
11583         * tabular.C (GetCellInset): update cur_cell also in the row/col
11584         version of this function.
11585
11586         * lyxfunc.C: no need to include figure_form.h here.
11587
11588         * FontLoader.h:
11589         * lyxfunc.h:
11590         * lyxscreen.h:
11591         * text2.C:
11592         * lyxvc.C: no need to include forms.h here.
11593
11594 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11595
11596         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11597
11598         * lyxfunc.C (Dispatch):
11599         * Spacing.C (set):
11600         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11601         constructor argument.
11602
11603 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11604
11605         * paragraph.C (Paragraph): dont't clear, and just set layout.
11606         (makeSameLayout): use params's copy contructor.
11607
11608         * ParagraphParameters.[Ch] (makeSame): delete method
11609
11610 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11611
11612         * Variables.[Ch]: fix indentation, rename set to isSet
11613
11614 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11615
11616         * lyxfunc.C (Dispatch): fix typo
11617
11618 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11619
11620         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11621         upper_bound.
11622
11623         * bufferlist.C: include assert.h for emergencyWrite().
11624
11625 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11626
11627         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11628           give up at last (bug #425202) !
11629
11630 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11631
11632         * lyx_gui_misc.C:
11633         * sp_form.h:
11634         * sp_form.C:
11635         * spellchecker.h:
11636         * spellchecker.C: strip spellchecker options and bring up
11637           preferences tab instead
11638
11639 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11640
11641         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11642         the istringstream constructor
11643
11644 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11645
11646         * paragraph.C (getLayout): fix return value
11647
11648         * paragraph.h: do not declare getLayout as inline.
11649
11650         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11651
11652 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11653
11654         * lyxcursor.h (operator<): new func
11655         (operator>): new func
11656         (operator>=): new func
11657         (operator<=): new func
11658
11659         * text.C (changeCase): use selection.start and selection.end
11660         (changeRegionCase): require from to be <= to. Require par to be a
11661         valid paragraph.
11662
11663         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11664
11665 2001-06-27  Juergen Vigna  <jug@sad.it>
11666
11667         * text.C (cursorLeftOneWord): changed to return the cursor and added
11668         overlay with BufferView * parameter which calls this one.
11669         (getWord): added
11670         (selectWord): use new getWord function.
11671         (changeCase): renamed from changeWordCase as and extended to work
11672         also on selections.
11673
11674         * lyxtext.h: added enum word_location
11675
11676         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11677         changeCase as this operates now also on selections.
11678
11679 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11680
11681         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11682
11683         * many files: send debug output to Debug::INFO instead of
11684         Debug::ANY.
11685
11686         * converter.C (View):
11687         (Convert):
11688         (Move): send debug output to Debug::FILES instead of console.
11689
11690 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11691
11692         * lyxfunc.C (getStatus): use func_status
11693
11694         * func_status.h: new header, describing the results of
11695         LyXFunc::getStatus;
11696
11697         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11698         LFUN_MATH_HALIGN.
11699
11700 2001-06-25  The LyX Project  <jug@sad.it>
11701
11702         * buffer.C (sgmlOpenTag):
11703         (sgmlCloseTag):
11704         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11705
11706 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11707
11708         * text2.C: remove some dead code
11709
11710         * tabular.C (GetCellInset): store the last cell checked (gotten)
11711
11712         * tabular.h: add the helper for the speedup
11713
11714         * lyxtext.h: remove some dead code
11715
11716 2001-06-26  The LyX Project  <Asger>
11717
11718         * paragraph.C: Change export to LaTeX of alignment to
11719         \begin{center} and family for better roundtrip work with reLyX.
11720
11721         * Tune the math drawing a bit.
11722
11723 2001-06-25  The LyX Project  <Asger>
11724
11725         * LColor.C (LColor): New color for math background. New color
11726         for buttons.
11727
11728 2001-06-25  The LyX Project  <jug@sad.it>
11729
11730         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11731
11732         * lyxfunc.C (Open):
11733         * bufferlist.C (newFile): do not restrict to files ending with
11734         .lyx
11735
11736         * BufferView_pimpl.C (MenuInsertLyXFile):
11737
11738 2001-06-24  The LyX Project  <jug@sad.it>
11739
11740         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11741         of compare_no_case
11742
11743 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11744
11745         * lyxtext.h: rename most methods to begin with a small char.
11746         Lots of changes because of this.
11747
11748         * paragraph.C (Paragraph): do not call fitToSize
11749         (erase): call Pimpl::erase
11750         (insertChar): call Pimpl::insertChar
11751         (insertInset): call Pipl::insertInset
11752         (breakParagraph): do not call fitToSize
11753         (breakParagraphConservative): do not call fitToSize
11754         (fitToSize): remove method
11755
11756         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11757
11758 2001-06-24  The LyX Project  <Asger>
11759
11760         * Fix Qt compilation^2
11761
11762 2001-06-24  The LyX Project  <jug@sad.it>
11763
11764         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11765         depthHook(getDepth()-1).
11766
11767         * paragraph.h:
11768         * ParagraphParameters.h:
11769         * ParameterStruct.h: change type of depth to unsigned int ==
11770         depth_type. Many adaptations to other files before of that.
11771
11772 2001-06-24  The LyX Project  <Asger>
11773
11774         * Fix Qt compilation.
11775
11776 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11777
11778         * paragraph.h: renamed several methods to begin with small letter.
11779         several changes to many parts of the code because of this.
11780
11781 2001-06-23  The LyX Project  <jug@sad.it>
11782
11783         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11784         rewritten to discard all double spaces when KeepEmpty is off
11785         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11786         to only handle newlines but not fiddle with spaces and friends.
11787
11788         * lyxfunc.C (MenuNew): when doing 'new from template', use
11789         template_path as default directory
11790
11791 2001-06-23  The LyX Project  <Asger>
11792
11793         * Clean-up of header file includes all over
11794         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11795
11796 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11797
11798         * paragraph.h: renamed from lyxparagraph.h
11799
11800 2001-06-23  Asger  <lyx@violet.home.sad.it>
11801
11802         * Buffer.h: Removed Buffer::resize
11803         * BufferList.h: Removed BufferList::resize
11804         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11805         the document lazily when we change the width, or the font settings.
11806
11807 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11808
11809         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11810
11811 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11812
11813         * buffer.h: remove out of date comment
11814
11815 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11816
11817         * lyxscreen.h:
11818         * screen.C: fix "theoretical" GC leak
11819
11820 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11821
11822         * LaTeX.C (scanAuxFile):
11823         (deplog): remove trailing \r when reading stream (useful under
11824         win32)
11825
11826 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11827
11828         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11829         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11830         and BufferView::theLockingInset(Inset*), so should use them and not
11831         access bv_->text->the_locking_inset directly.
11832
11833         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11834
11835 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11836
11837         * Makefile.am:
11838         * tex-defs.h: remove old unused file
11839
11840 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11841
11842         * BufferView_pimpl.C: fix typo, remove minibuffer message
11843           when buffer has loaded
11844
11845 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11846
11847         * lyxfunc.C (Dispatch): use stringstream
11848         (MenuNew): use stringstream
11849         (Open): use stringstream
11850
11851         * importer.C (Import): use stringstream
11852
11853         * bufferview_funcs.C (CurrentState): use stringstream
11854
11855         * LaTeX.C (run): use stringstream
11856
11857         * BufferView_pimpl.C (savePosition): use stringstream
11858         (restorePosition): use stringstream
11859         (MenuInsertLyXFile): use stringstream
11860
11861 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11862
11863         * BufferView.C:
11864         * Bullet.C:
11865         * ColorHandler.C:
11866         * FontInfo.C:
11867         * FontLoader.C:
11868         * LColor.C:
11869         * LaTeXFeatures.C:
11870         * Painter.C:
11871         * gettext.C:
11872         * lyx_gui_misc.C:
11873         * lyxserver.C:
11874         * vspace.C: removed // -*- C++ -*- as first line.
11875
11876         * lyxfind.h:
11877         * version.h: added // -*- C++ -*- as first line.
11878
11879 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11880
11881         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11882
11883         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11884         of string
11885
11886 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11887
11888         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11889         of floats.
11890
11891 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11892
11893         * gettext.C: include LString.h even when --disable-nls is on.
11894
11895 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11896
11897         * converter.h (Get): changed argument type from int to
11898         FormatList::size_type to avoid unnecessary conversion.
11899
11900         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11901         before using it.
11902
11903 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11904
11905         * gettext.h: include LString.h even when --disable-nls is on.
11906
11907 2001-06-07  Juergen Vigna  <jug@sad.it>
11908
11909         * text.C (BreakAgain): subst spaces with tabs.
11910
11911         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11912         (resizeInsetsLyXText): set force on resizeLyXText.
11913
11914 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11915
11916         * gettext.h (gettext_init):
11917         (locale_init): use a real definition instead of a macro
11918
11919 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11920
11921         * Bufferview_pimpl.C:
11922         * LColor.h:
11923         * LColor.C: further lcolor tidies
11924
11925 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11926
11927         * BufferView_pimpl.C (updateScrollbar): simplify.
11928
11929         * BufferView2.C: don't include insets/insetinfo.h, change
11930         prototype for insertInset and call the Pimpl version. let
11931         updateInset call Pimpl version.
11932
11933         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11934         gotoInset to BufferView::Pimpl
11935
11936 2001-06-01  Juergen Vigna  <jug@sad.it>
11937
11938         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11939         inside a LockingInset (is the update needed at all?).
11940
11941 2001-05-31  Juergen Vigna  <jug@sad.it>
11942
11943         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11944         here not the old one otherwise how should we compare it afterwards
11945         if it's the same!
11946
11947 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11948
11949         * lyxfont.C:
11950         * tabular.C:
11951         * tabular-old.C:
11952         * FontInfo.C: bring C functions into global namespace when
11953         necessary
11954
11955 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11956
11957         * LString.h: make sure config.h has been loaded before LString.h.
11958
11959         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11960         (one for each char read by EatLine!).
11961
11962         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11963         variables.
11964
11965 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11966
11967         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11968         to the same as the par we break from
11969
11970 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11971
11972         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11973
11974         * MenuBackend.C (expand): also create menu entries for wide
11975         versions of the floats.
11976
11977         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11978
11979         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11980
11981         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11982         frontends/Makefile.am
11983
11984         * text2.C: adjust
11985         * text.C: adjust
11986
11987
11988         * tabular.C (getTokenValue): add std::
11989
11990         * tabular-old.C (getTokenValue): add std::
11991         (getTokenValue): ditto
11992         (getTokenValue): ditto
11993
11994         * screen.C (ToggleSelection): adjust
11995
11996         * lyxtext.h: put selection cursors inside a Selection struct.
11997
11998         * lyxfunc.C (moveCursorUpdate): adjust
11999
12000         * lyxfont.C (latexWriteStartChanges): add std::
12001
12002         * lyxfind.C: adjust
12003
12004         * font.h: delete with(char const *, LyXFont const &)
12005
12006         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12007
12008         * FontInfo.C (getFontname): add std::
12009
12010         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12011         (workAreaButtonPress): adjust
12012         (tripleClick): adjust
12013         (update): adjust
12014         (moveCursorUpdate): adjust
12015         (Dispatch): adjust
12016
12017         * BufferView2.C (gotoInset): adjust
12018
12019 2001-05-30  Juergen Vigna  <jug@sad.it>
12020
12021         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12022         to check pspell I add this as default as I now have new pspell
12023         libraries and they seem to use this.
12024
12025 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12026
12027         * text2.C (CutSelection): make the cursor valid before the call to
12028         ClearSelection.
12029
12030 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12031
12032         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12033         relied on 0 terminated strings and other horrors. Bug found due to
12034         the new assert in lyxstring!
12035
12036         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12037         KP_ keys.
12038
12039 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12040
12041         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12042         to latinkeys.bind.
12043
12044         * lyxfunc.C (processKeySym): change method of getting to the
12045         self-insert char.
12046
12047         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12048         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12049         * BufferView_pimpl.[Ch]: here as private methods.
12050
12051 2001-05-28  Juergen Vigna  <jug@sad.it>
12052
12053         * text.C (SetHeightOfRow): added the update() call again as it is
12054         needed to initialize inset dimensions!
12055
12056 2001-05-16  Juergen Vigna  <jug@sad.it>
12057
12058         * text2.C (SetCharFont): Add new function with BufferView * and
12059         bool toggleall parameters for setting insets internal fonts.
12060         (SetFont): Freeze the undo as we may change fonts in Insets and
12061         all this change should be inside only one Undo!
12062
12063         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12064         setting font's in insets as for them we have the SetFont function!
12065
12066 2001-05-15  Juergen Vigna  <jug@sad.it>
12067
12068         * text2.C (ClearSelection): to be sure we REALLY don't have any
12069         selection anymore!
12070
12071         * tabular.C (TeXCellPreamble): fixed the left border problem for
12072         multicolumn cells.
12073
12074 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12075
12076         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12077         dependancy file
12078
12079 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12080
12081         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12082         LFUN_BREAKPARAGRAPH.
12083
12084         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12085         help test to "internal only", similar for LFUN_INSERT_URL
12086
12087         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12088         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12089         auto_region_delete and deadkeys.
12090
12091 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12092
12093         * LColor.h:
12094         * LColor.C: remove some dead entries, tidy a little
12095
12096 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12097
12098         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12099         commented code.
12100         (Dispatch): implement LFUN_ESCAPE
12101
12102         * commandtags.h: add LFUN_ESCAPE
12103
12104         * LyXAction.C (init): add entry for LFUN_ESCAPE
12105
12106         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12107         Remove commented code.
12108         (insertNote): moved here
12109         (open_new_inset): moved here
12110
12111         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12112         BufferView_pimpl
12113
12114 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12115
12116         * kbmap.C (findbinding): clean it up and make it work correctly.
12117
12118         * lyx_main.C (init): do not pass argc and argv as parameters
12119
12120 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12121
12122         * buffer.C: fix path for OS/2 & Win32
12123
12124         * lyx_gui.C:
12125         * lyx_main:
12126         * lyx_main.C: Added os:: class.
12127
12128         * os2_defines.h: update
12129
12130 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12131
12132         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12133         better by trying again with reduced state.
12134
12135 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12136
12137         * lyxrc.C (read): print error about invalid key sequence only when
12138         debugging (because not all latinX keysyms are known to some X
12139         servers)
12140
12141         * kbsequence.C (getiso): add a few std:: qualifiers
12142         (getiso): comment out extra return statement.
12143
12144 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12145
12146         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12147         handling.
12148         (Dispatch): enhance the accent inset a bit. (not perfect)
12149
12150 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12151
12152         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12153
12154 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12155
12156         * bufferlist.C (emergencyWrite): fix assert() call
12157
12158 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12159
12160         * text.C (InsertChar): Added trivial patch to only send the "you
12161         can not do multiple spaces this way" message once during a
12162         session.
12163
12164 2001-05-08  Baruch Even  <baruch@lyx.org>
12165
12166         * Makefile.am: Changed order of libraries to get LyX to link properly
12167         with the gnome frontend.
12168
12169 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12170
12171         * LaTeXFeatures.h: add a std:: qualifier
12172
12173 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12174
12175         * paragraph.C (String): use stringstream
12176
12177 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12178
12179         * paragraph.C (writeFile): remove footflag arg
12180
12181         * buffer.C (makeLaTeXFile): use stringstream
12182         (latexParagraphs): remove footnot gurba
12183
12184         * LaTeXFeatures.C (getPackages): use stringstream
12185         (getMacros): likewise
12186         (getTClassPreamble): likewise
12187         (getFloatDefinitions): new method
12188
12189         * paragraph.C (writeFile): reindent
12190         (Erase): reindent
12191
12192         * WorkArea.h: revert the xpos + etc changes.
12193
12194         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12195
12196         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12197
12198         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12199         (pasteSelection): likewise
12200         * text2.C (CreateUndo): likewise
12201
12202 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12203
12204         * minibuffer.C (peek_event): temporarily reduce the functionality
12205         of the minibuffer (to allow args on lfuns)
12206
12207         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12208         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12209
12210         * buffer.C (readInset): add compability reading of old float
12211         lists, add reading of new style float list.
12212         (readInset): avoid reevaluation of inscmd.getCmdName()
12213         (getLists): reindent
12214
12215         * MenuBackend.C (MenuItem): implement parsing of
12216         md_floatlistinsert and md_floatinsert.
12217         (expand::LastFiles): move initalizaton of iterators out of loop,
12218         avoid reevaluation.
12219         (expand::Documents): introduce typdedef vector<string> Strings,
12220         and use it.
12221         (expand::ExportFormats): introduce typedef vector<Format const *>
12222         Formats, and use it.
12223         (expand): implement FloatListInsert and FloatInsert.
12224
12225         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12226         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12227         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12228
12229         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12230         handling.
12231         (Dispatch::LFUN_FLOAT_LIST): implement
12232
12233 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12234
12235         * LaTeX.C (run): Fix problem with --export code.
12236
12237 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12238
12239         * BufferView.[Ch] (workarea): removed.
12240         (getClipboard) new method; wrapper for workarea()->getClipboard()
12241
12242         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12243         bug.
12244
12245         * WorkArea.h (width, height, xpos, ypos): These methods all
12246         returned the dimensions of the work_area sub-area of WorkArea,
12247         resulting in a position error if the WorkArea were resized. Now
12248         return the dimensions of the entire WorkArea.
12249
12250         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12251
12252 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12253
12254         * LaTeX.C (deplog): correct the syntax of regex reg1
12255
12256 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12257
12258         * undo.C: remove !NEW_INSETS cruft
12259
12260 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12261
12262         * text2.C: remove !NEW_INSETS cruft
12263
12264         * text.C: remove !NEW_INSETS cruft
12265
12266         * tabular.C: remove !NEW_INSETS cruft
12267
12268         * spellchecker.C: remove !NEW_INSETS cruft
12269
12270         * lyxtext.h: remove !NEW_INSETS cruft
12271
12272         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12273
12274         * lyxfunc.C: remove !NEW_INSETS cruft
12275
12276         * lyxfind.C: remove !NEW_INSETS cruft
12277
12278         * lyx_cb.C: remove !NEW_INSETS cruft
12279
12280         * figureForm.C: remove  !NEW_INSETS cruft
12281
12282         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12283
12284         * buffer.[Ch]: remove !NEW_INSETS cruft
12285
12286         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12287
12288         * CutAndPaste.C: remove !NEW_INSETS cruft
12289
12290         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12291
12292         * BufferView2.C: remove !NEW_INSETS cruft
12293
12294         * BufferView.h: remove !NEW_INSETS cruft
12295
12296 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12297
12298         * Lsstream.h: include LString.h before the sstream headers to
12299         fix problem with gcc 2.95.3 and lyxstring
12300
12301 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12302
12303         * lyx_main.C: add using directives when needed for C functions
12304         declared in std:: namespace.
12305
12306 2001-04-27  Juergen Vigna  <jug@sad.it>
12307
12308         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12309         (SetHeightOfRow): comment out the update call should not be needed!
12310
12311 2001-04-13  Juergen Vigna  <jug@sad.it>
12312
12313         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12314         (LyXTabular): tried to minimize operator= operations (and realized
12315         hopfully Lars wish).
12316
12317 2001-04-27  Juergen Vigna  <jug@sad.it>
12318
12319         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12320
12321 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12322
12323         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12324
12325         * buffer.C (readInset): hack to make listof algorithm work
12326
12327         * BufferView_pimpl.C: hack to make listof algorithm work
12328
12329 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12330
12331         * LyXAction.C: removed all !NEW_INSETS cruft
12332         (init): moved lfun_item in method
12333
12334         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12335
12336 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12337
12338         * BufferView2.C (theLockingInset): white space.
12339
12340 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12341
12342         * minibuffer.C: include <iostream>
12343
12344         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12345
12346         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12347
12348         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12349
12350         * text.[Ch] (TransposeChars): new method
12351
12352 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12353
12354         * call message directly through LyXView instead of through LyXFunc
12355         * BufferView2.C: adjust
12356         * BufferView_pimpl.C: adjust
12357         * FontLoader.C: adjust
12358         * buffer.C: adjust
12359         * bufferview_funcs.C: adjust
12360         * converter.C: adjust
12361         * figureForm.C: adjust
12362         * importer.C: adjust
12363         * lyx_cb.C: adjust
12364         * lyx_gui_misc.C: adjust
12365         * lyxfunc.C: adjust
12366         * lyxvc.C: adjust
12367         * text2.C: adjust
12368         + more files in subdirs
12369
12370         * lyxparagraph.h (size): move up int file
12371         (GetLayout): ditto
12372
12373         * adjust all uses of Assert to lyx::Assert.
12374
12375         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12376         lyxfunctional in namespace lyx
12377         * layout.C (hasLayout): ditto
12378         (GetLayout): ditto
12379         (GetLayout): ditto
12380         (delete_layout): ditto
12381         (NumberOfClass): ditto
12382         * converter.C (GetFormat): ditto
12383         (GetNumber): ditto
12384         (Add): ditto
12385         (Delete): ditto
12386         (SetViewer): ditto
12387         * bufferlist.C (getFileNames): ditto
12388         (emergencyWriteAll): ditto
12389         (exists): ditto
12390         (getBuffer): ditto
12391         * MenuBackend.C (hasSubmenu): ditto
12392         (hasMenu): ditto
12393         (getMenu): ditto
12394         * BufferView_pimpl.C (getInsetByCode): ditto
12395
12396 2001-04-18  Juergen Vigna  <jug@sad.it>
12397
12398         * vspace.C (asLatexString): fixed the 100% problem.
12399
12400 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12401
12402         * lyxfunc.C (Dispatch):
12403         * minibuffer.C:
12404         * minibuffer.h: add a few std:: qualifiers
12405
12406 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12407
12408         * minibuffer.[Ch]: reimplement so that commands is initiated and
12409         run from lyxfunc, simplified som handling, and made the completion
12410         and history code for complete. wip.
12411
12412         * lyxfunc.C (processKeySym): call message
12413         (miniDispatch): new temporary method
12414         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12415         (LFUN_MESSAGE): implement
12416         (LFUN_MESSAGE_PUSH): implement
12417         (LFUN_MESSAGE_POP): implement
12418         (initMiniBuffer): the initial/defualt minibuffer message.
12419
12420         * lyxfont.[Ch]: inline some more getters
12421
12422         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12423
12424         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12425
12426         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12427         (AutoSave): use LFUN_MESSAGE
12428         (Reconfigure): ditto
12429
12430         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12431
12432         * figureForm.C: use LFUN_MESSAGE
12433
12434         * converter.C (runLaTeX): use LFUN_MESSAGE
12435
12436         * bufferview_funcs.C: use LFUN_MESSAGE
12437         (Melt): ditto
12438         (changeDepth): ditto
12439
12440         * bufferparams.h: use boost::
12441
12442         * bufferlist.h: inherit privately from noncopyable
12443
12444         * bufferlist.C (loadLyXFile): remove some commented code.
12445
12446         * buffer.C (runChktex): use LFUN_MESSAGE
12447
12448         * ShareContainer.h: inherit privately from noncopyable
12449
12450         * ParagraphParameters.[hC] (depth): inline it.
12451
12452         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12453         methods.
12454         (message): new method
12455         (messagePush): ditto
12456         (messagePop): ditto
12457         (show): init minibuffer
12458         (showState): direct call
12459
12460         * LaTeX.[Ch]: inherit privately from noncopyable
12461         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12462         instead of WriteStatus.
12463
12464         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12465
12466         * BufferView_pimpl.C (buffer): don't init minibuffer
12467         (workAreaButtonPress): use LFUN_MESSAGE
12468         (workAreaButtonRelease): ditto
12469         (savePosition): ditto
12470         (restorePosition): ditto
12471         (MenuInsertLyXFile): ditto
12472         (workAreaExpose): don't init minibuffer
12473         (update): remove commented code, simplify
12474
12475         * BufferView2.C (openStuff): use LFUN_MESSAGE
12476         (toggleFloat): ditto
12477         (menuUndo): ditto
12478         (menuRedo): ditto
12479         (copyEnvironment): ditto
12480         (pasteEnvironment): ditto
12481         (copy): ditto
12482         (cut): ditto
12483         (paste): ditto
12484         (gotoInset): ditto
12485         (updateInset): remove some commented code
12486
12487         * lastfiles.h: inherit privately from noncopyable
12488         * layout.h: ditto
12489         * lyx_gui.h: ditto
12490         * lyx_main.h: ditto
12491         * lyxlex.h: ditto
12492         * lyxlex_pimpl.h: ditto
12493
12494         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12495         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12496         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12497
12498         * LyXAction.h: inherit privately from noncopyable, add methods
12499         func_begin, func_end, returning iterators to the func map.
12500
12501         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12502         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12503         (func_begin): new method
12504         (func_end): new method
12505
12506         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12507         and not)
12508         (copySelection): ditto
12509         (pasteSelection): ditto
12510
12511         * BufferView.C: whitespace change
12512         * BufferView.h: inherit privately from noncopyable
12513
12514 2001-04-16  Allan Rae  <rae@lyx.org>
12515
12516         * tabular-old.C (l_getline):
12517         * spellchecker.C (sc_check_word):
12518         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12519         an unrecognised preprocessor directive.  So ensure they're wrapped.
12520
12521 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12522
12523         * src/exporter.C (Export): Give an error message when path to file
12524         contains spaces.
12525
12526 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12527
12528         * LaTeX.C (deplog): Always check that foundfile exists.
12529
12530 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12531
12532         * lyx_main.h:
12533         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12534
12535 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12536
12537         * tabular.[Ch] (getLabelList): implement new method
12538
12539         * minibuffer.h: comment ouf setTiimer
12540
12541         * minibuffer.C (ExecutingCB): constify res
12542         (peek_event): constify s
12543         (Set): constify ntext
12544         (Init): constify nicename
12545
12546         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12547
12548         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12549         (savePosition): use two params to Minibuffer::Set
12550         (restorePosition): ditto
12551
12552 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12553
12554         * lyx_main.C: include language.h
12555
12556         * Makefile.am (lyx_main.o): add language.h
12557
12558 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12559
12560         * exporter.C:
12561         * paragraph.C:
12562         * screen.C:
12563         * tabular.C:
12564         * CutAndPaste.C: include gettext.h
12565
12566         * lyxfont.h: remove old hack with ON and OFF.
12567
12568         * lyxparagraph.h:
12569         * lyxfont.h: do not include language.h...
12570
12571         * BufferView2.C:
12572         * LaTeXFeatures.C:
12573         * Painter.C:
12574         * bufferview_funcs.C:
12575         * font.C:
12576         * lyxfont.C:
12577         * text.C:
12578         * text2.C:
12579         * trans_mgr.C:
12580         * paragraph.C: ... but do it here instead
12581
12582 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12583
12584         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12585
12586         * tabular.C: small reformat
12587
12588         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12589         NEW_INSETS version
12590         (GetChar): ditto
12591         (BreakParagraph): ditto
12592         (SetOnlyLayout): ditto
12593         (SetLayout): ditto
12594
12595         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12596         with one arg less.
12597
12598         * lastfiles.C: removed most using decl, add std:: where needed
12599
12600         * buffer.C: ws changes
12601
12602         * MenuBackend.C (class compare_format): put into anon namespace
12603         (expand): constify label, names, action, action2
12604         (expand):
12605
12606         * text.C (SingleWidth): constify font
12607         (IsBoundary): constify rtl2
12608         (GetVisibleRow): constify ww
12609
12610         * LaTeX.C (deplog): constify logfile
12611
12612         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12613         start_x, end_x
12614         (workAreaExpose): constify widthChange, heightChange
12615
12616         * lyxrow.C (par): moved
12617         (height): moved
12618         (next): moved
12619         * lyxrow.h: as inlines here
12620
12621         * lyxfont.h (shape): moved from lyxfont.C
12622         (emph): moved from lyxfont.C
12623
12624         * lyxfont.C (LyXFont): use initialization list for all
12625         constructors
12626         (shape): move to lyxfont.h as inline
12627         (emph): move to lyxfont.h as inline
12628
12629
12630 2001-04-04  Juergen Vigna  <jug@sad.it>
12631
12632         * vspace.C: had to include stdio.h for use of sscanf
12633
12634 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12635
12636         * BufferView.h:
12637         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12638         independent of xforms.
12639
12640 2001-04-02  Juergen Vigna  <jug@sad.it>
12641
12642         * spellchecker.C: fixed namespace placing!
12643
12644 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12645
12646         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12647         the LyXParagraph * is 0.
12648
12649 2001-03-29  Juergen Vigna  <jug@sad.it>
12650
12651         * vspace.C: added support for %, c%, p%, l%.
12652         (stringFromUnit): added helper function.
12653         (asLatexString): changed to give right results for the %-values.
12654
12655         * buffer.C: convert the widthp in a width%.
12656
12657 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12658
12659         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12660         figureForm.[Ch].
12661
12662         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12663         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12664
12665         * lyx_cb.[Ch]: see above.
12666
12667         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12668         form1.[Ch].
12669
12670         * form1.[Ch]:
12671         * lyx.[Ch]: replaced by figure_form.[Ch].
12672
12673         * lyx_gui.C:
12674         * lyx_gui_misc.C:
12675         * lyxfunc.C: changed headers associated with above changes.
12676
12677 2001-03-27  Juergen Vigna  <jug@sad.it>
12678
12679         * BufferView_pimpl.C: set the temporary cursor right!
12680
12681 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12682
12683         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12684
12685 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12686
12687         * LString.h: removed "using std::getline"!
12688
12689         * BufferView_pimpl.C (Dispatch): changes due to changes in
12690         InsetInclude::Params.
12691
12692         * buffer.C (tag_name): removed redundant break statements as they were
12693         producing lots of warnings with my compiler.
12694
12695 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12696
12697         * LString.h: add "using std::getline" when using the real <string>.
12698
12699 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12700
12701         * buffer.C: removed bitset usage.
12702         PAR_TAG moved to an anonymous name space.
12703         (tag_name): new funtion, also in the anonymous namespace.
12704         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12705         (makeDocBookFile): clean code. Completed transition from string arrays
12706         to string vectors.
12707         (SimpleDocBookOnePar): code clean.
12708
12709 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12710
12711         * tabular.C: add some comments.
12712
12713 2001-03-22  Juergen Vigna  <jug@sad.it>
12714
12715         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12716         compatibility read a bit and fixed bug with minipage in different
12717         depth.
12718
12719 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12720
12721         * buffer.C (pop_tag): removed.
12722         (push_tag): removed.
12723         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12724         array replaced with vector. Added support for CDATA sections.
12725         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12726         at any nest level.
12727         (makeDocBookFile): XML conformant declaration of CDATA section,
12728         fixed bug related to <emphasis> in the first paragraph char.
12729         (sgmlOpenTag): exclude empty tags.
12730         (sgmlCloseTag): ditto.
12731
12732         * buffer.h (pop_tag): removed.
12733         (push_tag): removed.
12734
12735 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12736
12737         * language.h (Languages): added size_type and size().
12738
12739 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12740
12741         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12742         response on compability reading of minipages. One probliem is that
12743         the old usage of minipages was «flertydig»
12744
12745         * several files here and in subdirs: don't use static at file
12746         scope use anon namespaces instead.
12747
12748 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12749
12750         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12751         LaTeX output. This is necessary for Literate document
12752         processing.
12753
12754 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12755
12756         * buffer.C: insert hfill when needed.
12757
12758         * tabular.C (l_getline): use string::erase, small whitespace change.
12759
12760         * BufferView_pimpl.C: try the anon namespace.
12761         * WorkArea.C: ditto
12762
12763 2001-03-16  Juergen Vigna  <jug@sad.it>
12764
12765         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12766         otherwise it won't open options-dialogs.
12767
12768         * buffer.C: honor pextraWidth(p) on converting minipages.
12769
12770         * tabular.C (l_getline): changed the functions to strip trailing \r.
12771
12772 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12773
12774         * BufferView_pimpl.C:
12775         * minibuffer..C: added "using SigC::slot" declaration.
12776
12777 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12778
12779         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12780
12781         * text2.C: ditto
12782
12783         * text.C: ditto
12784
12785         * paragraph.C: ditto
12786
12787         * lyxtext.h: NO_PEXTRA
12788
12789         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12790
12791         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12792         * ParameterStruct.h: ditto
12793         * ParagraphParameters.h: ditto
12794         * lyxparagraph.h: ditto
12795
12796 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12797
12798         * buffer.C: add compability for minipage alignment.
12799         (latexParagraphs): remove unwanted pextra check.
12800
12801         * several files: remove CXX_WORKING_NAMESPACES
12802
12803         * buffer.C (pop_tag): tie is in namespace boost
12804
12805         * BufferView.h: noncopyable is in namespace boost
12806         * lyxlex.h: ditto
12807         * lyx_main.h: ditto
12808         * lyx_gui.h: ditto
12809         * layout.h: ditto
12810         * lastfiles.h: ditto
12811         * bufferlist.h: ditto
12812         * ShareContainer.h: ditto
12813         * LyXView.h: ditto
12814         * LyXAction.h: ditto
12815         * LaTeX.h: ditto
12816
12817 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12818
12819         * Merging changes from BRANCH_MVC back into HEAD.
12820
12821         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12822
12823 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12824
12825         * BufferView_pimpl.C: change from intl.C
12826
12827         * combox.h:
12828         * combox.C:
12829         * Makefile.am: move combox.*
12830
12831         * form1.h:
12832         * form1.C:
12833         * lyx_gui.C:
12834         * intl.h:
12835         * intl.C: remove dialog (covered by prefs)
12836
12837 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12838
12839         * lyxfunc.C (Dispatch): removed redundant break statement.
12840
12841 2001-03-14  Juergen Vigna  <jug@sad.it>
12842
12843         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12844
12845 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12846
12847         * buffer.C: add hack to fix compability reading of minipages.
12848
12849 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12850
12851         * buffer.C (getLists): Cleanup.
12852
12853 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12854
12855         * lyxfont.C (update): don't honor toggleall on font size.
12856
12857 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12858
12859         * bmtable.c:
12860         * bmtable.h:
12861         * Makefile.am: moved to frontends/xforms/
12862
12863         * lyx_gui_misc.C:
12864         * lyxfunc.C:
12865         * BufferView_pimpl.C: changes for moved mathpanel
12866
12867 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12868
12869         * gettext.h: fix gettext_init() in --disable-nls
12870
12871 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12872
12873         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12874
12875 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12876
12877         * lyx.C:
12878         * lyx.h: strip external form
12879
12880 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12881
12882         * BufferView_pimpl.C: add comment, destroySplash()
12883
12884 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12885
12886         * BufferView_pimpl.C:
12887         * LyXAction.C:
12888         * buffer.C:
12889         * commandtags.h:
12890         * lyxfunc.C: use re-worked insetinclude
12891
12892 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12893
12894         * buffer.C: add using std::stringstream.
12895
12896         * lyx_cb.C: readd using std::ios.
12897
12898         * buffer.C: add using std::map.
12899
12900         * BufferView_pimpl.C: add using std::vector.
12901
12902         * ShareContainer.h: add std:: to swap.
12903
12904         * buffer.h: add some typedefs
12905         * buffer.C (getLists): use them
12906         (getLists): renamed from getTocList.
12907         add a counter for the different float types and use it in the
12908         generated string.
12909         (getLists): use the same counter for the NEW_INSETS and the "non"
12910         NEW_INSETS
12911
12912         * lyx_cb.h: remove unused items, includes, using etc.
12913
12914         * ShareContainer.h: remove some commented code, add more comments
12915         and "documentation".
12916
12917 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12918
12919         * buffer.C (getTocList): make the list also when NEW_INSETS is
12920         defined.
12921
12922         * buffer.h: remove TocType
12923
12924         * buffer.C (getTocList): change to return a map<string,
12925         vector<TocItem> >, implement for dynamic number of list.
12926
12927         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12928         * text2.C (PasteSelection): adjust
12929         * CutAndPaste.C (pasteSelection): adjust
12930
12931         * FloatList.C (FloatList): update from the new_insets branch.
12932         * Floating.[Ch]: ditto
12933         * LaTeXFeatures.C: ditto
12934         * buffer.C: ditto
12935         * lyxlex_pimpl.C: ditto
12936
12937         * paragraph.C (Last): remove when NEW_INSETS is defined.
12938
12939         * other file: changes because of the above.
12940
12941 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12942
12943         * lyxparagraph.h: rename next to next_, previous to previous_,
12944         make them private for NEW_INSETS. Rename Next() to next(),
12945         Previous() to previous().
12946
12947         * other files: changes because of the above.
12948
12949 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12950
12951         * BufferView.h:
12952         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12953         problem.
12954
12955 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12956
12957         * main.C (main): pass lyx_localedir to gettext_init().
12958
12959         * gettext.h: remove locale_init and gettext_init macros
12960
12961         * gettext.C (locale_init): new function
12962         (gettext_init): new function
12963
12964         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12965         setlocale().
12966
12967 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12968
12969         * Moved credits to frontends:
12970         * credits.[Ch]: removed
12971         * credits_form.[Ch]: removed
12972         * lyx_gui_misc.C: remove credits stuff
12973         * Makefile.am:
12974
12975 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12976
12977         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12978
12979         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12980         unneeded destructor.
12981
12982         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12983         a standalone pointer again.
12984
12985         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12986
12987 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12988
12989         * Makefile.am:
12990         * filedlg.h:
12991         * filedlg.C:
12992         * LyXAction.C:
12993         * ToolbarDefaults.C:
12994         * bufferlist.C:
12995         * commandtags.h:
12996         * form1.C:
12997         * form1.h:
12998         * lyx_cb.C:
12999         * lyx_cb.h:
13000         * lyxfunc.h:
13001         * lyxfunc.C:
13002         * BufferView_pimpl.C: use new file dialog in GUII
13003
13004         * lyx_cb.h:
13005         * lyx_cb.C: remove LayoutsCB to Toolbar
13006
13007 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13008
13009         * ShareContainer.h (get): add std:: qualifier
13010
13011 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13012
13013         * ShareContainer.h: define a proper ShareContainer::value_type
13014         type (and use typename to please compaq cxx)
13015
13016 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13017
13018         * lyxparagraph.h: move serveral local vars to
13019         ParameterStruct/ParagraphParameters., use ShareContainer in
13020         FontTable., make vars in FontTable private and add getter and
13021         setter.
13022
13023         * paragraph.C: changes because of the above.
13024
13025         * lyxfont.h: remove copy constructor and copy assignment. (the
13026         default ones is ok), move number inside FontBits. move inlines to
13027         lyxfont.C
13028
13029         * lyxfont.C: add number to initializaton of statics, move several
13030         inlines here. constify several local vars. some whitespace
13031         cleanup. Dont hide outerscope variables.
13032
13033         * Spacing.h: add two new constructors to match the set methods.
13034
13035         * ShareContainer.h: new file, will perhaps be moved to support
13036
13037         * ParameterStruct.h: new file
13038
13039         * ParagraphParameters.h: new file
13040
13041         * ParagraphParameters.C: new file
13042
13043         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13044         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13045
13046         * BufferView_pimpl.C: ParagraphParameter changes.
13047         * buffer.C: Likewise.
13048         * bufferview_funcs.C: Likewise.
13049         * text.C: Likewise.
13050         * text2.C: Likewise.
13051
13052 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13053
13054         * lyxfind.C (LyXReplace): do not redefine default argument in
13055         implementation.
13056         (IsStringInText): ditto
13057         (SearchForward): ditto
13058         (SearchBackward): ditto
13059
13060 2001-03-06  Juergen Vigna  <jug@sad.it>
13061
13062         * lyxfind.C (IsStringInText): put parentes around expressions.
13063
13064 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13065
13066         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13067
13068 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13069
13070         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13071
13072         * stl_string_fwd.h: add comment
13073
13074         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13075
13076         * tabular.h:
13077         * tabular.C: remove unused DocBook methods
13078
13079         * intl.C:
13080         * language.C:
13081         * paragraph.C:
13082         * buffer.C:
13083         killed DO_USE_DEFAULT_LANGUAGE
13084
13085 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13086
13087         * lyx_gui.C: do not include language.h.
13088
13089         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13090         arguments in function implementation.
13091
13092 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13093
13094         * BufferView_pimpl.C: add <ctime>
13095
13096 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13097
13098         * BufferView_pimpl.C: add using std::find_if
13099
13100 2001-02-27  José Matos  <jamatos@fep.up.pt>
13101
13102         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13103         by OnlyPath.
13104
13105 2001-02-11  José Matos  <jamatos@fep.up.pt>
13106
13107         * buffer.C (makeDocBookFile): command styles now have a parameter as
13108         "title" by default.
13109
13110 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13111
13112         * layout_forms.[Ch]: removed
13113         * lyx_cb.[Ch]: out character
13114         * lyx_gui.C: out character
13115         * lyx_gui_misc.C: out character
13116         * bufferview_funcs.C: : out character,
13117         added toggleall as parameter in ToggleAndShow
13118
13119 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13120
13121         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13122
13123         * text2.C (SetCurrentFont): Disable number property at boundary.
13124
13125 2001-02-26  Juergen Vigna  <jug@sad.it>
13126
13127         * lyxfunc.C (getStatus): added a string argument override function so
13128         that this is correctly called from LyXFunc::Dispatch if it contains a
13129         do_not_use_argument which is used!
13130         (Dispatch): added check for "custom" export and call appropriate func.
13131
13132 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13133
13134         * lyxrc.C: Add language_command_local, language_use_babel and
13135         language_global_options.
13136
13137         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13138
13139         * buffer.C (makeLaTeXFile): Use language_use_babel and
13140         language_global_options.
13141
13142 2001-02-23  Juergen Vigna  <jug@sad.it>
13143
13144         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13145         which works with LyXText and putted it inside BufferView. Here now we
13146         only call for that part the BufferView::Dispatch() function.
13147
13148         * BufferView.C (Dispatch): added.
13149
13150         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13151         functions which needs to use a LyXText over from LyXFunc.
13152         (MenuInsertLyXFile): added
13153         (getInsetByCode): added
13154         (moveCursorUpdate): added
13155         (static TEXT): added
13156
13157 2001-02-22  Juergen Vigna  <jug@sad.it>
13158
13159         * BufferView_pimpl.C (update): call a status update to see if LyXText
13160         needs it.
13161
13162 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13163
13164         * vc-backend.C (revert): implement for CVS
13165         (getLog): implement for CVS
13166
13167 2001-02-20  Juergen Vigna  <jug@sad.it>
13168
13169         * text2.C (ClearSelection): added BufferView param for inset_owner call
13170
13171         * lyxfunc.C (TEXT): added this function and use it instead of
13172         directly owner->view()-text of getLyXText().
13173
13174 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13175
13176         * src/layout_forms.C: out preamble
13177         * src/layout_forms.h: out preamble
13178         * src/lyx_cb.C: out preamble
13179         * src/lyx_cb.h: out preamble
13180         * src/lyx_gui.C: out preamble
13181         * src/lyx_gui_misc.C: out preamble
13182         * src/lyxfunc.C: connect with guii preamble
13183
13184 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13185
13186         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13187
13188 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13189
13190         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13191         whether to run bibtex.
13192
13193 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13194
13195         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13196
13197 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13198
13199         * Makefile.am (lyx_SOURCES): removed bibforms.h
13200
13201         * vspace.h: doxygen
13202
13203         * text.C (GetVisibleRow): make several local vars const
13204
13205         * tabular.C: small cleanup.
13206
13207         * lyxserver.C (callback): use compare instead of strncmp
13208
13209         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13210         inlines to after class or to paragraph.C
13211
13212         * lyxfont.h: remove friend operator!=
13213
13214         * converter.h: move friend bool operator< to non friend and after
13215         class def.
13216
13217         * combox.h: small cleanup
13218
13219         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13220         to inlines after class def.
13221
13222         * buffer.C (pop_tag): use string operations instead of strcmp
13223
13224         * bmtable.c: doxygen, small cleanup
13225
13226         * LaTeX.h: remove friend operator==
13227
13228 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13229
13230         * screen.C:
13231         * lyxrc.[Ch]:
13232         * lyxfunc.C:
13233         * lyxfont.[Ch]:
13234         * lyx_cb.C:
13235         * intl.[Ch]:
13236         * commandtags.h:
13237         * buffer.C:
13238         * WorkArea.[Ch]:
13239         * LyXAction.C:
13240         * BufferView_pimpl.C:
13241         * BufferView.[Ch]: remove cruft
13242
13243 2001-02-14  Juergen Vigna  <jug@sad.it>
13244
13245         * lyxfunc.C: removed #if 0 unused code
13246
13247         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13248
13249         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13250
13251         * text2.C (SetSelection): added a BufferView * parameter
13252
13253 2001-02-13  Juergen Vigna  <jug@sad.it>
13254
13255         * lyxfunc.C (Dispatch): fixed protected blank problem.
13256         * BufferView2.C (protectedBlank): added LyxText * parameter.
13257
13258         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13259         (AppendColumn): same as above for column_info.
13260
13261         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13262         (moveCursorUpdate): use a LyXText param for support of InsetText.
13263
13264         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13265         (tripleClick): ditto
13266
13267         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13268
13269         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13270
13271         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13272
13273         * text2.C (SetSelection): set correct update status if inset_owner
13274         (ToggleFree): ditto
13275
13276 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13277
13278         * tabular.C: remove some commented code.
13279
13280 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13281
13282         * BufferView_pimpl.C: call hideSplash()
13283
13284         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13285
13286         * include_form.h:
13287         * bibforms.h: remove
13288
13289         * lyxfunc.C:
13290         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13291           add LFUN_CHILD_CREATE
13292
13293         * counters.h: fix tiny typo
13294
13295         * lyx_cb.C:
13296         * lyx.h:
13297         * lyx_gui.C:
13298         * lyx.C: move splash to frontends/xforms/
13299
13300         * lyx_gui_misc.C: move Include and Bibform to frontends
13301
13302         * lyxvc.h: clarify comment
13303
13304         * vspace.C: tiny housekeeping
13305
13306 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13307
13308         * text.C (PrepareToPrint): RTL Fix.
13309
13310         * paragraph.C (GetUChar): New method.
13311         (String):  Use GetUChar.
13312
13313         * buffer.C (asciiParagraph): Use GetUChar.
13314
13315 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13316
13317         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13318
13319 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13320
13321         * buffer.h:
13322         * buffer.C: rename to getLogName(), handle
13323           build log / latex log nicely
13324
13325 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13326
13327         * MenuBackend.C:
13328         * MenuBackend.h: remove support for reference menuitem type.
13329
13330 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13331
13332         * BufferView_pimpl.C: housekeeping
13333         * BufferView_pimpl.h:
13334         * LyXView.h:
13335         * Makefile.am:
13336         * Timeout.C:
13337         * Timeout.h:
13338         * minibuffer.h: move Timeout GUI-I
13339
13340 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13341
13342         * lyxrc.C (read): Update converters data-structures.
13343
13344 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13345
13346         * LaTeX.h (operator!=): add operator != for Aux_Info
13347
13348 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13349
13350         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13351
13352         * LaTeXLog.C: deleted, useful code moved to Buffer
13353
13354         * buffer.h:
13355         * buffer.C: new function getLatexLogName()
13356
13357         * lyx_gui_misc.C:
13358         * lyx_gui.C:
13359         * lyxvc.C:
13360         * lyxvc.h:
13361         * lyxfunc.C: use frontends for LaTeX and VC logs
13362
13363 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13364
13365         * LaTeX.h: yet another std:: that Allan forgot.
13366
13367         * Variables.C (set): renamed from isset(), because this clashes
13368         with some HP-UX macros (grr).
13369
13370 2001-02-06  Allan Rae  <rae@lyx.org>
13371
13372         * LaTeX.h: Another bug fix.  Missing std:: this time.
13373
13374 2001-02-04  Allan Rae  <rae@lyx.org>
13375
13376         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13377         floats problem. I've left it commented out because it's not quite
13378         correct.  It should also test that the current object is a table or
13379         figure inset.  But I haven't gotten around to figuring out how to do
13380         that.  I *think* it'll be something like: "table" == inset.type()
13381
13382         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13383         bool.
13384
13385 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13386
13387         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13388         all the citation/databases/styles in the auxilary file.
13389         (run): Rerun latex if there was a babel language error.
13390
13391 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13392
13393         * text.C (Backspace): Preserve the font when changing newline char
13394         with a space.
13395         (BreakParagraph): If the cursor is before a space, delete the space.
13396
13397         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13398
13399 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13400
13401         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13402         new argument (code).
13403         (ChangeCitationsIfUnique): New method.
13404
13405         * paragraph.C (GetPositionOfInset): Handle bibkey.
13406
13407 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13408
13409         * BufferView_pimpl.h: change type of Position::par_pos to
13410         LyXParagraph::size_type.
13411
13412 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13413
13414         * BufferView_pimpl.C (savePosition, restorePosition): Write
13415         messages to minibuffer.
13416
13417 2001-01-28  José Matos  <jamatos@fep.up.pt>
13418
13419         * buffer.C (makeDocBookFile): adds support for document language.
13420         A silly restriction on the name of LatexCommand types where removed.
13421         Added support for CDATA sections, allows to chars unescaped, used
13422         among others in code, to avoid escape < and >.
13423
13424 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13425
13426         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13427         saved positions instrad of a stack. Furthermore, a position is
13428         stored using paragraph id/paragraph position.
13429
13430         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13431         Remove LFUN_REF_BACK.
13432
13433 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13434
13435         * converter.C (dvipdfm_options): New method.
13436
13437 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13438
13439         * vspace.C (isValidLength): Fix for empty input string.
13440
13441 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13442
13443         * LyXAction.C (init): change description of LFUN_FIGURE to
13444         "Insert Graphics"
13445
13446 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13447
13448         * LaTeX.C: add using directive
13449
13450 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13451
13452         * MenuBackend.C (expand): Fix the sorting of the formats.
13453
13454 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13455
13456         * lyx_main.C: tiny error message fix
13457
13458 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13459
13460         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13461         calling fl_initialize(). This fixes the problem with ',' as
13462         decimal separator in text files.
13463
13464 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13465
13466         * trans.C (process): Fix the keymap bug.
13467
13468 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13469
13470         * LaTeX.C (scanAuxFiles): New method. Provides support for
13471         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13472         (scanLogFile) Scan for "run BibTeX" messages.
13473
13474         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13475         OT1 font encoding. Also, load the aecompl package if the ae
13476         package is loaded.
13477
13478         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13479
13480 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13481
13482         * texrow.C (increasePos): turn two error messages into debug
13483         messages.
13484
13485 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13486
13487         * LaTeX.C (scanAux): Handle the \@input macro.
13488         (runBibTeX): Use scanAux().
13489
13490         * language.C (latex_options_): New field.
13491
13492         * LaTeXFeatures.C (getMacros): Add language macros.
13493
13494         * buffer.C (makeLaTeXFile): Small fix.
13495
13496 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13497
13498         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13499
13500         * text2.C: add a using directive.
13501
13502 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13503
13504         * BufferView2.C:
13505         * lyx_gui_misc.h:
13506         * lyxfr1.C:
13507         * lyxfunc.C: kill LyXBell.
13508
13509 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13510
13511         * text.C (IsBoundary): Remove the error message
13512
13513         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13514
13515         * lyxrc.C (setDefaults): Correct initialization value for
13516         font_norm_type.
13517
13518 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13519
13520         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13521         gotoError().
13522
13523         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13524         and GotoNextNote().
13525
13526         * src/LyXAction.C: Added reference-next.
13527
13528         * text.C (InsertChar): Use contains instead of strchr.
13529
13530         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13531
13532 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13533
13534         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13535         alignment commands (when needed).
13536
13537         * text.C (InsertChar): Add ':' to number separator chars.