]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
102ccf9682ff2ab91c6ad2220d31b1258cac3c3c
[lyx.git] / src / ChangeLog
1 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * debug.C: only use the default constructor for debugstream
4         (lyxerr) here.
5
6         * main.C (main): include debug.h and setup the lyxerr streambuf
7         here.
8
9 2003-10-31  José Matos  <jamatos@lyx.org>
10
11         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
12
13         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
14         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
15         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
16         * paragraph_pimpl.C (simpleTeXSpecialC):
17         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
18         add LatexRunParams argument.
19
20         * exporter.C (Export): change call accordingly.
21
22         * latexrunparams.h: add new member to take care of the other backends.
23 2003-10-30  José Matos  <jamatos@lyx.org>
24
25         * buffer.C (makeLinuxDocFile, makeDocBookFile):
26         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
27         factorise code for paragraph output.
28         * buffer.[Ch]:
29         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
30         move functions.
31
32 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
33
34         * text3.C (dispatch):
35         * lyxfunc.C (dispatch):
36         * cursor.C (dispatch):
37         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
38
39         * dispatchresult.h: make the dispatch_result_t ctor explicit
40
41 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
42
43         * sgml.[Ch]:
44         * buffer.C: small refactoring of docbook stuff
45
46 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
47
48         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
49         meaning.
50
51 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
52
53         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
54         operator dispatch_result_t, and operators for == != and >=
55
56         * cursor.C (dispatch): adjust for operator dispatch_result_t
57         removal. comment out call to update
58
59         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
60
61 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
62
63         * text3.C:
64         * text2.C:
65         * text.C:
66         * lyxtext.h:
67         * lyxfunc.C:
68         * cursor.C:
69         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
70         (dispatch):
71
72         * dispatchresult.h: new file, DispatchResult broken out of
73         insets/insetbase.h
74
75         * Makefile.am (lyx_SOURCES): add dispatchresult.h
76
77 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
78
79         * text.C (rowBreakPoint): put a hack inside #if 0
80
81 2003-10-28  André Pönitz  <poenitz@gmx.net>
82
83         * lyxtext.h:
84         * metricsinfo.C:
85         * paragraph_funcs.C:
86         * rowpainter.C:
87         * text.C:
88         * text2.C: general cleanup (lots of small stuff)
89
90 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
91
92         * text2.C (cursorEnd): simple fix to the "end key goes to one
93         before the end on last row" bug
94
95 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
96
97         * text.C (backspace): fix the "zombie characters"
98
99 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
100
101         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
102
103 2003-10-27  André Pönitz  <poenitz@gmx.net>
104
105         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
106
107         * factory.C: handle new InsetPagebreak, InsetLine
108
109         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
110         and move handling into new InsetPagebreak, InsetLine
111
112         * BufferView_pimpl.C:
113         * LyXAction.C:
114         * ParagraphParameters.C:
115         * ParameterStruct.h:
116         * lyxfunc.C:
117         * lyxtext.h:
118         * paragraph.C:
119         * paragraph.h:
120         * paragraph_funcs.C:
121         * paragraph_pimpl.C:
122         * rowpainter.C:
123         * text.C:
124         * text2.C:
125         * text3.C: adjust
126
127 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
128
129         * text.C:
130         * lyxrow_funcs.[Ch]:
131         * Bidi.C:
132         * paragraph.C:
133         * lyxtext.h:
134         * rowpainter.C:
135         * text2.C:
136         * text3.C: remove lastPos uses in favour of Row::endpos
137
138 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
139
140         * undo.C (performUndoOrRedo): fix two crashes by setting a
141         cursor by hand and reordering some calls. Use bv->lockInset instead
142         of inset->edit because the latter loses cursor information
143
144 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
145
146         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
147         by Martin
148         (rowBreakPoint): fix width. change point to point + 1.
149         Add a missing check.
150
151 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
152
153         * MenuBackend.C:
154         * lyxfunc.C: fix (at least partly) the problems
155         with the Nav menu and headers inside branch insets
156         reported by Kayvan
157
158 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
159
160         * paragraph.C (getChar): add strong asserts
161
162         * lyxrow_funcs.C (lastPos): remove hideous hack
163
164         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
165         (fill): adjust to that (avoid an infinite loop)
166
167 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
168
169         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
170
171 2003-10-23  André Pönitz  <poenitz@gmx.net>
172
173         * RowList_fwd.h: change list<> to vector<> to gain speed
174         after suggestion from Alfredo
175
176 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
177
178         * lyxtext.h: move the bidi stuff from here...
179         * text.C: and here
180         * text2.C: and here
181         * Bidi.[Ch]: ... to here
182
183 2003-10-23  André Pönitz  <poenitz@gmx.net>
184
185         * lyxtext.h:
186         * text.C (isLastRow, isFirstRow): new functions
187
188         * paragraph.h: new width cache member
189
190         * rowpainter.C: replace RowList::iterator with Row & where possible
191
192         * lyxfunc.C: replace several view()->text with a single call
193
194         * toc.C: fix 'unused' warning
195
196 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
197
198         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
199         when woring with stream::pos_type
200         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
201
202 2003-10-22  André Pönitz  <poenitz@gmx.net>
203
204         * lyxtext.h:
205         * text.C: use Row & instead of RowList::iterator
206
207         * lyxrow.h: rename end() to endpos()
208
209         * rowpainter.C:
210         * text.C:
211         * text2.C: adjust
212
213 2003-10-22  Angus Leeming  <leeming@lyx.org>
214
215         * buffer.[Ch] (fully_loaded): new member function, returning true
216         only when the file has been loaded fully.
217         Used to prevent the premature generation of previews and by the
218         citation inset to prevent computation of the natbib-style label.
219
220         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
221         templates are all set up.
222
223         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
224
225 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
226
227         * text.C: fixed an "oops" in the "is a bit silly"
228         bug fix
229
230 2003-10-21  André Pönitz  <poenitz@gmx.net>
231
232         * FuncStatus.[Ch]: small stuff, whitespace
233
234         * lyxfont.[Ch]: operator<<() for debug reasons
235
236         * lyxfunc.C:
237         * lyxrow_funcs.C:
238         * lyxtext.h: whitespace, spelling
239
240         * paragraph.C: naming of variables
241
242         * text.C:
243         * text2.C: small stuff
244
245
246 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
247
248         * text.C: (1) finish off the inset display() work;
249         (2) fix the "is a bit silly" bug (accessing char
250         past end of par).
251
252 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
253
254         * text.C: re-introduce display() for insets, fixing the
255         various bugs (stretch of line above, math inset
256         positioning, ...)
257
258 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
259
260         * text.C (rightMargin): remove spurious semicolon
261
262         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
263         1415)
264
265 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
266
267         * text3.C: fix one crash due to wrong cursor def
268
269 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
270
271         * vc-backend.C (scanMaster): make the regex static
272
273         * LaTeX.C (scanAuxFile): make the regexs static
274
275         * text3.C (doInsertInset, dispatch, dispatch):
276         * text2.C (cursorUp, cursorDown):
277         * text.C (selectNextWordToSpellcheck):
278         * BufferView_pimpl.C (dispatch):
279         * lyxfunc.C (dispatch):  localDispatch -> dispatch
280
281 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
282
283         * lyxsocket.C: include <cerrno>
284
285 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
286
287         * lyxfunc.C (dispatch): remove textcache stuff
288
289         * bufferlist.C (release): remove textcache stuff
290         (closeAll): ditto
291
292         * TextCache.C: delete file
293         * TextCache.h: delete file
294
295         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
296
297         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
298         delete of the bv_->text.
299         (resizeCurrentBuffer): remove texcache stuff
300         (workAreaResize): ditto
301
302 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
303
304         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
305         action.
306
307 2003-10-16  André Pönitz  <poenitz@gmx.net>
308
309         * lyxrow.[Ch]:
310         * paragraph.h:
311         * rowpainter.C:
312         * text.C:
313         * text2.C:
314         * text3.C: speed up by storing y positions per paragraph plus per-row
315         offset instead of having a 'full' y position in the row.
316
317 2003-10-15  André Pönitz  <poenitz@gmx.net>
318
319         * iterators.[Ch]:
320         * iterators.[Ch]:
321         * undo.[Ch]: make undo aware of inner insets
322
323 2003-10-14  Angus Leeming  <leeming@lyx.org>
324
325         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
326         static member functions LyX::ref() and LyX::cref.
327         (lastfiles): new accessor functions for the new lastfiles_ member var.
328         (addLyXView, views_): add a new LyXView to the list of views_.
329         (updateInset): loop over all LyXViews to call their own updateInset
330         member function, returning a pointer to the Buffer owning the inset.
331
332         * BufferView_pimpl.C (loadLyXFile):
333         * MenuBackend.C (expandLastfiles):
334         * bufferlist.C (MenuWrite, QuitLyX):
335         lastfiles is no longer a global variable.
336         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
337
338         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
339         static function. Access through LyX::cref().emergencyCleanup().
340
341 2003-10-14  André Pönitz  <poenitz@gmx.net>
342
343         * iterators.[Ch]: new direct access to innermost LyXText and Inset
344
345         * undo.[Ch]: restoring part of 'undo in insets'
346
347         * Makefile.am:
348         * undo_funcs.[Ch]: merge with undo.[Ch]
349
350         * tabular.C: small cleansing stuff
351
352 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
353
354         * paragraph_funcs.C (readParToken): report unknown insets as error
355         boxes. Use the outer paragraph as location (also for unknown
356         tokens).
357
358         * factory.C (readInset): do not abort on reading an unknown inset.
359         Eat it and return 0.
360
361 2003-10-13  Angus Leeming  <leeming@lyx.org>
362
363         * lyx_main.C (LyX): remove call to setDisplayTranslator().
364
365         * lyxrc.C: displayTranslator is now a function,
366         declared in GraphicsTypes.h.
367
368 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
369
370         * format.C: new placeholder $$a to pass the socket address.
371
372         * bufferlist.[Ch]: new function getBufferFromTmp.
373
374         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
375           files in the temporary dir.
376
377 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
378
379         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
380
381         * Makefile.am: add lyxsocket.[Ch].
382
383         * lyx_main.C (error_handler): handle SIGPIPE.
384
385 2003-10-13  André Pönitz  <poenitz@gmx.net>
386
387         * BufferView_pimpl.C:
388         * lyxtext.h:
389         * text.C:
390         * text2.C:
391         * text3.C:
392         * undo_funcs.[Ch]: use paroffset_type instead of
393           ParagraphList::iterators to prevent multiple conversion
394           (and get a more robust interface)
395
396 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
397
398         * lyxfunc.C (dispatch): RESULT -> dispatch_result
399         * lyxtext.h: ditto
400         * text3.C (dispatch): ditto
401
402 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
403
404         * LaTeX.C (handleFoundFile): move the static to smaller scope,
405         move the onlyfile, use onlyfile instead of foundfile in a couple
406         of places.
407
408         * DepTable.C (update): flush the error stream a bit more
409
410 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
411
412         * lyxserver.C (callback): adjust
413
414         * lyxfunc.C (getStatus): add a missing brace in commented code
415         (ensureBufferClean): reindent
416         (dispatch): delete version taking a string
417
418 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
419
420         * LaTeX.C (deplog): move found file handlig from here...
421         (handleFoundFile): .. to new function here.
422         (deplog): make sure to discover several files mentioned on the
423         same log line.
424
425 2003-10-10  André Pönitz  <poenitz@gmx.net>
426
427         * lyxfunc.C:
428         * lyxtext.h:
429         * tabular.C:
430         * text.C:
431         * text2.C:
432         * text3.C: fix some of the tabular crashes
433
434 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
435
436         * MenuBackend.C (binding): put debug message into Debug::KBMAP
437
438         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
439
440 2003-10-09  André Pönitz  <poenitz@gmx.net>
441
442         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
443
444         * BufferView.C:
445         * BufferView_pimpl.C:
446         * bufferview_funcs.C:
447         * lyx_cb.C:
448         * lyxcursor.C:
449         * lyxfind.C:
450         * lyxfunc.C:
451         * lyxtext.h:
452         * text.C:
453         * text2.C:
454         * text3.C:
455         * text_funcs.[Ch]:
456         * textcursor.[Ch]:
457         * undo_funcs.C: adjust
458
459 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
460
461         * text2.C (incrementItemDepth): new function, use a backtracking
462         algorithm to discover the correct item depth.
463         (resetEnumCounterIfNeeded): new function, use a backtracking
464         algorithm to discover if counter reset is needed.
465         (setCounter): use them. Simplify a bit. Add different labels for
466         different item depths for itemize.
467
468         * paragraph.C (Paragraph): remove initialization of enumdepth
469         (operator=): ditto
470
471         * paragraph.h: get rid of enumdepth, and use itemdepth both for
472         enumerate and itemize. Change the type of itemdepth to signed char.
473
474 2003-10-08  André Pönitz  <poenitz@gmx.net>
475
476         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
477           thing assignable.
478         * text.C:
479         * text2.C: adjust
480
481         * tabular.[Ch]: fix crash after 'row-insert'
482
483 2003-10-08  Angus Leeming  <leeming@lyx.org>
484
485         Fix doxygen warnings.
486
487         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
488         Remove CutAndPaste:: prefix from header file declaration.
489
490         * LColor.h (fill): remove LColor:: prefix from declaration.
491
492         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
493         use lyx::depth_type rather than Paragraph::depth_type so that
494         header file and .C file match.
495
496         * converter.h (intToFormat): remove Converters:: prefix from declaration.
497
498         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
499         * aspell.C: \file aspell_local.C -> \file aspell.C
500         * gettext.C: \file gettext.C -> \file src/gettext.C
501         * gettext.h: \file gettext.h -> \file src/gettext.h
502         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
503         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
504         * text.C: \file text.C -> \file src/text.C
505
506         * toc.C: move comment so that doxygen is not confused.
507
508 2003-10-07  Angus Leeming  <leeming@lyx.org>
509
510         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
511
512 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
513
514         * aspell.C:
515         * aspell_local.h: add forgotten std::string's.
516
517 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
518
519         * LaTeXFeatures.C:
520         * LyXAction.C:
521         * factory.C:
522         * lfuns.h:
523         * lyxfunc.C:
524         * text3.C: The Box patch. Fancybox support, minipage, parbox
525
526 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
527
528         * CutAndPaste.h:
529         * DepTable.h:
530         * FloatList.h:
531         * LaTeXFeatures.h:
532         * ParagraphParameters.h:
533         * TextCache.h:
534         * Thesaurus.h:
535         * bufferlist.h:
536         * exporter.h:
537         * importer.h:
538         * lastfiles.h:
539         * lyxfind.h:
540         * lyxfont.h:
541         * lyxlex.h:
542         * lyxtextclasslist.h:
543         * messages.h:
544         * paragraph.h:
545         * paragraph_pimpl.C:
546         * textcursor.h: add <string> and other small fixes to make Lars'
547         std::string patch compile with STLport.
548
549 2003-10-06  Angus Leeming  <leeming@lyx.org>
550
551         * LColor.h: Add missing #include <string>.
552
553 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
554
555         * All most all file in all subdirs: Make <string> be the prefered
556         way of getting to std::string, add using declarations.
557
558 2003-10-06  André Pönitz  <poenitz@gmx.net>
559
560         * metricsinfo.C: initialize LyXFont before changing attribute.
561         (fixes the 'math in \emph is upright' bug)
562
563 2003-10-06  André Pönitz  <poenitz@gmx.net>
564
565         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
566
567 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
568
569         * graph.C:
570         * paragraph_pimpl.C: Small fixes to build using STLport
571
572 2003-10-02  André Pönitz  <poenitz@gmx.net>
573
574         * lyxfunc.C:
575         * text3.C: move handling of LFUN_DEPTH *; fix #1360
576
577 2003-10-01  André Pönitz  <poenitz@gmx.net>
578
579         * factory.C: assert early
580
581 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
582
583         * lyx_main.C: remove the global debug object
584
585         * debug.h: adjust for new debugstream
586
587         * debug.C: adjust for new debugstream and keep the global debug
588         object here.
589
590 2003-09-22  Angus Leeming  <leeming@lyx.org>
591
592         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
593         of g++ which otherwise complain that the scoped_ptr destructor can't delete
594         an incomplete class LyXFont.
595
596 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
597
598         * factory.C: bug fix in branches
599
600 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
601
602         * lyxfunc.C (processKeySym): adjust
603         (dispatch): adjust
604         (dispatch): change arg name from ev to func, adjust
605         (sendDispatchMessage): ditto
606
607         * lyx_main.C (defaultKeyBindings): adjust keybindings
608         (deadKeyBindings): ditto
609
610         * kbsequence.C (addkey): return a FuncRequest
611
612         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
613
614         * kbmap.C (bind): take a FuncRequest as arg, adjust
615         (read): adjust
616         (lookup): adjust
617         (defkey): change to take a FuncRequest as arg, adjust
618         (findbinding): take a FuncRequest as arg, adjust.
619
620         * funcrequest.h (operator=): added
621
622         * funcrequest.C (FuncRequest): default kb_action changed from
623         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
624
625         * buffer.C (dispatch): simplify
626         (dispatch): adjust to take a FuncRequest as arg, adjust
627
628         * boost.C (assertion_failed): change assertion message slightly
629
630         * ToolbarBackend.C (read): simplify
631
632         * MenuBackend.C (binding): adjust call to findbinding, add a
633         message if no binding is found.
634         (read): simplify
635         (expandToc): correct by adding a empty FuncRequest
636
637         * LyXAction.C: include <boost/assert.hpp>
638         (isPseudoAction): delete function
639         (LookupFunc): change name to...
640         (lookupFunc): this. change return type to FuncRequest.
641         (getActionName): take kb_action as arg, simplify
642         (funcHasFlag): add an assert, simplify.
643
644 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
645
646         * toc.C (action): return a FuncRequest, simplify
647
648         * lyxfunc.C (processKeySym): adjust
649         (getStatus): delete version that takes an int.
650         (getStatus): adjust
651         (dispatch): delete version that takes action as int
652         (dispatch): adjust
653         (sendDispatchMessage): simplify and adjust
654
655         * funcrequest.C (getArg): take unsigned int as arg
656
657         * ToolbarBackend.C (read): adjust
658         (add): delete version that takes func as a string.
659         (getIton): take a FuncRequest as arg
660
661         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
662         action.
663
664         * MenuBackend.C (MenuItem): add a new construct that only takes a
665         Kind, simplify the constructor use for submenus.
666         (add): adjust
667         (expandLastfiles): adjust
668         (expandDocuments): adjust
669         (expandFormats): adjust
670         (expandFloatListInsert): adjust
671         (expandFloatInsert): adjust
672         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
673
674         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
675         Remove class variables lyx_pseudo_map and lyx_arg_map
676
677         * LyXAction.C (searchActionArg): delete function
678         (getPseudoAction): delete function
679         (retrieveActionArg): delete function
680         (LookupFunc): make it return kb_action, simplify.
681         (getActionName): simplify
682
683         * factory.C (createInset): fix new bug
684
685 2003-09-19  Angus Leeming  <leeming@lyx.org>
686
687         * CutAndPaste.C (pasteSelection): remove fudge used to set the
688         masterFilename_ parameter in the include inset.
689
690         * factory.C (createInset): changes due to the changes to InsetInclude.
691
692 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
693
694         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
695
696 2003-09-18  Angus Leeming  <leeming@lyx.org>
697
698         * buffer.C:
699         * BufferView.C: pass the buffer when calling Inset::getLabelList,
700         Inset::fillWithBibKeys.
701         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
702
703 2003-09-18  Angus Leeming  <leeming@lyx.org>
704
705         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
706         variables.
707         (ctor): pass and store a 'Buffer const &'
708         (buffer): new member function.
709
710         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
711         '*this' to the LaTeXFeatures ctor.
712
713 2003-09-18  Angus Leeming  <leeming@lyx.org>
714
715         * LColor.h:
716         * lyxfont.C:
717         * lyxfont.h:
718         * lyxtext.h:
719         * text.C: rename EnumLColor as LColor_color.
720
721 2003-09-18  Angus Leeming  <leeming@lyx.org>
722
723         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
724         remove #include "insets/insetbase.h" from cursor.h.
725
726 2003-09-18  Angus Leeming  <leeming@lyx.org>
727
728         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
729         InsetOld_code to remove #include "inset.h".
730
731         * iterators.C: add #include "insets/inset.h"
732
733 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
734
735         * BufferView.C: remove more locking stuff that apparently doesn't
736         do anything sensible.
737
738 2003-09-16  André Pönitz  <poenitz@gmx.net>
739
740         * paragraph.[Ch]:
741         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
742           performance boost.
743
744 2003-09-16  Angus Leeming  <leeming@lyx.org>
745
746         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
747
748         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
749         arg/return type.
750
751         * paragraph.h: remove #include "lyxfont.h". Forward declare
752         LyXFont_size.
753
754 2003-09-16  Angus Leeming  <leeming@lyx.org>
755
756         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
757         of support/textutils.h.
758         (isWord): move the contents of support/textutils.h's IsWordChar here.
759
760         * buffer.C:
761         * lyxfind.C:
762         * rowpainter.C:
763         * text.C:
764         * text2.C: add #include "paragraph.h".
765
766         * rowpainter.C:
767         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
768
769 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
770
771         * main.C:
772         * lyx_main.C:
773         * lyx_cb.C:
774         * buffer.C:
775         * LaTeX.C: use namespace alias for lyx::support::os
776
777 2003-09-16  Angus Leeming  <leeming@lyx.org>
778
779         * bufferparams.C:
780         * bufferview_funcs.C:
781         * factory.C:
782         * lyxfunc.C:
783         * paragraph_pimpl.C:
784         * rowpainter.C:
785         * text.C: add #include "LColor.h".
786
787 2003-09-16  Angus Leeming  <leeming@lyx.org>
788
789         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
790         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
791         return LyXFont &.
792         Store the FontBits::color variable as an int rather than as an
793         LColor::colorso that we can move LColor.h out of the lyxfont.h header
794         file.
795
796         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
797         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
798         string calls together.
799
800         * lyxrc.C: add #include "LColor.h".
801
802 2003-09-15  Angus Leeming  <leeming@lyx.org>
803
804         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
805         a cow_ptr.
806
807 2003-09-15  Angus Leeming  <leeming@lyx.org>
808
809         * LColor.h: add an EnumLColor wrapper for LColor::color.
810
811         * lyxfont.[Ch] (color, setColor, realColor):
812         * lyxtext.h, text.C (backgroundColor):
813         pass EnumLColor args to/from the functions, rather than LColor::color
814         ones.
815
816         * lyxfont.h:
817         * lyxtext.h: forward declare EnumLColor.
818
819         * lyx_main.C: add #include "LColor.h".
820
821 2003-09-15  Angus Leeming  <leeming@lyx.org>
822
823         * .cvsignore: add lyx-gtk.
824
825 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
826
827         * Chktex.C
828         * LaTeX.C
829         * LaTeXFeatures.C
830         * ParagraphParameters.C
831         * Spacing.C
832         * buffer.C
833         * bufferparams.C
834         * bufferview_funcs.C
835         * chset.C
836         * counters.C
837         * funcrequest.C
838         * lyxfont.C
839         * lyxgluelength.C
840         * lyxlength.C
841         * paragraph.C
842         * paragraph_funcs.C
843         * text3.C
844         * vc-backend.C: remove usage of STRCONV
845
846 2003-09-15  Angus Leeming  <leeming@lyx.org>
847
848         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
849         explicitly define the color passed to the painter.
850
851 2003-09-15  Angus Leeming  <leeming@lyx.org>
852
853         * bufferparams.C (BufferParams): reorder member initializers to avoid
854         compiler warning.
855
856 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
857
858         * CutAndPaste.C (pasteSelection): remove an outdated #warning
859         * text.C (updateRowPositions): remove an unusual nop
860
861 2003-09-12  André Pönitz  <poenitz@gmx.net>
862
863         * BufferView_pimpl.C:
864         * Bullet.C:
865         * layout.h:
866         * lyxfunc.C:
867         * lyxlayout.[Ch]:
868         * lyxtextclass.C:
869         * rowpainter.C:
870         * text.C:
871         * text2.C:
872         * Counters.[Ch]: finish the 'automatic counters' job
873
874 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
875
876         * aspell.C: include <boost/assert.cpp> (compile fix)
877
878 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
879
880         * boost.C (assertion_failed): use lyx::support::abort instead of
881         assert.
882
883 2003-09-10  Angus Leeming  <leeming@lyx.org>
884
885         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
886         with their _fwd progeny.
887
888 2003-09-09  Angus Leeming  <leeming@lyx.org>
889
890         134 files throughtout the source tree: replace 'using namespace abc;'
891         directives with the appropriate 'using abc::xyz;' declarations.
892
893 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
894
895         * boost.C (emergencyCleanup): moved here from LAssert.c
896         (assertion_failed): new function, called by BOOST_ASSERT
897
898         * several files: change Assert to BOOST_ASSERT
899
900 2003-09-09  Angus Leeming  <leeming@lyx.org>
901
902         * buffer.[Ch]: Add an Impl class and move Buffer's member
903         variables into it. As a result move several header files out of
904         buffer.h.
905
906         Add header files to lots of .C files all over the tree as a result.
907
908 2003-09-09  Angus Leeming  <leeming@lyx.org>
909
910         * buffer.[Ch]: make Buffer's member variables private. Add
911         accessor functions.
912
913         Lots of changes all over the tree as a result.
914
915 2003-09-08  Angus Leeming  <leeming@lyx.org>
916
917         * graph.C: #include <config.h>.
918
919 2003-09-08  Angus Leeming  <leeming@lyx.org>
920
921         * BranchList.C:
922         * BufferView.C:
923         * BufferView_pimpl.C:
924         * CutAndPaste.C:
925         * DepTable.C:
926         * LaTeX.C:
927         * LaTeXFeatures.C:
928         * LyXAction.C:
929         * MenuBackend.C:
930         * TextCache.C:
931         * aspell.C:
932         * buffer.C:
933         * bufferlist.C:
934         * changes.C:
935         * chset.C:
936         * converter.C:
937         * counters.C:
938         * debug.C:
939         * graph.C:
940         * ispell.C:
941         * lyx_cb.C:
942         * lyxfind.C:
943         * lyxfunc.C:
944         * lyxlex_pimpl.C:
945         * lyxrc.C:
946         * lyxrow.C:
947         * paragraph.C:
948         * rowpainter.C:
949         * texrow.C:
950         * text.C:
951         * text2.C:
952         * toc.C: remove redundant using directives.
953
954 2003-09-07  Angus Leeming  <leeming@lyx.org>
955
956         * LaTeXFeatures.h: remove #include "support/types.h".
957         * ToolbarBackend.h: remove #include <algorithm>.
958         * changes.h: remove #include <ctime>.
959         * debug.h: remove #include <iosfwd>.
960         * graph.h: remove #include "support/std_string.h".
961         * lyx_main.h: remove #include <csignal>.
962         * lyxlex_pimpl.h: remove #include <fstream>.
963         * sgml.h: remove #include <algorithm>, <utility>.
964         * toc.h: remove #include "support/std_ostream.h".
965         Add #include <iosfwd>.
966
967 2003-09-07  Angus Leeming  <leeming@lyx.org>
968
969         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
970
971         * converter.h: forward declare LatexRunParams.
972         * encoding.h: remove #include "lyxrc.h".
973         * lyxtext.h: remove #include "LColor.h".
974         * lyxtextclass.h: remove #include "support/types.h".
975         * trans.h: remove #include "tex-accent.h".
976         * trans_mgr.h: remove #include "tex-accent.h".
977         * insets/inset.h: remove #include "support/types.h", <vector>.
978         * insets/insetcollapsable.h: remove #include "LColor.h".
979         * insets/insetinclude.h: remove #include "dimension.h".
980         * insets/insetlatexaccent.h: remove #include "dimension.h".
981         * insets/insetoptarg.h:: remove #include "insettext.h".
982         * insets/insettext.h: remove #include "dimension.h",
983         <boost/shared_ptr.hpp>
984
985         * insets/renderers.h: add #include "dimension.h".
986         * insets/updatableinset.h: add #include "support/types.h".
987
988         * many .C files: Associated changes.
989
990 2003-09-06  Angus Leeming  <leeming@lyx.org>
991
992         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
993         one, inside testInvariant.
994
995         * PrinterParams.C: new file.
996         * PrinterParams.[Ch]: move the function bodies out of line.
997
998 2003-09-06  Angus Leeming  <leeming@lyx.org>
999
1000         * ParagraphParameters.h: forward declare ParameterStruct rather than
1001         including its header file.
1002         (depth): moved out-of-line.
1003
1004 2003-09-06  Angus Leeming  <leeming@lyx.org>
1005
1006         * BufferView_pimpl.h:
1007         * kbmap.h:
1008         * kbsequence.h:
1009         * lyxfunc.h: forward declare LyXKeySym rather than
1010         #include "frontends/LyXKeySym.h".
1011
1012         * BufferView_pimpl.C:
1013         * kbmap.C:
1014         * kbsequence.C:
1015         * lyxfunc.C: associated changes.
1016
1017 2003-09-06  Angus Leeming  <leeming@lyx.org>
1018
1019         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1020         As a result, can remove the #include "insets/inset.h" from BufferView.h
1021
1022 2003-09-06  Angus Leeming  <leeming@lyx.org>
1023
1024         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1025         As a result, can remove the #include "insets/inset.h" from BufferView.h
1026
1027 2003-09-06  Angus Leeming  <leeming@lyx.org>
1028
1029         * buffer_funcs.C:
1030         * buffer.h:
1031         * bufferlist.C:
1032         * BufferView.C:
1033         * bufferview_funcs.C:
1034         * BufferView_pimpl.C:
1035         * CutAndPaste.C:
1036         * lyx_cb.C:
1037         * lyxfunc.C:
1038         * paragraph.h:
1039         * ParagraphParameters.C:
1040         * tabular.C:
1041         * text3.C:
1042         * toc.C:
1043         * undo_funcs.C:
1044         * frontends/controllers/ControlDocument.C:
1045         * insets/insetcaption.C: rearrange the #includes into some sort of
1046         coherent order.
1047
1048         * buffer.h: remove #includes ErrorList.h, undo.h
1049
1050 2003-09-06  Angus Leeming  <leeming@lyx.org>
1051
1052         * support/types.h: add a 'depth_type' typedef, used to store the
1053         nesting depth of a paragraph.
1054
1055         * paragraph.h:
1056         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1057         defining explicitly.
1058
1059         * buffer.h:
1060         * paragraph_funcs.h:
1061         * ParagraphParameters.h:
1062         * sgml.h: use lyx::depth_type rather than Paragraph or
1063         ParameterStruct's depth_type.
1064
1065         * buffer.h
1066         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1067
1068         * BufferView.C:
1069         * BufferView_pimpl.C:
1070         * CutAndPaste.C:
1071         * ParagraphParameters.C:
1072         * buffer_funcs.C:
1073         * bufferlist.C:
1074         * bufferview_funcs.C:
1075         * lyx_cb.C:
1076         * lyxfunc.C:
1077         * tabular.C:
1078         * text3.C:
1079         * toc.C:
1080         * undo_funcs.C:
1081         * frontends/LyXView.C:
1082         * frontends/controllers/ControlDocument.C:
1083         * frontends/controllers/ControlErrorList.C:
1084         * insets/insetbibitem.C:
1085         * insets/insetbranch.C:
1086         * insets/insetcaption.C:
1087         * insets/insetcollapsable.C:
1088         * insets/insetenv.C:
1089         * insets/insetert.C:
1090         * insets/insetfloat.C:
1091         * insets/insetfoot.C:
1092         * insets/insetfootlike.C:
1093         * insets/insetnewline.C:
1094         * insets/insetquotes.C:
1095         * insets/insettabular.C:
1096         * insets/insettext.C:
1097         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1098
1099         * frontends/controllers/ControlChanges.C: #include "changes.h".
1100
1101 2003-09-06  Angus Leeming  <leeming@lyx.org>
1102
1103         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1104         than #including paragraph.h.
1105
1106         * ParagraphList.h:
1107         * RowList.h: deleted. Superfluous.
1108
1109         * CutAndPaste.h:
1110         * iterators.h:
1111         * lyxcursor.h:
1112         * lyxtext.h:
1113         * text_funcs.h:
1114         * undo.h:
1115         * undo_funcs.h:
1116         * insets/inset.h:
1117         * insets/insettext.h: use ParagraphList_fwd.h rather than
1118         ParagraphList.h.
1119
1120         * paragraph.h: don't forward declare ParagraphList.
1121
1122         * buffer.h:
1123         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1124         rather than ParagraphList.h. paragraph.h is still needed for the
1125         Paragraph::depth_type parameters.
1126
1127         * textcursor.h: enable it to compile stand-alone in light of the
1128         above changes.
1129
1130         * bufferview_funcs.C:
1131         * iterators.C:
1132         * lyxfunc.C:
1133         * lyxrow_funcs.C:
1134         * paragraph.C:
1135         * rowpainter.C:
1136         * text.C:
1137         * text2.C:
1138         * text3.C:
1139         * text_funcs.C:
1140         * textcursor.C:
1141         * undo.C:
1142         * frontends/controllers/ControlParagraph.C:
1143         * frontends/controllers/ControlTabular.C:
1144         * insets/insetmarginal.C:
1145         * insets/insetminipage.C:
1146         * insets/insetnote.C:
1147         * insets/insetoptarg.C: add header files needed to compile again.
1148
1149 2003-09-06  Angus Leeming  <leeming@lyx.org>
1150
1151         * RowList_fwd.h: new file, forward-declaring Row rather than
1152         #including lyxrow.h.
1153
1154         * lyxrow_funcs.h:
1155         * lyxtext.h:
1156         * paragraph.h:
1157         * insets/insettext.h: use it instead of RowList.h
1158
1159         * bufferview_funcs.C:
1160         * lyxfunc.C:
1161         * lyxrow_funcs.C:
1162         * paragraph.C:
1163         * rowpainter.C:
1164         * text.C:
1165         * text2.C:
1166         * text3.C: #include "RowList.h".
1167
1168 2003-09-05  Angus Leeming  <leeming@lyx.org>
1169
1170         * factory.C (createInset):
1171         * vspace.C (c-tor): replace sscanf call with an istringstream.
1172         * ispell.C: re-add missing HP/UX headers.
1173         * lyxserver.C: re-add missing  os2 headers.
1174
1175 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1176
1177         * BranchList.C:
1178         * graph.C:
1179         * ispell.C:
1180         * lastfiles.C:
1181         * lyx_cb.C:
1182         * lyxserver.C:
1183         * texrow.C:
1184         * text3.C: re-add missing system headers, needed for 2.95.2.
1185
1186 2003-09-05  Angus Leeming  <leeming@lyx.org>
1187
1188         Changes most place everywhere due to the removal of using directives
1189         from support/std_sstream.h.
1190
1191 2003-09-05  Angus Leeming  <leeming@lyx.org>
1192
1193         Replace LString.h with support/std_string.h,
1194         Lsstream.h with support/std_sstream.h,
1195         support/LIstream.h with support/std_istream.h,
1196         support/LOstream.h with support/std_ostream.h.
1197
1198         Changes resulting throughout the tree.
1199
1200 2003-09-05  Angus Leeming  <leeming@lyx.org>
1201
1202         * sgml.h: ensure that the header file can be compiled stand-alone.
1203         * *.C: strip out redundant #includes. (320 in total.)
1204
1205 2003-09-04  Angus Leeming  <leeming@lyx.org>
1206
1207         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1208         here (from getPackages).
1209
1210         * debug.[Ch]: add a new EXTERNAL tag.
1211
1212 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1213
1214         * text2.C (cursorEnd): simplify
1215         (setCursor): adjust
1216         (getColumnNearX): adjust
1217
1218         * text.C (computeBidiTables): adjust
1219         (fill): adjust
1220
1221         * rowpainter.C (paintChars): adjust
1222         (paintSelection): adjust
1223         (paintChangeBar): adjust
1224         (paintText): adjust
1225
1226         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1227         lastPos instead.
1228         (numberOfSeparators): adjust
1229
1230 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1231
1232         * LyXAction.C:
1233         * box.[Ch]:
1234         * lfuns.h:
1235         * lyxfunc.C:
1236         * text3.C: Restricts the mouse click functionality
1237         of insets like bibtex, include, toc and floatlist to the visible
1238         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1239         up the dialogs. Cursor has to be in front of the inset (i.e.
1240         start of row) for this to function.
1241
1242 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1243
1244         * bufferview_funcs.C (currentState): output row information
1245
1246 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1247
1248         * bufferview_funcs.C (currentState): output paragraph position
1249
1250 2003-09-04  Angus Leeming  <leeming@lyx.org>
1251
1252         * FloatList.h: move out #include "Floating.h".
1253         * LaTeX.h: move out #include "DepTable.h".
1254         * LyXAction.h: move out #include "funcrequest.h".
1255         * buffer.h: move out #include "author.h", "iterators.h".
1256         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1257         * lyx_main.h: move out #include "errorlist.h".
1258         * lyxfunc.h: move out #include "FuncStatus.h".
1259         * lyxtext: move out #include "lyxcursor.h".
1260         * paragraph_pimpl.h: move out #include "counters.h".
1261
1262 2003-09-03  Angus Leeming  <leeming@lyx.org>
1263
1264         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1265         preamble_snippets list, enabling us to add snippets to the preamble
1266         only if the snippet was not there already.
1267
1268 2003-09-04  Angus Leeming  <leeming@lyx.org>
1269
1270         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1271
1272 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1273
1274         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1275         update
1276
1277 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1278
1279         * BranchList.C: point fix, earlier forgotten
1280
1281 2003-09-02  Angus Leeming  <leeming@lyx.org>
1282
1283         * box.C (contains): renamed from 'contained' after a fantastic
1284         amount of hot air.
1285
1286 2003-09-02  John Levon  <levon@movementarian.org>
1287
1288         * BufferView.C:
1289         * lyxcursor.h:
1290         * lyxcursor.C:
1291         * lyxfunc.C:
1292         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1293
1294 2003-09-02  John Levon  <levon@movementarian.org>
1295
1296         * text2.C: simplification of cursorEnd(), including partial
1297         fix for bug 1376
1298
1299 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1300
1301         * buffer.C (readFile): add a space
1302
1303 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1304
1305         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1306
1307 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1308
1309         * buffer.C (readFile): new function, take a filename and a
1310         ParagraphList::iterator
1311         (readFile): adjust
1312         (readFile): adjust, make it private. don't use setStream, make
1313         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1314         always contain the filename.
1315
1316         * BufferView.C (insertLyXFile): simplify and make it work for
1317         gzipped files.
1318
1319 2003-08-30  John Levon  <levon@movementarian.org>
1320
1321         * Makefile.am: fix dist (from Kayvan)
1322
1323 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1324
1325         * most files: change to use const Buffer refs
1326
1327 2003-08-27  André Pönitz  <poenitz@gmx.net>
1328
1329         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1330         on top of ownerPar().
1331
1332 2003-08-27  John Levon  <levon@movementarian.org>
1333
1334         * funcrequest.C: properly initialise POD members
1335
1336 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1337
1338         * lyxtext.h (top_y): move top_y from here
1339         * text.C:
1340         * text2.C:
1341         * text3.C:
1342         * BufferView.[Ch]:
1343         * BufferView_pimpl.[Ch]: to here
1344         * frontends/screen.C:
1345         * insets/insettabular.C:
1346         * insets/insettext.C: adjust
1347         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1348
1349 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1350
1351         * BufferView.[Ch]:
1352         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1353
1354 2003-08-26  André Pönitz  <poenitz@gmx.net>
1355
1356         * paragraph_func.[Ch] (outerPar): new function
1357
1358         * paragraph.C:
1359         * paragraph_funcs.C:
1360         * paragraph_funcs.h:
1361         * paragraph_pimpl.C:
1362         * text2.C: remove Inset::par_owner
1363
1364 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1365
1366         * lyxrow_funcs.C:
1367         * lyxtext.h:
1368         * text.C:
1369         * text2.C: eliminates the needFullRow/display() stuff
1370         altogether, putting the logic in metrics/draw in the insets.
1371
1372 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1373
1374         * text2.C (redoParagraphInternal, redoParagraphs):
1375         * text.C (redoParagraph): add a call to updateRowPositions at the
1376         end of each 'metrics-like' call. Remove all others.
1377         (getRow): remove the 'y-computing' version.
1378         (getRowNearY): do not compute nor return the real y. Solve the
1379         'y < 0' problem and simplify.
1380
1381 2003-08-22  Angus Leeming  <leeming@lyx.org>
1382
1383         * *.[Ch]: clean-up of licence and author blurbs.
1384         Also move config.h out of a few .h files and into a few .C files.
1385
1386 2003-08-22  André Pönitz  <poenitz@gmx.net>
1387
1388         * lyxrow.[Ch]: add x_ and *fill_ members
1389
1390         * lyxtext.h:
1391         * text.C:
1392         * rowpainter.C:
1393         * text2.C: adjust/remove prepareToPrint() calls
1394
1395 2003-08-22  André Pönitz  <poenitz@gmx.net>
1396
1397         * lyxrow.[Ch]: add  end_ member
1398
1399         * lyxrow_funcs.C: use LyXRow::end_
1400
1401         * lyxtext.h (singleWidth): add LyXFont parameter
1402
1403         * rowpainter.C:
1404         * text2.C: adjust LyXText::singleWidth() calls
1405
1406         * text.C (redoParagraph): simplify row breaking logic
1407
1408
1409 2003-08-19  André Pönitz  <poenitz@gmx.net>
1410
1411         * funcrequest.C: initialize button_ member
1412
1413         * text3.C:
1414         * rowpainter.[Ch]: interface consolidation
1415
1416 2003-08-18  André Pönitz  <poenitz@gmx.net>
1417
1418         * BufferView.C:
1419         * BufferView_pimpl.C:
1420         * lyxfind.C:
1421         * paragraph_funcs.C:
1422         * rowpainter.C:
1423         * text3.C: remove LyXScreen::draw() and fitCursor calls
1424
1425         * BranchList.h: remove spurious semicolons
1426
1427         * MenuBackend.C: fix branchlist related crash
1428
1429 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1430
1431         * BranchList.[Ch]:
1432         * InsetList.[Ch]:
1433         * LColor.[Ch]:
1434         * LyXAction.C:
1435         * Makefile.am:
1436         * MenuBackend.[Ch]:
1437         * bufferparams.[Ch]:
1438         * factory.C:
1439         * lfuns.h:
1440         * lyxfunc.C:
1441         * text3.C: implements the 'branch inset'
1442         idea. This allows the output of various versions of a document
1443         from a single source version, selectively outputing or suppressing
1444         output of parts of the text.
1445         This implementation contains a 'branch list editor' in a separate
1446         tab of the document settings dialog. Branches are user definable
1447         and have a "display colour" to distinguish them on-screen.
1448
1449         ColorHandler was somewhat cleaned up.
1450         (1) make possible a dynamically growing LColor list by allowing
1451         the graphic context cache to grow along (vector);
1452         (2) eliminate an IMHO unnecessary step in colour allocation.
1453
1454 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1455
1456         * BufferView_pimpl.C: compile fix
1457
1458 2003-08-15  André Pönitz  <poenitz@gmx.net>
1459
1460         * rowpainter.C: remove extra metrics calls
1461
1462         * lyxtext.h: merge the two constructors into a single one,
1463           pass reference to owner's par list
1464
1465         * BufferView_pimpl.C:
1466         * text.C:
1467         * text2.C: adjust
1468
1469 2003-08-15  André Pönitz  <poenitz@gmx.net>
1470
1471         * lyxrow_funcs.[Ch]:
1472         * lyxtext.h:
1473         * paragraph.h:
1474         * paragraph_funcs.C:
1475         * rowpainter.C:
1476         * text.C:
1477         * text2.C:
1478         * text3.C:
1479         * text_funcs.C: split LyXText::rowlist_ into individual
1480         Paragraph::rows_ chunks
1481
1482         * BufferView.[Ch]:
1483         * BufferView_pimpl.[Ch]:
1484         * lyxfind.C:
1485         * lyxtext.h:
1486         * text3.C: remove toggleSelection()
1487
1488 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1489
1490         * bufferlist.C: beautify two alerts (shorter text of buttons)
1491         * buffer.C: Remove redundant ' ' from message
1492         * tabular.h:
1493         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1494         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1495         rename VALIGN_CENTER to VALIGN_MIDDLE
1496
1497 2003-08-11  André Pönitz  <poenitz@gmx.net>
1498
1499         * lyxtext.h (getPar):
1500         * text.C: new function
1501
1502 2003-08-11  André Pönitz  <poenitz@gmx.net>
1503
1504         * Makefile.am:
1505         * tracer.[Ch]: remove unneeded files
1506
1507         * InsetList.[Ch]: remove resizeInsetsLyXText()
1508
1509         * lyxtext.h:
1510         * text.C:
1511         * text2.C:
1512         * text3.C: merge insertParagraphs() and appendParagraph()
1513         remove breakAgain(), update()
1514
1515         * BufferView_pimpl.[Ch]:
1516         * bufferview_funcs.[Ch]:
1517         * lyxfunc.C:
1518         * paragraph.[Ch]:
1519         * rowpainter.C:
1520         * tabular.C: adjust after text & InsetList changes.
1521
1522 2003-08-08  André Pönitz  <poenitz@gmx.net>
1523
1524         * text.C (insertChar, backspace): replace rowlist fiddling
1525         with rebreak of full par
1526
1527         * lyxtext.h:
1528         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1529         checkParagraph, updateInset): removed
1530
1531 2003-08-07  André Pönitz  <poenitz@gmx.net>
1532
1533         * paragraph.C:
1534         * text3.C: merge some LFUN handlers, remove dead code
1535
1536 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1537
1538         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1539
1540 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1541
1542         * text2.C (DEPM): fix part of bug 1255 and 1256
1543
1544 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1545
1546         * BufferView_pimpl.C (workAreaDispatch): change to use
1547         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1548         that are no mouse related.
1549
1550 2003-08-05  André Pönitz  <poenitz@gmx.net>
1551
1552         * BufferView.[Ch]:
1553         * BufferView_pimpl.[Ch]:
1554         * bufferview_funcs.C:
1555         * text2.C:
1556         * text3.C: rip out "deep update"
1557
1558         * textcursor.[Ch] (last_sel_cursor): remove unused member
1559
1560 2003-08-04  André Pönitz  <poenitz@gmx.net>
1561
1562         * BufferView.[Ch]:
1563         * BufferView_pimpl.[Ch]:
1564         * ParagraphParameters.C:
1565         * bufferview_funcs.C:
1566         * lyx_cb.C:
1567         * lyxfind.C:
1568         * lyxfunc.C:
1569         * text.C:
1570         * text2.C:
1571         * text3.C: replace "complicated" BufferView::update(...) calls with
1572         simpler ones.
1573
1574         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1575
1576 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1577
1578         * Makefile.am (lyx_SOURCES): add paper.h
1579
1580 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1581
1582         * Makefile.am: move things around so that both lyx-qt and
1583         lyx-xforms can be built (according to --with-frontend). Then lyx
1584         is a symbolic link to lyx-[firstfrontend]
1585
1586 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1587
1588         * Always use std::endl with lyxerr
1589
1590 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1591
1592         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1593
1594 2003-08-01  André Pönitz  <poenitz@gmx.net>
1595
1596         * BufferView.[Ch]:
1597         * BufferView_pimpl.[Ch]:
1598         * lyxfunc.C:
1599         * text3.C: merge BufferView::repaint() and BufferView::update()
1600
1601 2003-08-01  José Matos  <jamatos@lyx.org>
1602
1603         * buffer.[Ch]: file_format is no longer a buffer data element.
1604
1605 2003-08-01  André Pönitz  <poenitz@gmx.net>
1606
1607         * BufferView.C:
1608         * lyxtext.h:
1609         * text.C:
1610         * text2.C: make redoParagraph more independent of current cursor
1611
1612         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1613         * text.C:
1614         * text2.C: remove unneeded members
1615
1616 2003-07-30  André Pönitz  <poenitz@gmx.net>
1617
1618         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1619
1620         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1621           create a single function...
1622
1623         * paragraph_funcs.C (moveItem): ... here.
1624
1625         * text.C:
1626           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1627
1628 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1629
1630         * LColor.[Ch]: Add comment and greyedout logical colors.
1631
1632 2003-07-30  André Pönitz  <poenitz@gmx.net>
1633
1634         * tabular.C: don't use Assert too heavily. This crashes where it
1635           shouldn't
1636
1637 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1638
1639         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1640         is disabled (bug 1232)
1641
1642 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1643
1644         * factory.C: limited 'arg' scope
1645
1646 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1647
1648         * factory.C: fixed Note submenu issues
1649
1650 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1651
1652         * factory.C: submenu for Note/Comment/Greyedout
1653
1654 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1655
1656         * lyx_main.C (LyX):
1657         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1658
1659 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1660
1661         * LaTeXFeatures.C:
1662         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1663         greyedout. Patch provided by Jürgen Spitzmüller.
1664
1665 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1666
1667         * kbmap.C (read): fix error message when reading bind files
1668
1669 2003-07-29  Angus Leeming  <leeming@lyx.org>
1670
1671         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1672         certainly does not do what it purports to do. I am doing it, and
1673         us, a favour by killing it.
1674
1675 2003-07-28  José Matos  <jamatos@lyx.org>
1676
1677         * buffer.C (readBody, do_writeFile):
1678         * paragraph.C(readParagraph): \end_document replaces \the_end.
1679
1680 2003-07-29  André Pönitz  <poenitz@gmx.net>
1681
1682         * BufferView.[Ch]:
1683         * BufferView_pimpl.[Ch]:
1684         * lyxfunc.C:
1685         * text2.C:
1686         * text3.C:
1687         * textcursor.[Ch]: remove toggleToggle & Co
1688
1689 2003-07-28  José Matos  <jamatos@fep.up.pt>
1690
1691         * buffer.C (readParagraph):
1692         * params_func (readParToken, readParagraph):
1693         * paragraph.C (write): \layout -> \begin_layout.
1694
1695 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1696
1697         * lyxlex_pimpl.C (setFile): clean up slightly.
1698
1699         * bufferparams.h: add compressed var
1700
1701         * buffer_funcs.C (readFile): adjust for LyXLex change
1702         (newFile): ditto + simplify
1703
1704         * buffer.C (writeFile): handle writing of compressed files
1705
1706         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1707         Check if the file is compressed and set a bufferparm if so.
1708
1709         * Makefile.am (lyx_LDADD): remove explicit -lz
1710
1711 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1712
1713         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1714         makeDocBookFile): put the real LyX version in the first line of
1715         the file
1716
1717         * version.h:
1718         * version.C.in: remove lyx_docversion
1719
1720         * tabular.C (write_attribute): add a template-based version to
1721         write enums properly
1722
1723 2003-07-28  André Pönitz  <poenitz@gmx.net>
1724
1725         * lyxtext.h:
1726         * text.C:
1727         * text2.C:
1728         * text3.C: use doubles again for x-coordinates. They are needed.
1729
1730 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1731
1732         * messages.C (getLocaleDir): use lyx_localedir()
1733
1734         * lyxlex_pimpl.C (setFile): compress stuff
1735
1736         * buffer.C (writeFile): add some compression stuff
1737         (do_writeFile): new func, dont call expliti close... will this
1738         breake anything?
1739
1740         * Makefile.am (lyx_LDADD): add -lz
1741
1742 2003-07-28  José Matos  <jamatos@fep.up.pt>
1743
1744         * buffer.C: increment file format.
1745         * paragraph_funcs (readParagraph, readParToken):
1746         * paragraph.C (readParagraph): add \end_layout.
1747
1748 2003-07-27  Angus Leeming  <leeming@lyx.org>
1749
1750         * Makefile.am: remove special casing for configure-time setting of
1751         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1752
1753         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1754         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1755
1756 2003-07-26  André Pönitz  <poenitz@gmx.net>
1757
1758         * paragraph_func.[Ch]:
1759         * paragraph.C (realizeFont): inline it whereever it is used
1760
1761         * rowpainter.C:
1762         * text.C:
1763         * text2.C:
1764         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1765
1766
1767 2003-07-26  André Pönitz  <poenitz@gmx.net>
1768
1769         *       lyxtext.h:
1770         * text.C:
1771         * text2.C: get rid of LyXText::need_break_row
1772
1773 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1774
1775         * toc.[Ch]: put namespace toc inside namespace lyx
1776
1777         * MenuBackend.C (expandToc2): adjust for lyx::toc
1778         (expandToc): ditto
1779
1780         * lyxfunc.C (dispatch): adjust for lyx::find
1781
1782         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1783         lyx::find instead. Reorganize a bit.
1784         (LyXReplace): rename to replace
1785         (LyXFind): rename to find
1786
1787         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1788         (dispatch): ditto
1789
1790 2003-07-26  André Pönitz  <poenitz@gmx.net>
1791
1792         * text.C (setHeightOfRow): restrict scope of temporary variable
1793
1794         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1795           code (never has been used?)
1796
1797 2003-07-27  Asger Alstrup  <alstrup@local>
1798
1799         * text.C (fill): Optimise algorithm to exploit that we can reuse
1800         the LyXFont for many characters.
1801         (setHeightOfRow): Same thing.
1802         (rowBreakPoint): Same thing.
1803
1804 2003-07-26  Asger Alstrup  <alstrup@local>
1805
1806         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1807
1808         * text.C (singleWidth): Spurious font copying in hot-spot
1809         singleWidth avoided. Reorder tests for arabic for efficiency.
1810
1811         * text.C (fill): handle empty paragraphs better.
1812
1813 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1814
1815         * ispell.C:
1816         * encoding.h: add includes
1817
1818         * lyxrc.C: remove reading of bind files
1819
1820         * lyx_main.C (init): setup bindings and menus only if we have a
1821         gui.
1822
1823         * kbmap.C (read): new method. Do the actual reading of bind
1824         files.
1825
1826         * converter.C (dvipdfm_options):
1827         * bufferparams.C:
1828         * lyxrc.C (read):
1829         (output): adapt PAPER_* enums.
1830
1831         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1832
1833         * bufferparams.h: remove paper-related enums from there
1834
1835         * paper.h: New file. A trivial header file to hold paper-related
1836         enums. It should later expand to contain many paper-related
1837         horrors access.
1838
1839         * lyxrc.C: declare extern displayTranslator
1840
1841 2003-07-27  José Matos  <jamatos@fep.up.pt>
1842
1843         * tabular.[Ch] (linuxdoc): add support for tables and figures
1844         (linuxdoc).
1845
1846 2003-07-27  José Matos  <jamatos@fep.up.pt>
1847
1848         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1849         consistency in both functions.
1850         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1851
1852 2003-07-26  Asger Alstrup  <alstrup@local>
1853
1854         * rowpainter.C (paintRows): Change algorithm to work directly on
1855         the insets rather than asking every character in the document
1856         whether its an inset.
1857
1858 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1859
1860         * buffer.C (openFileWrite): factorize some code
1861
1862 2003-07-26  Angus Leeming  <leeming@lyx.org>
1863
1864         * lyx_cb.C:
1865         * lyx_main.[Ch]: replace occurances of system_tempdir with
1866         os::getTmpDir().
1867
1868 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1869
1870         * rename Inset to InsetOld
1871
1872 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1873
1874         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1875         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1876         which I think is a bit clearer. EDIT is gone, since it was
1877         premature optimisation, and broken for mathed anyway.
1878         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1879         with cursor positioning in insets as well (math insets still do not
1880         work, but that's a different story anyway.) It mysteriously
1881         crashes sometimes with undo in the first paragraph, but I'm fairly
1882         confident that this is a compiler bug.
1883
1884 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1885
1886         * paragraph.C (Paragraph): adjust for new clone return type
1887         (operator==): ditto
1888         (copyIntoMinibuffer): ditto
1889
1890 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1891
1892         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1893         by not having a special case, and always doing a full rebreak of
1894         the document after undo.
1895
1896 2003-07-23  Angus Leeming  <leeming@lyx.org>
1897
1898         * factory.C (createInset): InsetExternal::setParams now takes a
1899         Buffer const * arg.
1900
1901 2003-07-23  Angus Leeming  <leeming@lyx.org>
1902
1903         * factory.C (createInset): changed interface to the external and
1904         graphics mailers' string2params functions.
1905
1906 2003-07-23  Angus Leeming  <leeming@lyx.org>
1907
1908         * factory.C (createInset): pass a
1909         Buffer const * parameter to InsetExternalMailer's string2params.
1910
1911 2003-07-22  John Levon  <levon@movementarian.org>
1912
1913         * Thesaurus.h: include the right aiksaurus header
1914
1915 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1916
1917         * MenuBackend.C (expand): check menu shortcuts unconditionally
1918
1919 2003-07-21  Angus Leeming  <leeming@lyx.org>
1920
1921         * factory.C (createInset): pass a
1922         buffer_path parameter to InsetGraphicsMailer's string2params.
1923
1924 2003-07-21  Angus Leeming  <leeming@lyx.org>
1925
1926         * BufferView_pimpl.C (buffer):
1927         * buffer.C (d-tor):
1928         * lyx_main.C (LyX):
1929         * lyxfunc.C (dispatch):
1930         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1931         rather than the grfx shortcut.
1932
1933 2003-07-21  André Pönitz  <poenitz@gmx.net>
1934
1935         * rowpainter.C: remove unused variables
1936
1937         * tabular_funcs.C:
1938         * tabular_funcs.h: move to tabular.C
1939         * Makefile.am: adjust
1940
1941         * tabular.[Ch]: basic optical cleaning
1942
1943         * author.h: pass references, not values
1944
1945 2003-07-18  André Pönitz  <poenitz@gmx.net>
1946
1947         * lyxtext.h:
1948         * metricsinfo.C:
1949         * metricsinfo.h:
1950         * rowpainter.C:
1951         * text.C:
1952         * text2.C:
1953         * text3.C: two-phase drawing for InsetText and InsetTabular
1954         some float -> int changes.
1955
1956 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1957
1958         * lyx_main.C: fix the fix
1959
1960 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1961
1962         * lyx_main.C: fix a crash in batch mode if no files specified
1963         * converter.C: ws
1964
1965 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1966
1967         * format.[Ch] (papersize): moved to BufferParams
1968         * converter.[Ch] (dvips_options): moved to BufferParams
1969         (dvipdfm_options): moved to anon namespace
1970         * bufferparams.[Ch]: added above functions.
1971
1972 2003-07-17  André Pönitz  <poenitz@gmx.net>
1973
1974         * lyxtext.h:
1975         * rowpainter.C:
1976         * text2.C: don't call inset->update() anymore
1977
1978         * metricsinfo.[Ch]: add convenience constructor
1979
1980 2003-07-16  André Pönitz  <poenitz@gmx.net>
1981
1982         * lyxcursor.[Ch]:
1983         * lyxfunc.[Ch]:
1984         * text.C:
1985         * text2.C: replace the LyXCursor::irow_ member with
1986          on-demand computation of the value
1987
1988 2003-07-16  John Levon  <levon@movementarian.org>
1989
1990         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1991
1992 2003-07-15  André Pönitz  <poenitz@gmx.net>
1993
1994         * text.C:
1995         * text2.C: remove no more needed refresh_row
1996
1997 2003-07-15  André Pönitz  <poenitz@gmx.net>
1998
1999         * lyxtext.h:
2000         * rowpainter.C:
2001         * text2.C:
2002         * text3.C: refresh_status tristate -> need_update bool
2003
2004 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2005
2006         * lyxtext.h (init): remove reinit argument (act as if always true)
2007         * text2.C: adjust to that
2008
2009 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2010
2011         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2012         * text3.C: use it to delete selections in some cases
2013         (bugs 441, 673, 702, 954).
2014
2015 2003-07-14  André Pönitz  <poenitz@gmx.net>
2016
2017         * rowpainter.[Ch]: reduce interface
2018
2019 2003-07-14  André Pönitz  <poenitz@gmx.net>
2020
2021         * BufferView_pimpl.C:
2022         * text2.C: adjust after removing unused BufferView * argument
2023
2024 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2025
2026         * text2.C (init): fix a crash fired on resize
2027
2028 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2029
2030         * buffer.[Ch]: added new closing signal
2031         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2032         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2033         BufferView::Pimpl via the closing the signal
2034
2035 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2036
2037         * buffer.[Ch]: take out all bv-related from buffer
2038         * BufferView.C:
2039         * BufferView_pimpl.[Ch]: connect to new signals
2040         * CutAndPaste.C: removed useless asserts
2041         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2042         * lyxvc.[Ch]:
2043         * vc-backend.[Ch]:
2044         * lyxfunc.C: moved view-related funciontality from vc here
2045         * paragraph.C: removed outdated comments
2046         * text.C: ws
2047
2048 2003-07-10  André Pönitz  <poenitz@gmx.net>
2049
2050         * BufferView_pimpl.C:
2051         * tabular.h:
2052         * tabular_funcs.C:
2053         * text.C:
2054         * text2.C: remove InsetText::InnerCache, clean up consequences
2055
2056 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2057
2058         * ispell.C: fix two typos in error messages
2059
2060 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2061
2062         * Extend Note inset to other forms of annotation like Comment
2063         and Greyedout. Right button click gives dialog.
2064
2065         Files modified or added (+):
2066
2067         * insetnote.[Ch]
2068         * FormNote.[Ch]      +
2069         * ControlNote.[Ch]   +
2070         * form_note.fd       +
2071         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2072         frontends/controllers
2073         * xforms/Dialogs.C
2074         * factory.C
2075
2076 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2077
2078         * aspell.C: add missing namespace lyx::support
2079
2080 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2081
2082         * BufferView.[Ch] (newFile): Add
2083         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2084         * LaTeX.[Ch] (message): added this signal and use it
2085         * buffer.[Ch] (busy, message): added these signals and use them
2086         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2087         * converter.C:
2088         * exporter.C:
2089         * format.C:
2090         * importer.C: use buffer signals instead of direct bv calling
2091         * lyx_cb.[Ch] (ShowMessage): removed
2092         * lyx_main.C:
2093         * lyxfunc.C:
2094         * paragraph_funcs.C:
2095         * text2.C: use buffer signals
2096
2097 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2098
2099         * introduce namespace lyx::graphics
2100
2101 2003-07-02  André Pönitz  <poenitz@gmx.net>
2102
2103         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2104
2105 2003-07-01  André Pönitz  <poenitz@gmx.net>
2106
2107         * text.C:
2108         * text2.C:
2109         * text3.C:
2110         * text_funcs.[Ch]:
2111         * textcursor.h:
2112         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2113           text*.C to text_func.C
2114
2115 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2116
2117         * introduce namespace lyx::support
2118
2119 2003-06-30  André Pönitz  <poenitz@gmx.net>
2120
2121         * Chktex.C:
2122         * funcrequest.C:
2123         * lyxtext.h:
2124         * text.C: re-enable --with-included-string
2125
2126 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2127
2128         * textcursor.C: add <config.h>
2129
2130         * text.C (getWord): remove const from word_location arg
2131
2132         * lyxvc.C (getLogFile): fix const type order
2133
2134         * lyxtext.h: remove const from word_location arg, add arg name
2135
2136         * lyxlayout.h: currect type on labeltype.
2137
2138         * importer.C: correct \file
2139
2140         * converter.C (intToFormat): use std:: on ret val, ws changes
2141
2142         * bufferlist.h: correct \file
2143
2144         * buffer.C (makeLinuxDocFile): fix const type order
2145         (makeDocBookFile): ditto
2146         (fillWithBibKeys): use std:: on stdlib args.
2147
2148         * CutAndPaste.C: fix authors.
2149         (availableSelections): use std:: on return vector
2150
2151 2003-06-27  André Pönitz  <poenitz@gmx.net>
2152
2153         * BufferView_pimpl.C:
2154         * bufferview_funcs.C:
2155         * lyxcursor.C:
2156         * lyxcursor.h:
2157         * lyxfunc.C:
2158         * lyxtext.h:
2159         * rowpainter.C:
2160         * text.C:
2161         * text2.C:
2162         * text3.C: remove LyXCursor::row_ member
2163
2164         * lyxtext.h:
2165         * text.C: rename fullRebreak() to partialRebreak() and implement
2166           a fullRebreak() that really bereks fully
2167
2168         * textcursor.h: new struct for cursor-related data
2169
2170 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2171
2172         * lyx_main.C (LyX): get full path of document loaded on the
2173         command line
2174
2175 2003-06-26  André Pönitz  <poenitz@gmx.net>
2176
2177         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2178           remove unused/broken operator>,<,>=.
2179
2180         *       text.C: remove only use of broken operator<= in an Assert().
2181
2182 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2183
2184         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2185         moved errorlist_.clear to showErrorList
2186
2187 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2188
2189         * converter.C (scanLog, runLaTeX):
2190         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2191         move the bv->showErrorList call to the callers
2192         * lyxfunc.C: i.e. here...
2193         * text2.C: and here
2194         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2195         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2196         namespace, the second to...
2197         * buffer_funcs (BufferFormat, parseErrors): added
2198         * errorlist.C (ErrorList(TeXErrors const &)): removed
2199
2200 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2201
2202         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2203
2204 2003-06-24  "Garst R. Reese" <reese@isn.net>
2205
2206         * debug.C: fix typo
2207
2208 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2209
2210         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2211
2212         * version.C.in: change docversion to 1.4
2213
2214 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2215
2216         * buffer.C: fix a bug just introduced
2217
2218 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2219
2220         * buffer.[Ch]: added the parseError signal and use it, removed
2221         sgmlError
2222         * BufferView.[Ch] (addError): moved to ...
2223         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2224         to the Buffer::parseError signal to catch (guess what) parse errors
2225         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2226
2227 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2228
2229         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2230         ability to create a buffer and to return an existing one from
2231         the list. Moved these functions to...
2232         * buffer_funcs.[Ch]: added
2233         * BufferView.[Ch] (loadLyXFile): added
2234         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2235         job removed from bufferlist::loadLyXFile.
2236         * buffer.C (setReadOnly): make it work without view
2237         (i.e added an if (users))
2238
2239 2003-06-19  Angus Leeming  <leeming@lyx.org>
2240
2241         * lfuns.h:
2242         * LyXAction.C (init):
2243         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2244         with LFUN_DIALOG_SHOW <name> <data>.
2245
2246 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2247
2248         * CutAndPaste.C (availableSelections): small compilation fix for
2249         ancient (gcc 2.9x) compilers
2250
2251 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2252
2253         * text3.C (cursorNext): add tmp var
2254
2255         * text2.C (updateCounters): for function calling out of for clause
2256         (replaceSelectionWithString): ditto
2257         (insertStringAsParagraphs): ditto
2258         (getColumnNearX): add tmp var
2259         (setCursorFromCoordinates): add tmp var
2260         (cursorDownParagraph): add tmp var
2261         (deleteEmptyParagraphMechanism): add tmp var
2262
2263         * text.C (insertChar): add tmp var
2264
2265         * rowpainter.C (paintDepthBar): add tmp var
2266
2267         * CutAndPaste.C (availableSelections): potentially check all
2268         paragraphs in a cut to fill the shown strings.
2269
2270 2003-06-18  André Pönitz  <poenitz@gmx.net>
2271
2272         * kbmap.[Ch]: use vector<> instead of list<>
2273
2274 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2275
2276         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2277         pasteSelection with index
2278
2279         * text2.C (pasteSelection): modify, call pasteSelection with index
2280
2281         * paragraph.C (asString): reimplement version with no interval to
2282         call the one with interval.
2283
2284         * lyxtext.h: add index arg to pasteSelection
2285
2286         * MenuBackend.C (MenuItem): handle PasteRecent
2287         (Menu::read::Menutags): add md_pasterecent
2288         (read): handle it
2289         (expandPasteRecent): new function
2290         (expand): use it
2291
2292         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2293
2294         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2295         the limited stack
2296         (availableSelections): new function
2297
2298 2003-06-17  Angus Leeming  <leeming@lyx.org>
2299
2300         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2301
2302 2003-06-17  Angus Leeming  <leeming@lyx.org>
2303
2304         * lfuns.h:
2305         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2306
2307         * lyxfunc.C (dispatch): invoke it.
2308
2309 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2310
2311         * iterators.C (operator++, ParPosition): reintroduce some
2312         const_cast for the benefit of older compilers.
2313
2314 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2315
2316         * text3.C (dispatch): do not modify clipboard when doing
2317         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2318         LFUN_DELETE_SKIP on a selection selection
2319
2320 2003-06-16  André Pönitz  <poenitz@gmx.net>
2321
2322         * BufferView.C:
2323         * buffer.C:
2324         * buffer.h:
2325         * paragraph.C:
2326         * tabular.[Ch]: IU of clone() and getLabelList();
2327
2328 2003-06-13  André Pönitz  <poenitz@gmx.net>
2329
2330         * tabular.h: compactification
2331
2332 2003-06-12  André Pönitz  <poenitz@gmx.net>
2333
2334         * tabular.C:
2335         * tabular.h:
2336         * tabular_funcs.h: some renaming plus whitespace
2337
2338 2003-06-12  André Pönitz  <poenitz@gmx.net>
2339
2340         * BufferView.C:
2341         * BufferView_pimpl.C:
2342         * CutAndPaste.C:
2343         * buffer.C:
2344         * iterators.[Ch]:
2345         * lyxfunc.C:
2346         * text.C:
2347         * toc.C: Return a Paragraph & for ParIterator::operator*()
2348
2349 2003-06-11  John Levon  <levon@movementarian.org>
2350
2351         * lyx_main.C:
2352         * ToolbarBackend.h:
2353         * ToolbarBackend.C: add "Toolbars" section and
2354         put the flags there
2355
2356 2003-06-10  Angus Leeming  <leeming@lyx.org>
2357
2358         * lfuns.h:
2359         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2360
2361         * lyxfunc.C (dispatch): invoke it.
2362
2363 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2364
2365         * main.C: protect <ios> with HAVE_IOS
2366         (main): protect sync_with_stdio with HAVE_IOS
2367
2368 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2369
2370         * text2.C (cutSelection): adjust
2371         (pasteSelection): adjust
2372
2373         * messages.C: handle get of empty string
2374
2375         * main.C (main): use sync_with_stdio(false)
2376
2377         * lyxfunc.C (dispatch): adjust
2378
2379         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2380         (WriteAs): remove unneeded BufferView arg.
2381
2382         * bufferparams.h: use correct types on papersize, papersize2 and
2383         paperpackage.
2384
2385         * bufferparams.C (readToken): adjust for type
2386         (writeLaTeX): add missing cases to switch.
2387
2388         * bufferlist.C (quitWriteBuffer): adjust
2389         (close): adjust
2390
2391         * buffer.C (asciiParagraph): remove some commented code.
2392
2393         * CutAndPaste.C: remove current_view extern variable.
2394         (cutSelection): add BufferParams arg.
2395         (eraseSelection): add BufferParams arg.
2396         (pasteSelection): add Buffer const & arg
2397
2398 2003-06-07  John Levon  <levon@movementarian.org>
2399
2400         * buffer.C:
2401         * paragraph_funcs.C:
2402         * paragraph_pimpl.C:
2403         * text.C:
2404         * text2.C:
2405         * paragraph.h:
2406         * paragraph.C: allow InsetERT to freely space lines,
2407         and some consolidation of code
2408
2409 2003-06-06  José Matos  <jamatos@fep.up.pt>
2410
2411         * buffer.C (makeDocBookFile): fix bug #821
2412
2413 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2414
2415         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2416
2417 2003-06-04  Angus Leeming  <leeming@lyx.org>
2418
2419         * buffer.C: bump format to 224.
2420
2421 2003-06-05  André Pönitz  <poenitz@gmx.net>
2422
2423         * text2.C (redoParagraphs): remove two const_cast<>
2424
2425 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2426
2427         * ParagraphList.h: remove last remnants of NO_STD_LIST
2428
2429 2003-06-03  Angus Leeming  <leeming@lyx.org>
2430
2431         * factory.C (createInset): small change to the way InsetExternal's params
2432         are set.
2433
2434 2003-06-04  André Pönitz  <poenitz@gmx.net>
2435
2436         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2437
2438         * paragraph_pimpl.h:
2439         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2440
2441         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2442
2443         * undo_funcs.C: make some simple cases of undo work again
2444
2445 2003-06-03  John Levon  <levon@movementarian.org>
2446
2447         * ispell.C: HPUX doesn't have sys/select.h
2448         (from Albert Chin)
2449
2450 2003-06-03  John Levon  <levon@movementarian.org>
2451
2452         * CutAndPaste.C: update tabular and include inset
2453         buffer references
2454
2455         * buffer.h:
2456         * paragraph.h:
2457         * paragraph.C: remove owningBuffer(), don't pass Buffer
2458         to clone()
2459
2460         * factory.C: insetGraphicsParams changed
2461
2462 2003-06-02  John Levon  <levon@movementarian.org>
2463
2464         * LyXAction.C:
2465         * factory.C:
2466         * lfuns.h:
2467         * lyxfunc.C:
2468         * text3.C: remove insetparent
2469
2470 2003-06-02  John Levon  <levon@movementarian.org>
2471
2472         * buffer.h:
2473         * buffer.C: fix inset_iterator.end(), move out of line
2474         (bug 1149)
2475
2476 2003-06-01  John Levon  <levon@movementarian.org>
2477
2478         * text3.C: use a proper cut/paste when doing inset
2479         insert (from Jürgen Spitzmüller)
2480
2481 2003-06-01  John Levon  <levon@movementarian.org>
2482
2483         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2484
2485 2003-05-30  André Pönitz  <poenitz@gmx.net>
2486
2487         * rowpainter.C: unify second drawing phase
2488
2489 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2490
2491         * trans_mgr.C: remove one case of current_view
2492
2493         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2494
2495         * paragraph_funcs.h: remove paragraph.h include
2496
2497         * paragraph.h: delete NO_STD_LIST stuff
2498
2499         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2500
2501         * buffer.h: remove paragraph.h include
2502
2503         * ParagraphList.C: delete file
2504
2505         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2506
2507         * toc.C (getTocList): adjust
2508
2509         * paragraph_pimpl.C (validate): adjust
2510
2511         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2512
2513         * paragraph.C (Paragraph): adjust
2514         (getPositionOfInset): use const_iterator, adjust
2515         (bibitem): use const_iterator, adjust
2516         (setInsetOwner): adjust
2517
2518         * iterators.C (operator++): adjust
2519
2520         * InsetList.[Ch]: Replace selfmade iterator with standard
2521         vector::iterator also introduce const_iterator. Remove getPos,
2522         getInset and setInset from InsetTable. Adjust accordingly.
2523
2524         * BufferView.C (lockInset): adjust
2525         (ChangeInsets): adjust
2526
2527         * tabular.[Ch]: delete commented same_id functions
2528
2529 2003-05-28  John Levon  <levon@movementarian.org>
2530
2531         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2532
2533 2003-05-28  André Pönitz  <poenitz@gmx.net>
2534
2535         * metricsinfo.[Ch]: remove 'fullredraw' member
2536
2537 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2538
2539         * lyxtextclass.C (operator): remove caching.
2540
2541 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2542
2543         * text3.C: adjust
2544
2545         * text2.C (cursorBottom): adjust
2546         (setCounter): use ParagraphList::find, adjust
2547
2548         * text.C (workWidth): use ParagraphList::find, adjust
2549
2550         * lyxcursor.C (LyXCursor): adjust
2551
2552         * buffer.C (inset_iterator): adjust
2553
2554         * ParagraphList.h: make iterator(value_type) private, make
2555         ParagraphList a friend of iterator.
2556
2557         * ParagraphList.C (find): new function
2558
2559         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2560
2561 2003-05-27  André Pönitz  <poenitz@gmx.net>
2562
2563         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2564
2565 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2566
2567         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2568
2569 2003-05-26  John Levon  <levon@movementarian.org>
2570
2571         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2572
2573 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2574
2575         * remove same_id from function signatures, adjust.
2576
2577 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2578
2579         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2580
2581         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2582
2583         * paragraph.C (Paragraph): get rid of same_ids parameter
2584
2585         * ParagraphList.C (insert): adjust
2586         (push_back): adjust
2587
2588 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2589
2590         * paragraph_funcs.C (breakParagraph): adjust
2591         (breakParagraphConservative): adjust
2592
2593         * buffer.C (readParagraph): adjust
2594
2595         * ParagraphList.C (insert): take a reference instead of a pointer
2596         (insert): adjust
2597
2598         * paragraph.[Ch] (id): new function
2599
2600         * bufferlist.C (newFile): adjust
2601
2602         * ParagraphList.C (ParagraphList): adjust
2603         (assign): adjust
2604         (push_back): take a reference instead of a pointer.
2605
2606         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2607
2608         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2609         instead.
2610
2611         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2612         set else use old code.
2613
2614         * ParagraphList.C: remove all NO_NEXT code and only compile this
2615         code of NO_STD_LIST is set.
2616
2617 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2618
2619         * BufferView_pimpl.C:
2620         * TextCache.C:
2621         * TextCache.h:
2622         * bufferlist.C:
2623         * errorlist.h:
2624         * format.C:
2625         * format.h:
2626         * graph.C:
2627         * lyxfunc.C:
2628         * lyxrc.C:
2629         * graphics/GraphicsConverter.C:
2630         * graphics/PreviewLoader.C: header adjustment
2631
2632 2003-05-23  Angus Leeming  <leeming@lyx.org>
2633
2634         * LaTeXFeatures.[Ch] (useBabel): new method.
2635         * bufferparams.C (writeLaTeX): use it.
2636
2637 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2638
2639         * ParagraphList.h (set): remove unused function.
2640
2641 2003-05-23  André Pönitz  <poenitz@gmx.net>
2642
2643         * BufferView.C:
2644         * BufferView_pimpl.C:
2645         * buffer.C:
2646         * buffer.h:
2647         * lyxfunc.C:
2648         * undo_funcs.C: setUndo reworked
2649
2650         * iterators.[Ch]: add access to topmost ParagraphList
2651
2652         * lyxtext.[Ch] (workWidth): add a const
2653
2654 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2655
2656         * texrow.[Ch] (increasePos): remove function
2657         * exporter.C (export): removed unused var and outdated comment
2658
2659 2003-05-23  Angus Leeming  <leeming@lyx.org>
2660
2661         * latexrunparams.h: rename fragile as moving_arg.
2662         * paragraph.C (simpleTeXOnePar): ditto.
2663         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2664
2665 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2666
2667         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2668         (createUndo): ditto
2669         (textUndoOrRedo): comment out a currently unused var.
2670
2671         * paragraph.h (NO_NEXT): enable NO_NEXT
2672
2673         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2674
2675         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2676
2677         * exporter.C (Export): adjust for removeAutoInsets removal.
2678
2679         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2680
2681         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2682
2683         * BufferView.[Ch] (removeAutoInsets): delete function
2684
2685 2003-05-22  Angus Leeming  <leeming@lyx.org>
2686
2687         * latexrunparams.h: add a free_spacing variable.
2688
2689         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2690         to pass moving_arg, as the data is stored in runparams.fragile.
2691
2692         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2693         to Inset::latexOptional or to simpleTeXOnePar.
2694
2695         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2696         free_spacing arg to Inset::latexOptional.
2697
2698         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2699         free_spacing arg.
2700
2701 2003-05-22  Angus Leeming  <leeming@lyx.org>
2702
2703         * latexrunparams.h: add fragile and use_babel variables.
2704
2705         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2706         * buffer.C (makeLaTeXFile): store this returned value in
2707         runparams.use_babel, thus passing it to the inset::latex methods.
2708
2709         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2710         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2711
2712         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2713         longer has a fragile arg, as it is stored in runparams.fragile.
2714
2715         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2716         moving_arg parameter as the data is stored in runparams.fragile.
2717
2718         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2719         a fragile parameter as the data is stored in runparams.fragile.
2720
2721 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2722
2723         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2724
2725 2003-05-22  Angus Leeming  <leeming@lyx.org>
2726
2727         * latexrunparams.h: add a 'bool nice' which defaults to false.
2728
2729         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2730         now encapsulated within runparams.
2731
2732         * bufferlist.C (updateIncludedTeXfiles):
2733         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2734
2735 2003-05-22  Angus Leeming  <leeming@lyx.org>
2736
2737         * latexrunparams.h: new file containing struct LatexRunParams.
2738         * Makefile.am: add new file.
2739
2740         * LaTeX.[Ch] (c-tor, run):
2741         * buffer.[Ch] (makeLaTeXFile):
2742         * bufferlist.[Ch] (updateIncludedTeXfiles):
2743         * converter.C (convert, scanLog):
2744         * converter.[Ch] (runLaTeX):
2745         * exporter.C (Export):
2746         * paragraph.[Ch] (simpleTeXOnePar):
2747         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2748         * paragraph_funcs.[Ch] (latexParagraphs):
2749         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2750         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2751         pass around a LatexRunParams parameter.
2752
2753 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2754
2755         * paragraph.[Ch]: remove unused constructor
2756
2757         * ParagraphList.C (erase): new function, taking two iterators
2758
2759 2003-05-22  André Pönitz  <poenitz@gmx.net>
2760
2761         * undo_funcs.C: remove duplicated code
2762
2763         * iterator.[Ch]: operator=
2764
2765 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2766
2767         * tabular.C (SetMultiColumn): ws changes
2768
2769         * rowpainter.C (paintFirst): get rid of a ->previous
2770
2771         * lyx_cb.C (getPossibleLabel): parlist simplification
2772
2773         * BufferView.C (ChangeInsets): simplify slightly.
2774
2775 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2776
2777         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2778         * lfuns.h: new LFUN_SPACE
2779         * lyxfunc.C: protected space has a new lfun
2780         * paragraph_funcs.C: read new space insets
2781         * text3.C:
2782         * factory.C: handle new space insets
2783
2784 2003-05-22  André Pönitz  <poenitz@gmx.net>
2785
2786         * BufferView.C:
2787         * BufferView_pimpl.C:
2788         * buffer.[Ch]:
2789         * lyxfunc.C:
2790         * undo_funcs.C: return a ParIterator from getParFromID.
2791
2792         * iterators.[Ch]: add two const's
2793
2794 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2795
2796         * toc.C (getTocList): adjust
2797
2798         * iterators.[Ch]: rework for parlist
2799
2800         * buffer.C (par_iterator_begin): adjust
2801         (par_iterator_end): adjust
2802
2803         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2804
2805         * BufferView.C (removeAutoInsets): adjust
2806         (ChangeInsets): adjust
2807
2808 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2809
2810         * text.C (top_y): fix bug 1110
2811
2812 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2813
2814         * errorlist.[Ch]: added
2815         * buffer.C:
2816         * BufferView.[Ch]:
2817         * BufferView_pimpl.C:
2818         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2819         instead
2820
2821 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2822
2823         * Makefile.am: ensure that lyx is relinked upon changes to the
2824         various "convenience" libs.
2825
2826 2003-05-20  Angus Leeming  <leeming@lyx.org>
2827
2828         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2829         files are compiled in alphabetical order again.
2830
2831         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2832
2833 2003-05-19  Angus Leeming  <leeming@lyx.org>
2834
2835         * gettext.[Ch]: remove "char const * _(char const *)".
2836
2837 2003-05-19  André Pönitz  <poenitz@gmx.net>
2838
2839         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2840
2841         * Makefile.am:
2842         * BufferView.C:
2843         * DepTable.h:
2844         * LaTeXFeatures.C:
2845         * buffer.C:
2846         * lyxfont.C:
2847         * lyxlex.h:
2848         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2849
2850 2003-05-19  André Pönitz  <poenitz@gmx.net>
2851
2852         * buffer.C:
2853         * lyxlayout.[Ch]:
2854         * lyxtextclass.[Ch]:
2855         * paragraph.C:
2856         * paragraph_funcs.[Ch]:
2857         * text2.C:
2858         * text3.C: more insetenv work
2859
2860 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2861
2862         * ParagraphParameters.C (params2string): small bug fixed
2863
2864 2003-05-16  André Pönitz  <poenitz@gmx.net>
2865
2866         * debug.C:
2867         * bufferview_funcs.C: patch from Kornel Benko to prevent
2868           crash when _(...) is called twice in a statement
2869
2870 2003-05-16  André Pönitz  <poenitz@gmx.net>
2871
2872         * BufferView.C:
2873         * lyxfunc.C:
2874         * text.C:
2875         * text2.C:
2876         * text3.C:
2877         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2878
2879 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2880
2881         * lyx_main.C (init): remove spurious static_cast
2882
2883 2003-05-14  André Pönitz  <poenitz@gmx.net>
2884
2885         * BufferView.C: fix format string
2886
2887 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2888
2889         * BufferView.[Ch] (insertErrors): removed
2890         * BufferView.[Ch] (showErrorList): added
2891         * buffer.C (runChkTeX):
2892         * converter.C (scanLog): call showErrorList instead of inserterrors
2893
2894 2003-05-13  André Pönitz  <poenitz@gmx.net>
2895
2896         * BufferView_pimpl.C:
2897         * buffer.C:
2898         * bufferview_func.C:
2899         * MenuBackend.C:
2900         * lyxfunc.C:
2901         * lyxrc.C:
2902         * tex-accent.C:
2903         * text3.C:
2904         * toc.C:
2905         * tabular_funcs.h: tostr() from its own header
2906
2907         * ParagraphParameters.C:
2908         * ToolbarBackend.C:
2909         * bufferparams.C:
2910         * format.C:
2911         * lyxlex_pimpl.C:
2912         * text3.C: STRCONV()
2913
2914 2003-05-12  André Pönitz  <poenitz@gmx.net>
2915
2916         * BufferView.C:
2917         * BufferView_pimpl.C:
2918         * CutAndPaste.C:
2919         * LaTeX.C:
2920         * LaTeXFeatures.C:
2921         * ParagraphParameters.C:
2922         * buffer.C:
2923         * bufferlist.C:
2924         * bufferparams.C:
2925         * bufferview_funcs.C:
2926         * converter.C:
2927         * counters.C:
2928         * debug.C:
2929         * exporter.C:
2930         * format.C:
2931         * importer.C:
2932         * lyx_cb.C:
2933         * lyx_main.C:
2934         * lyxfont.C:
2935         * lyxfunc.C:
2936         * lyxvc.C:
2937         * paragraph.C:
2938         * paragraph_funcs.C:
2939         * tabular.C:
2940         * tabular_funcs.C:
2941         * text2.C:
2942         * text3.C:  boost::format -> bformat  all over the place
2943
2944
2945 2003-05-09  André Pönitz  <poenitz@gmx.net>
2946
2947         * LColor.[Ch]: Pimpl the #include <map> away
2948
2949 2003-05-09  John Levon  <levon@movementarian.org>
2950
2951         * bufferlist.C: never remove emergency saves
2952
2953 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2954
2955         * Makefile.am: better lib building
2956
2957 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2958
2959         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2960         instead.
2961         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2962         (simpleTeXSpecialChars): adjust
2963         (simpleTeXSpecialChars): adjust
2964         * paragraph.C (simpleTeXOnePar): adjust
2965         * buffer.C (makeLaTeXFile): adjust
2966
2967         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2968
2969         * text2.C (changeDepth): parlist cleanup
2970         (getColumnNearX): ditto
2971
2972         * rowpainter.C (getLabelFont): parlist cleanup
2973
2974         * bufferlist.C (newFile): parlist cleanup
2975
2976         * CutAndPaste.C (eraseSelection): parlist cleanup
2977
2978         * BufferView_pimpl.C (trackChanges): parlist cleanup
2979         (dispatch): ditto
2980
2981         * BufferView.C (lockInset): parlist cleanup.
2982         (ChangeInsets): ditto
2983
2984 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2985
2986         * CutAndPaste.h: Update file header.
2987
2988         * CutAndPaste.C: Update file header.
2989         Store the parts cut out of the Document in a limited_stack.
2990         (copySelection): adjust
2991         (pasteSelection): new function, takes the index in the limited stack.
2992         (nrOfParagraphs): adjust
2993         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2994         simplify error inset insertion.
2995         (checkPastePossible): adjust
2996
2997 2003-05-06  John Levon  <levon@movementarian.org>
2998
2999         * text2.C: don't cast wrap inset to float
3000
3001 2003-05-05  André Pönitz  <poenitz@gmx.net>
3002
3003         * iterator.C:
3004         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3005
3006         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3007           few naked Paragraph *.
3008
3009 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3010
3011         * bufferparams.C: Output warning if a document with missing
3012         TeX document class is loaded
3013         * exporter.C: Disable TeX exports if the document class is missing
3014         * lyxtextclass.C:
3015         * lyxtextclass.h:
3016         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3017         isTeXClassAvailable()
3018
3019 2003-05-03  John Levon  <levon@movementarian.org>
3020
3021         * BufferView.h:
3022         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3023         explicit cursor show/hide
3024
3025         * BufferView_pimpl.h:
3026         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3027         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3028
3029         * lyxfunc.C: hide cursor before dispatching.
3030
3031         * lyx_cb.C:
3032         * lyxfind.C:
3033         * text.C:
3034         * text3.C: remove explicit cursor hides
3035
3036 2003-05-02  André Pönitz  <poenitz@gmx.net>
3037
3038         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3039
3040         * undo_funcs.C:
3041         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3042           linked lists
3043
3044         * text2.C: tiny whitespace
3045
3046 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3047
3048         * undo_funcs.C: almost only ws changes.
3049
3050         * ParagraphList.C (splice): just return if pl is empty.
3051
3052 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3053
3054         * ParagraphList.C (splice): new function.
3055
3056         * CutAndPaste.C (pasteSelection): use it
3057
3058 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3059
3060         * CutAndPaste.C (pasteSelection): remove the last next and
3061         previous from this file.
3062
3063 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3064
3065         * CutAndPaste.C (pasteSelection): more clean up, user proper
3066         ParagraphList functions for pasteing.
3067
3068         * ParagraphList.C (insert): new function, three arg insert
3069
3070 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3071
3072         * ParagraphList.C (insert): new function, three arg insert
3073
3074         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3075         not on paragraphs.
3076
3077 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3078
3079         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3080
3081 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3082
3083         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3084
3085 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3086
3087         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3088         (copySelection): clean up a bit.
3089         (pasteSelection): use make_pair
3090
3091         * ParagraphList.C (ParagraphList): implement copy constructor
3092         (operator=): implement, base on copy constructor.
3093         (assign): new func
3094
3095         * paragraph.C (erase): return a bool
3096
3097         * paragraph_pimpl.C (erasePos): remove function, move contents...
3098         (erase): ... here. Return a bool.
3099         (erase): call erase instead of erasePos.
3100
3101 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3102
3103         * ParagraphList.h: define PitPosPair
3104         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3105         ParagraphList, fix a bug on pasting multiple pars
3106         * text2.C: change interface to C&P
3107
3108 2003-04-30  André Pönitz  <poenitz@gmx.net>
3109
3110         * undo_func.C: revert part of yesterday's patch 2
3111
3112 2003-04-30  John Levon  <levon@movementarian.org>
3113
3114         * LColor.C: s/tabular/table/
3115
3116 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3117
3118         * text3.C (dispatch): do not convert iterator -> pointer
3119         * undo_funcs.C (setCursorParUndo): ditto
3120         * text_funcs.C (transposeChars): ditto
3121
3122         * text2.C (setLayout): ws changes only
3123
3124         * text.C (breakParagraph): do not convert iterator -> pointer
3125         (insertChar): ditto
3126         (acceptChange): ditto
3127         (rejectChange): ditto
3128         (changeCase): ditto
3129         (Delete): ditto
3130         (backspace): ditto
3131
3132         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3133         pointer
3134
3135 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3136
3137         * text3.C (gotoInset): YABG (yet another bad getChar)
3138
3139 2003-04-29  André Pönitz  <poenitz@gmx.net>
3140
3141         * paragraph.h: make operator= private unimplemented as long as
3142           it is unusable
3143
3144         * ParagraphList.C: whitespace
3145
3146         * paragraph.[Ch]:
3147         * paragraph_pimpl.[Ch]:
3148         * paragraph_funcs.C:
3149         * CutAndPaste.C:
3150         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3151
3152         * text2.C:
3153           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3154
3155 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3156
3157         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3158         * paragraph.[Ch] (erase):
3159         * paragraph_pimpl.[Ch] (erase): change return type and value
3160         * text2.C (cutSelection): some rework
3161
3162 2003-04-28  John Levon  <levon@movementarian.org>
3163
3164         * bufferlist.C: changes for unsaved changes dialog
3165
3166 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3167
3168         * bufferlist.C (newFile): set language (messages_) for new
3169         documents also.
3170
3171         * buffer.C (readFile): ws changes only.
3172
3173 2003-04-28  André Pönitz  <poenitz@gmx.net>
3174
3175         * undo_funcs.C:
3176         * lyxfunc.C:
3177         * buffer.[Ch]:
3178         * BufferView_pimpl.C:
3179         * BufferView.C: getParFromID related ParagraphList::iterator changes
3180
3181 2003-04-28  André Pönitz  <poenitz@gmx.net>
3182
3183         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3184           Changes
3185
3186 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3187
3188         * messages.C: remove one more localedir class variable.
3189
3190 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3191
3192         * messages.C (getLocaleDir): singleton generation function
3193         (Pimpl): use it.
3194         (Messages): add a default constructor.
3195
3196         * main.C (main): do not setup localedir here, do not call
3197         gettext_init.
3198
3199         * gettext.C (_): use it.
3200         (gettext_init): delete funciton
3201
3202 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3203
3204         * gettext.C (getLyXMessages): new singleton generating function.
3205
3206         * buffer.C (updateDocLang): adjust
3207
3208         * Makefile.am (messages.o): add target
3209         (main.o): remove target
3210
3211 2003-04-27  John Levon  <levon@movementarian.org>
3212
3213         * bufferlist.C:
3214         * lyx_cb.C:
3215         * lyxfunc.C:
3216         * lyxvc.C: specify cancel button in Alert::prompt
3217
3218 2003-04-26  John Levon  <levon@movementarian.org>
3219
3220         * text3.C:
3221         * lyxfunc.C:
3222         * lfuns.h:
3223         * LyXAction.C: add LFUN_INSET_SETTINGS
3224
3225         * lyxfunc.C: don't enable tabular-feature when there's
3226         just any locking inset
3227
3228 2003-04-26  John Levon  <levon@movementarian.org>
3229
3230         * bufferlist.C: re-add Cancel to buffer close question
3231
3232         * lyxfunc.C: fix import UI a bit
3233
3234 2003-04-25  John Levon  <levon@movementarian.org>
3235
3236         * gettext.C: remove the broken asserts for now
3237
3238 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3239
3240         * messages.C: make case where setlocale cannot comply work better.
3241
3242         * buffer.C (updateDocLang): new function
3243         (changeLanguage): use it
3244         (readFile): use it
3245
3246         * text2.C (setCounter): use B_ a bit.
3247
3248         * lyxlayout.C (Read): be sure to trim the label strings.
3249
3250         * messages.C (Messages): fix typo in comment
3251
3252         * buffer.C (readFile): set message_ after file is loaded.
3253         (makeDocBookFile): remove double return
3254         (changeLanguage): reset message_ upon language change.
3255         (B_): new func, use this to get translated buffer strings.
3256
3257         * main.C: add myself and Jean Marc as authors.
3258
3259 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3260
3261         * messages.[hC]: pimplify Messages, and three different pimpls to be
3262         used in different circumstances.
3263
3264         * gettext.[Ch]: change for use with new message code.
3265
3266 2003-04-24 André Pönitz <poenitz@gmx.net>
3267
3268         * factory.C: support for eqref
3269
3270 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3271
3272         * messages.[Ch]: add missing char
3273
3274         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3275
3276         * messages.[Ch]: New files
3277
3278 2003-04-18  John Levon  <levon@movementarian.org>
3279
3280         * BufferView.h:
3281         * BufferView.C:
3282         * BufferView_pimpl.C:
3283         * lfuns.h:
3284         * LyXAction.C:
3285         * lyxtext.h:
3286         * text2.C: remove layout-copy/paste (bug 778)
3287
3288 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3289
3290         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3291
3292 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3293
3294         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3295         if they succeed. Act accordingly.
3296
3297 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3298
3299         * text2.C (setCharFont): adjust
3300         (setCounter): adjust
3301         (insertStringAsLines): adjust
3302
3303         * text.C (leftMargin): adjust
3304         (setHeightOfRow): adjust
3305
3306         * rowpainter.C (paintFirst): adjust
3307         (paintLast): adjust
3308
3309         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3310         (outerHook): ditto
3311         (isFirstInSequence): ditto
3312         (getEndLabel): ditto
3313         (outerFont): adjust
3314
3315         * paragraph.C (getParLanguage): comment out some hard stuff.
3316
3317         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3318         (sgmlError): ditto
3319         (simpleDocBookOnePar): ditto
3320         (makeDocBookFile): use ParagraphList::iterator
3321
3322         * CutAndPaste.C (pasteSelection): adjust
3323
3324 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3325
3326         * text2.C (getFont): adjust
3327         (getLayoutFont): adjust
3328         (getLabelFont): adjust
3329
3330         * paragraph_funcs.C (TeXOnePar): adjust
3331
3332         * buffer.C (simpleLinuxDocOnePar): adjust
3333         (simpleDocBookOnePar): adjust
3334
3335         * CutAndPaste.C (pasteSelection): adjust
3336
3337         * BufferView.C (getEncoding): adjust
3338
3339         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3340
3341 2003-04-16  John Levon  <levon@movementarian.org>
3342
3343         * lyxfind.C: use parlist stuff for search/changes
3344
3345 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3346
3347         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3348
3349         * text2.C (deleteEmptyParagraphMechanism): adjust
3350
3351         * text2.[Ch] (ownerParagraph): delete func (both of them
3352
3353 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3354
3355         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3356
3357 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3358
3359         * ParagraphList.C: prepare for NO_NEXT
3360
3361 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3362
3363         * text2.C (getFont): adjust
3364         (getLayoutFont): adjust
3365         (getLabelFont): adjust
3366
3367         * paragraph.C (getFont): adjust
3368         (getLabelFont): adjust
3369         (getLayoutFont): adjust
3370
3371         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3372
3373 2003-04-15  John Levon  <levon@movementarian.org>
3374
3375         From Angus Leeming
3376
3377         * lyx_main.C: handle Include in .ui files
3378
3379 2003-04-15  John Levon  <levon@movementarian.org>
3380
3381         * MenuBackend.C: make the doc files length shorter
3382
3383         * ToolbarBackend.h:
3384         * ToolbarBackend.C: handle toolbar placement flags,
3385         Minibuffer
3386
3387 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3388
3389         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3390         adjust
3391
3392         * paragraph_funcs.C (TeXOnePar): adjust
3393
3394         * paragraph.C (getLabelFont): add outerfont arg, adjust
3395         (getLayoutFont): ditto
3396         (simpleTeXOnePar): adjust
3397
3398         * paragraph_pimpl.C (realizeFont): delete func
3399
3400 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3401
3402         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3403         row argument, constify cur argument.
3404
3405 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3406
3407         * text2.C (getFont): adjust
3408         (getLayoutFont): adjust
3409         (getLabelFont): adjust
3410
3411         * paragraph_funcs.C (TeXOnePar): adjust
3412         (outerFont): new func...
3413         (realizeFont): ...moved out from here, changed this to facilitate
3414         transition
3415
3416         * paragraph.C (getFont): take outerfont as arg, adjust
3417         (simpleTeXOnePar): add outerfont arg, adjust
3418
3419         * buffer.C (simpleLinuxDocOnePar): adjust
3420         (simpleDocBookOnePar): adjust
3421
3422         * CutAndPaste.C (pasteSelection): adjust
3423
3424         * BufferView.C (getEncoding): adjust
3425
3426 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3427
3428         * text2.C (setCharFont): adjust
3429         (setCounter): adjust
3430
3431         * text.C (leftMargin): adjust
3432         (setHeightOfRow): adjust
3433
3434         * rowpainter.C (paintFirst): adjust
3435         (paintLast): adjust
3436
3437         * paragraph_pimpl.C (realizeFont): adjust
3438
3439         * paragraph.C (isFirstInSequence): move from here...
3440         * paragraph_funcs.C (isFirstInSequence): ...to here
3441
3442         * paragraph.C (outerHook): move from here...
3443         * paragraph_funcs.C (outerHook): ...to here
3444
3445         * paragraph.C (depthHook): move from here...
3446         * paragraph_funcs.C (depthHook): ...to here
3447
3448         * paragraph.C (getEndLabel): move from here...
3449         * paragraph_funcs.C (getEndLabel): ...to here
3450
3451         * text2.C (realizeFont): move from here...
3452         * paragraph_funcs.C (realizeFont): ...to here
3453
3454 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3455
3456         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3457
3458 2003-04-14  Angus Leeming  <leeming@lyx.org>
3459
3460         * LColor.[Ch]: scrap LColor mathcursor.
3461
3462 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3463
3464         * lyxlex.[Ch] (text): delete function
3465         * trans.C (Load): adjust
3466         * paragraph_funcs.C (readParToken): adjust
3467
3468 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3469
3470         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3471         vector<char> instead of a char[].
3472
3473         * lyxlex_pimpl.C (getString): adjust
3474         (next): adjust
3475         (lex): use getString
3476         (eatLine): adjust
3477         (nextToken): adjust
3478
3479         * lyxlex.C (text): use pimpl_->getString()
3480         (getBool): ditto
3481         (findToken): ditto
3482
3483 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3484
3485         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3486         (makeFontEntriesLayoutSpecific): temp var for par.size()
3487         (setLayout): temp var for ownerParagraphs().end()
3488         (fullRebreak): temp var for rows().end()
3489         (selectionAsString): temp var for boost::next(startpit), realize
3490         that the while really is a regular for loop.
3491         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3492         setCursor in one place.
3493         (setParagraph): temp vr for ownerParagraphs().end()
3494         (updateCounters): make the while loop a for loop
3495         (cutSelection): temp var for ownerParagraphs().end()
3496         (updateInset): make the do {} while() a regular for loop
3497         (getCursorX): use temp vars
3498         (setCurrentFont): use temp vars
3499         (getColumnNearX): use temp vars
3500
3501 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3502
3503         * text.C (transformChar): use temp var for getChar
3504         (computeBidiTables): use temp var for row->par()
3505         (fill): move temp vars for row->par() and pit->layout() earlier in
3506         the function.
3507         (labelFill): use temp var for row->par()
3508         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3509         asc and desc, realize that pit never changes and that firstpit is
3510         just a duplicate and not needed. Exchange rit->par() with pit in a
3511         lot of places.
3512         (breakAgain): use a temp var for boost::next(rit)
3513         (breakAgainOneRow): ditto
3514         (breakParagraph): use a temp var for rows().begin()
3515         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3516         (cursorRightOneWord): use temp var for cursor.par() and
3517         cursor.pos(), remove usage of tmpcursor.
3518         (cursorLeftOneWord): use temp var for cursor.par() and
3519         cursor.pos() only set cur at end of function.
3520
3521 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3522
3523         * text.C, text2.C: exchange all usage of Paragraph::next with
3524         boost::next(ParagraphList::iterator)
3525
3526         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3527
3528         * text2.C (cursorTop): simplify implementation
3529         (cursorBottom): ditto
3530         (setParagraph): use ParagraphList::iterator
3531         (setCurrentFont): adjust
3532         (getColumnNearX): adjust
3533         (cursorRight): adjust
3534         (cursorLeft): remove usage of Paragraph::previous
3535         (cursorUpParagraph): ditto
3536         (deleteEmptyParagraphMechanism): slight cleanup
3537
3538         * text.C (isBoundary): take a Paragraph const & instead of a
3539         pointer as arg.
3540         (addressBreakPoint): ditto
3541         (leftMargin): remove usage of Paragraph::previous.
3542         (setHeightOfRow): ditto
3543         (cursorLeftOneWord): ditto
3544         (selectNextWordToSpellcheck): ditto
3545         (Delete): ditto
3546         (backspace): ditto
3547         (breakParagraph): remove one usage of Paragraph::next
3548         (redoParagraph): ditto
3549         (acceptChange): ditto
3550         (insertChar): adjust
3551         (rowBreakPoint): adjust
3552
3553         * bufferview_funcs.C (toggleAndShow): adjust
3554
3555 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3556
3557         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3558         methods to access it.
3559         * lyxtext.h:
3560         * text.C: Added updateRowPositions to compute all row positions.
3561         Make top_y and getRowNearY() to use the cached y position
3562
3563 2003-04-11  John Levon  <levon@movementarian.org>
3564
3565         * text.C (rowBreakPoint): reintroduce the labelEnd
3566         checks, code copied from the row fill stuff. Deep voodoo.
3567
3568         * text.C (fill): add a comment and debugging for the
3569         next poor soul.
3570
3571 2003-04-11  John Levon  <levon@movementarian.org>
3572
3573         * text.C: make sure fullrow insets get wrapped to the next line,
3574         even when they're in a manual label
3575
3576 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3577
3578         * text2.C (insertParagraph): make it take ParagraphList::iterator
3579         as arg.
3580         (setLayout): make it return ParagraphList::iterator
3581         (redoParagraphs): ditto
3582         (setCounter): ditto
3583         (checkParagraph): ditto
3584
3585         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3586
3587         * text2.C: adjust several funcs.
3588         (realizeFont): take a ParagraphList::iterator as arg.
3589         (getLayoutFont): ditto
3590         (getLabelFont): ditto
3591         (setCharFont): ditto
3592
3593         * text.C: adjust several funcs.
3594
3595 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3596
3597         * text.C (selectNextWordToSpellcheck): don't accidentally
3598         skip insets
3599
3600 2003-04-10  John Levon  <levon@movementarian.org>
3601
3602         * ToolbarBackend.C (getIcon): special handling for
3603         LFUN_MATH_DELIM
3604
3605 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3606
3607         * text2.C (cursorRight): a getChar assert fixed
3608
3609 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3610
3611         * text2.C (getFont): change to take a ParagraphList::iterator
3612         instead of Paragraph*
3613         Adjust several functions.
3614
3615         * text.C (transformChar): change to take a ParagraphList::iterator
3616         instead of Paragraph*
3617         (singleWidth): ditto
3618         Adjust several functions.
3619
3620         * rowpainter.C: adjust several functions
3621         * rowpainter.h:store a ParagraphList::iterator and not a
3622         Paragraph&.
3623
3624
3625 2003-04-09  John Levon  <levon@movementarian.org>
3626
3627         * lyxfunc.C:
3628         * lfuns.h:
3629         * LyXAction.h:
3630         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3631         and the "help" bits as well
3632
3633 2003-04-09  John Levon  <levon@movementarian.org>
3634
3635         * ToolbarBackend.h:
3636         * ToolbarBackend.C: allow multiple toolbars
3637
3638 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3639
3640         * undo_funcs.C (setCursorParUndo): adjust
3641
3642         * text_funcs.C (transposeChars): adjust
3643
3644         * text3.C (gotoNextInset): adjust
3645         (dispatch): adjust
3646
3647         * text2.C (setLayout): adjust
3648         (changeDepth): adjust
3649         (setFont): adjust
3650         (redoParagraphs): adjust
3651         (selectionAsString): adjust
3652         (setParagraph): adjust
3653         (insertInset): adjust
3654         (cutSelection): adjust
3655         (copySelection): adjust
3656         (pasteSelection): adjust
3657         (insertStringAsLines): adjust
3658         (updateInset): adjust
3659         (setCursor): change to take a ParagraphList::iterator parameter
3660         (setCursorIntern): change to take a ParagraphList::iterator parameter
3661         (setCurrentFont): adjust
3662         (cursorLeft): adjust
3663         (cursorRight): adjust
3664         (deleteEmptyParagraphMechanism): adjust
3665
3666         * text.C (breakParagraph): adjust
3667         (insertChar): adjust
3668         (acceptChange): adjust
3669         (rejectChange): adjust
3670         (selectNextWordToSpellcheck): adjust
3671         (changeCase): adjust
3672         (Delete): adjust
3673         (backspace): adjust
3674
3675         * lyxfind.C (SearchForward): adjust
3676         (SearchBackward): adjust
3677         (nextChange): adjust
3678
3679         * lyxcursor.C (par): adjust
3680
3681         * lyxcursor.h: store a ParagraphList::iterator instead of a
3682         Paragraph*
3683
3684         * lyx_cb.C (getPossibleLabel): adjust
3685
3686         * bufferview_funcs.C (toggleAndShow): adjust
3687
3688         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3689         (dispatch): adjust
3690
3691         * BufferView.C (removeAutoInsets): adjust
3692         (lockedInsetStoreUndo): adjust
3693
3694 2003-04-09  John Levon  <levon@movementarian.org>
3695
3696         * ToolbarBackend.C: try icon without argument
3697         if with argument fails
3698
3699 2003-04-08  John Levon  <levon@movementarian.org>
3700
3701         * ToolbarBackend.h:
3702         * ToolbarBackend.C: add getIcon(), handle tooltip,
3703         and change from "Icon" to "Item".
3704
3705 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3706
3707         * BufferView.C (lockInset): another bad getchar crunched
3708
3709 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3710
3711         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3712         again)
3713
3714 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3715
3716         * lyxfind.C (searchForward, searchBackwards): bug 782
3717
3718 2003-04-07  John Levon  <levon@movementarian.org>
3719
3720         * paragraph.C: remove dead comment
3721
3722         * text.C: remove troublesome depth-fiddling code
3723         in leftMargin() and rightMargin() (bug 1017)
3724
3725         * text.C: fix breaking of rows in nested lists
3726         (bug 1004)
3727
3728         * text2.C (updateCounters): fix up depth values
3729         (bug 1013)
3730
3731 2003-04-07  John Levon  <levon@movementarian.org>
3732
3733         * BufferView_pimpl.C: clear message when doc finishes resizing,
3734         and after a mouse event
3735
3736         * lyxfunc.C: clear message after exiting inset
3737
3738 2003-04-07  John Levon  <levon@movementarian.org>
3739
3740         * bufferview_funcs.C: show math status not outside
3741         status in the statusbar
3742
3743 2003-04-07  John Levon  <levon@movementarian.org>
3744
3745         * lyxfunc.C: note status changed after a depth change
3746
3747 2003-04-04  Angus Leeming  <leeming@lyx.org>
3748
3749         * LaTeX.h: move AuxInfo operator==, != out of line.
3750         Remove LaTeX virtual destructor; nothing derives from it.
3751         Move operator()() out of public area and rename it startscript().
3752         Change protected for private.
3753
3754 2003-04-04  Angus Leeming  <leeming@lyx.org>
3755
3756         * lyxfunc.C:
3757         * text2.C: remove unneeded #includes.
3758
3759 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3760
3761         * text2.C (dEPM): fix the heigth of the next row
3762
3763 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3764
3765         * text.C: squashed an invalid getChar requester + some ws changes
3766
3767 2003-04-03  John Levon  <levon@movementarian.org>
3768
3769         * bufferview_funcs.h:
3770         * bufferview_funcs.C:
3771         * lyxfunc.C:
3772         * lyxtext.h:
3773         * text2.C: make getStatus work for the env depth lfuns
3774
3775 2003-04-03  John Levon  <levon@movementarian.org>
3776
3777         * bufferview_funcs.h:
3778         * bufferview_funcs.C:
3779         * lyxfunc.C:
3780         * lyxtext.h:
3781         * text2.C: parlistize decDepth(), by merging it with incDepth()
3782
3783 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3784
3785         * lyxrow.h: store a ParagraphList::iterator instead of a
3786         Paragraph* and adjust other class functions to suit.
3787
3788         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3789         above.
3790
3791 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3792
3793         * text2.C (setCursor): do not anchor to cursor row for the time being
3794
3795 2003-04-02  John Levon  <levon@movementarian.org>
3796
3797         * LyXAction.C:
3798         * lfuns.h:
3799         * lyx_main.C:
3800         * lyxtext.h:
3801         * text.C:
3802         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3803
3804 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * paragraph.h: make ParagraphList and ParagraphList::iterator
3807         friends of Paragraph.
3808
3809         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3810
3811         * ParagraphList.C: Use the private next_ and previous_ from
3812         Paragraph.
3813
3814 2003-04-01  John Levon  <levon@movementarian.org>
3815
3816         * ToolbarBackend.h:
3817         * ToolbarBackend.C:
3818         * Makefile.am: rename, remove defaults gunk
3819
3820         * MenuBackend.h:
3821         * MenuBackend.C: remove defaults gunk
3822
3823         * Languages.h:
3824         * Languages.C: remove defaults gunk
3825
3826         * lyx_main.h:
3827         * lyx_main.C: error out if files couldn't be found.
3828
3829 2003-04-02  John Levon  <levon@movementarian.org>
3830
3831         * text2.C: make incDepth() use parlist
3832
3833 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3834
3835         * undo_funcs.C (firstUndoParagraph): adjust
3836
3837         * text3.C (gotoInset): adjust
3838         (dispatch): adjust, and rewrite loop.
3839
3840         * text2.C (init): adjust, and rewrite loop.
3841         (redoParagraphs): adjust
3842         (updateInset): adjust, and rewrite loop.
3843         (deleteEmptyParagraphMechanism): adjust
3844
3845         * tabular.C (LyXTabular): adjust
3846         (SetMultiColumn): adjust
3847         (TeXRow): adjust
3848
3849         * lyxtext.[Ch] (ownerParagraph): delete function
3850         (ownerParagraphs): new function returns a ParagraphList.
3851
3852         * BufferView.C (removeAutoInsets): adjust
3853         (insertErrors): adjust
3854         (setCursorFromRow): adjust
3855
3856 2003-04-01  Angus Leeming  <leeming@lyx.org>
3857
3858         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3859         in the frontends.
3860
3861 2003-04-02  John Levon  <levon@movementarian.org>
3862
3863         * lyxtext.h:
3864         * text.C:
3865         * Makefile.am:
3866         * text_funcs.h:
3867         * text_funcs.C: make transposeChars a free function
3868
3869         * lyxrow_funcs.C: remove wrong comment
3870
3871 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3872
3873         * lyxtext.h: adjust
3874         * rowpainter.C: adjust
3875         * text.C: adjust
3876         * text2.C: adjust
3877         * text3.C: adjust
3878
3879         * lyxrow_funcs. [Ch]: new files
3880
3881         * lyxrow.[Ch]: remove next and previous pointers
3882         (next,previous): remove accessor functions
3883         (isParEnd): move to lyxrow_funcs
3884         (lastPos): move to lyxrow_funcs
3885         (nextRowIsAllInset): move to lyxrow_funcs
3886         (lastPrintablePos): move to lyxrow_funcs
3887         (numberOfSeparators): move to lyxrow_funcs
3888         (numberOfHfills): move to lyxrow_funcs
3889         (numberOfLabelHfills): move to lyxrow_funcs
3890         (hfillExpansion): move to lyxrow_funcs
3891
3892         * lyxfunc.C: adjust
3893
3894         * bufferview_funcs.C (toggleAndShow): adjust
3895
3896         * RowList.h: Remove class RowList from file leave just a
3897         std::list<Row>.
3898
3899         * RowList.C: delete file
3900
3901         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3902         and lyxrow_funcs.h
3903
3904 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3905
3906         * text3.C (cursorPrevious): adjust
3907         (cursorNext): adjust
3908         (dispatch): adjust
3909
3910         * text2.C (redoHeightOfParagraph): adjust
3911         (redoDrawingOfParagraph): adjust
3912         (setCursor): adjust
3913
3914         * text.C (breakParagraph): adjust
3915         (insertChar): adjust
3916         (backspace): adjust
3917
3918         * rowpainter.C (RowPainter): adjust
3919         (leftMargin): simplify and adjust
3920         (most rowpainter functions): adjust.
3921
3922         * rowpainter.h: store the row as RowList::iterator not as Row*
3923
3924         * lyxcursor.C (row): taka RowList::iterator as arg
3925         (irow): ditto
3926
3927         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3928         of Row*.
3929
3930 2003-04-01  Angus Leeming  <leeming@lyx.org>
3931
3932         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3933         stuff like bool Bool.
3934
3935 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3936
3937         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3938         rewrite a loop
3939
3940 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3941
3942         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3943         RowList::iterator.
3944
3945         * lyxtext.h (rows): drop one version and leve a const variant that
3946         returns a RowList::iterator.
3947
3948 2003-03-31  Angus Leeming  <leeming@lyx.org>
3949
3950         * text.C (fill): ensure that the signature is the same as that in the
3951         header file.
3952
3953 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3954
3955         * text2.C (redoParagraphs): adjust
3956         (updateCounters): adjust
3957         (checkParagraph): adjust
3958         (getColumnNearX): adjust and reformat a bit.
3959
3960         * text.C (top_y): adjust
3961         (workWidth): adjust
3962         (leftMargin): adjust
3963         (prepareToPrint): adjust
3964         (getRow): adjust
3965         (getRowNearY): adjust
3966
3967         * lyxtext.h: make rowlist_ mutable.
3968
3969         * RowList.h: add const_iterator
3970         * RowList.C: adjust for RowList::const_iterator.
3971
3972         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3973         adjust.
3974
3975 2003-03-31  John Levon  <levon@movementarian.org>
3976
3977         * lyxrc.h:
3978         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3979
3980         * lyx_main.C: set default fonts from using lyx_gui funcs
3981
3982         * exporter.C: pdf_mode moved from lyxrc
3983
3984         * lyx_cb.C:
3985         * lyxfunc.C: changes from above
3986
3987 2003-03-31  John Levon  <levon@movementarian.org>
3988
3989         * lyx_main.C: fix to the last fix
3990
3991 2003-03-31  John Levon  <levon@movementarian.org>
3992
3993         * bufferlist.C: "Load original" -> "Load Original"
3994
3995         * converter.C:
3996         * exporter.C:
3997         * importer.C:
3998         * lyx_main.C:
3999         * format.C: more Alert cleanups
4000
4001 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4002
4003         * text2.C (removeParagraph): make it take a RowList::iterator as
4004         arg, adjust.
4005         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4006         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4007
4008         * text.C (anchor_row): make it take a RowList::iterator as arg,
4009         adjust.
4010         (computeBidiTables): make it take a const reference to Row instead
4011         of Row pointer, adjust.
4012         (leftMargin): make it take a RowList::iterator as arg, adjust.
4013         (rowBreakPoint): adjust
4014         (breakAgainOneRow): make it take a RowList::iterator as arg,
4015         adjust.
4016         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4017
4018         * bufferview_funcs.C (toggleAndShow): adjust
4019
4020 2003-03-30  John Levon  <levon@movementarian.org>
4021
4022         * Makefile.am:
4023         * BoostFormat.h:
4024         * boost-inst.C: moved to support
4025
4026         * several files: changes as a result
4027
4028 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4029
4030         * text2.C (LyXText): adjust.
4031         (init): adjust
4032         (removeRow): make it take a RowList::iterator as arg, adjust.
4033         (fullRebreak): adjust
4034         (deleteEmptyParagraphMechanism): adjust
4035         (clearPaint): adjust
4036         (postPaint): adjust
4037
4038         * text.C (top_y): adjust
4039         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4040         (breakAgain): make it take a RowList::iterator as arg, adjust.
4041         (breakParagraph): adjust
4042         (insertChar): adjust
4043         (backspace): adjust
4044
4045         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4046         need_break_row, and refresh_row.
4047
4048         * text3.C (dispatch): adjust
4049
4050         * text2.C (checkParagraph): adjust
4051         (setCursor): adjust
4052         (setCursorFromCoordinates): adjust
4053
4054         * text.C (top_y): adjust
4055         (workWidth): adjust
4056         (getRow): make it return a RowList::iterator, adjust
4057         (getRowNearY): make it return a RowList::iterator, adjust
4058
4059         * text2.C (init): adjust
4060         (insertRow): remove function
4061         (insertParagraph): adjust
4062         (redoParagraphs): adjust
4063         (fullRebreak): adjust
4064         (updateCounters): adjust
4065
4066         * text.C (top_y): rewrite to use RowList iterators.
4067         (top_y): adjust
4068         (setHeightOfRow): rewrite to sue RowList iterators.
4069         (appendParagraph): adjust
4070         (breakAgain): adjust
4071         (breakAgainOneRow): adjust
4072         (breakParagraph): adjust
4073         (getRow): adjust
4074         (getRowNearY): adjust, and remove commented code.
4075
4076         * lyxtext.h (firstRow): delete function
4077         (lastRow): delete function
4078         (rows): new function (const and non-const versions.)
4079         (insertRow): delete function
4080
4081         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4082
4083 2003-03-29  John Levon  <levon@movementarian.org>
4084
4085         * BufferView_pimpl.C: always update scrollbar top
4086         because pasting text when we're anchored could mean we
4087         miss an update altogether
4088
4089 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4090
4091         * text2.C (init): use rowlist_.end() and not 0.
4092         (insertRow): change to take a RowList::iterator as arg, adjust
4093         for this.
4094         (insertParagraph): change to take a RowList::iterator as arg,
4095         adjust for this.
4096         (redoParagraphs): remove some debug msgs.
4097
4098         * text.C (appendParagraph): change to take a RowList::iterator
4099         arg, adjust for this.
4100         (breakAgain): add an assert
4101         (breakAgainOneRow): ditto
4102
4103 2003-03-29  John Levon  <levon@movementarian.org>
4104
4105         * text2.C: do not clear selection after inc/decDepth
4106         (bug 550)
4107
4108 2003-03-29  John Levon  <levon@movementarian.org>
4109
4110         * BufferView.C:
4111         * buffer.C: fix broken strerrors according to Lars
4112
4113 2003-03-29  John Levon  <levon@movementarian.org>
4114
4115         * converters.C: more Alert cleanups
4116
4117 2003-03-29  John Levon  <levon@movementarian.org>
4118
4119         * bufferview_funcs.C: remove pointless Alert
4120
4121         * buffer.C: fix confusing error message when
4122         a template is chmoded 000
4123
4124 2003-03-29  John Levon  <levon@movementarian.org>
4125
4126         * BufferView.C:
4127         * BufferView.h:
4128         * BufferView_pimpl.C: Alert fixes
4129
4130         * Makefile.am:
4131         * tabular.C:
4132         * tabular-old.C: remove unused table compat reading
4133
4134 2003-03-29  John Levon  <levon@movementarian.org>
4135
4136         * BufferView.C:
4137         * buffer.C:
4138         * lyx_cb.h:
4139         * lyx_cb.C: more Alert cleanups
4140
4141         * lyxfunc.C: don't allow chktex if not latex document
4142
4143 2003-03-29  John Levon  <levon@movementarian.org>
4144
4145         * lyx_cb.C:
4146         * BufferView.C:
4147         * buffer.C: warnings pushed down from support/,
4148         kill err_alert
4149
4150 2003-03-29  John Levon  <levon@movementarian.org>
4151
4152         * lyxfunc.C: safety check for C-r (revert)
4153
4154 2003-03-29  John Levon  <levon@movementarian.org>
4155
4156         * bufferlist.h:
4157         * bufferlist.C: several UI fixes using Alert::prompt.
4158         Fix the pointless looping quit code. Fix stupid revert
4159         behaviour (bug 938)
4160
4161         * lyxvc.h:
4162         * lyxvc.C:
4163         * lyx_cb.C: use Alert::prompt
4164
4165         * lyx_main.C: remove a silly question
4166
4167         * lyxfunc.C: remove a couple of silly questions,
4168         use Alert::prompt
4169
4170 2003-03-28  John Levon  <levon@movementarian.org>
4171
4172         * text2.C: fix bug 974 (End on empty par)
4173
4174 2003-03-28  John Levon  <levon@movementarian.org>
4175
4176         * BufferView_pimpl.C:
4177         * LyXAction.C:
4178         * lfuns.h: remove do-nothing math greek lfuns
4179
4180 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4181
4182         * lyxgluelength.h (isValidGlueLength): add default arg on
4183         parameter 2. Remove default arg from friend in class.
4184
4185         * lyxlength.h (isValidLength): add default arg on parameter 2.
4186         Remove default arg from friend in class.
4187
4188         * text2.C (LyXText): adjust, initialize refresh_row.
4189         (init): adjust
4190         (removeRow): adjust
4191         (insertRow): adjust
4192         (insertParagraph): adjst
4193         (redoParagraphs): adjust
4194         (fullRebreak): adjust
4195         (updateCounters): adjust
4196         (deleteEmptyParagraphMechanism): first attempt at fixing a
4197         crashing bug.
4198
4199         * text.C (top_y): adjust
4200         (setHeightOfRow): adjust
4201         (getRow): adjust
4202         (getRowNearY): adjust
4203
4204         * lyxtext.h: include RowList.h
4205         (~LyXText): not needed anymore, deleted.
4206         (firstRow): modify for RowList
4207         (lastRow): new function
4208         Delete firstrow and lastrow class variables, add a Rowlist
4209         rowlist_ class variable.
4210
4211         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4212         paragraph is empty.
4213
4214         * RowList.C (insert): fix case where it == begin().
4215
4216 2003-03-26  Angus Leeming  <leeming@lyx.org>
4217
4218         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4219         the thesaurus dialog.
4220
4221 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4222
4223         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4224
4225         * RowList.[Ch]: new files
4226
4227         * ParagraphList.C (erase): handle the case where it == begin
4228         correctly.
4229
4230 2003-03-25  John Levon  <levon@movementarian.org>
4231
4232         * Makefile.am:
4233         * aspell_local.h:
4234         * aspell.C: add new aspell support
4235
4236         * lyxrc.h:
4237         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4238         have it accessible.
4239
4240 2003-03-25  Angus Leeming  <leeming@lyx.org>
4241
4242         * lfuns.h:
4243         * LyXAction.C (init): new LFUN_INSET_INSERT.
4244
4245         * BufferView_pimpl.C (dispatch): split out part of the
4246         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4247
4248         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4249         LFUN_INSET_APPLY.
4250
4251 2003-03-25  Angus Leeming  <leeming@lyx.org>
4252
4253         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4254
4255 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4256
4257         * text2.C:
4258         * text3.C: remove useless row->height(0)
4259
4260 2003-03-25  John Levon  <levon@movementarian.org>
4261
4262         * lyxtext.h:
4263         * text2.C:
4264         * text3.C: rename the refreshing stuff to better names
4265
4266 2003-03-24  John Levon  <levon@movementarian.org>
4267
4268         * BufferView_pimpl.h:
4269         * BufferView_pimpl.C: update layout choice on a mouse
4270         press/release
4271
4272 2003-03-23  John Levon  <levon@movementarian.org>
4273
4274         * Makefile.am: fix commandtags.h reference
4275
4276 2003-03-22  John Levon  <levon@movementarian.org>
4277
4278         * BufferView_pimpl.C:
4279         * lyxtext.h:
4280         * rowpainter.C:
4281         * rowpainter.h:
4282         * text.C:
4283         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4284
4285 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4286
4287         * lyxtext.h:
4288         * text.C: take the rtl methods out of line
4289
4290 2003-03-21 André Pönitz <poenitz@gmx.net>
4291
4292         * metricsinfo.[Ch]: new files containing structures to be passed around
4293         during the two-phase-drawing...
4294
4295 2003-03-21 André Pönitz <poenitz@gmx.net>
4296
4297         * lyxtextclass.C: read 'environment' tag.
4298
4299 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4300
4301         * text2.C (removeRow): fix bug 964
4302
4303 2003-03-20  John Levon  <levon@movementarian.org>
4304
4305         * rowpainter.C:
4306         * text.C:
4307         * text2.C: paint cleanups. Inset::update() dropped font
4308         parameter
4309
4310 2003-03-19  John Levon  <levon@movementarian.org>
4311
4312         * lyxfunc.C: only fitcursor/markDirty if available()
4313
4314 2003-03-19  John Levon  <levon@movementarian.org>
4315
4316         * commandtags.h: rename to ...
4317
4318         * lfuns.h: ... this, and renumber / cleanup
4319
4320 2003-03-19  John Levon  <levon@movementarian.org>
4321
4322         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4323         fit the cursor after an lfun
4324
4325         * BufferView.h:
4326         * BufferView.C:
4327         * BufferView_pimpl.h:
4328         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4329
4330         * LyXAction.C: layout-character should have ReadOnly
4331
4332         * ParagraphParameters.C:
4333         * buffer.C:
4334         * bufferview_funcs.C:
4335         * lyx_cb.C:
4336         * lyxfind.C:
4337         * lyxtext.h:
4338         * text.C:
4339         * text2.C:
4340         * text3.C:
4341         * undo_funcs.C: changes from above
4342
4343 2003-03-18  John Levon  <levon@movementarian.org>
4344
4345         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4346         remove it from update()
4347
4348         * lyxfunc.C: update layout choice after an lfun
4349
4350         * text3.C: remove extra updateLayoutChoice()s
4351
4352 2003-03-18  John Levon  <levon@movementarian.org>
4353
4354         * text.C: top_y change means full repaint, fix
4355         a drawing bug with cursor movement
4356
4357 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4358
4359         * lyxtext.h:
4360         * text.C:
4361         * text2.C: anchor row on setCursor
4362
4363 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4364
4365         * lyxtext.h: remove almost all mutable keywords
4366         * text.C:
4367         * text2.C:
4368         * text3.C: remove const keywords accordingly
4369
4370 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4371
4372         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4373         anon namespace
4374         (TeXEnvironment): ditto
4375         (TeXOnePar): ditto
4376
4377 2003-03-17  John Levon  <levon@movementarian.org>
4378
4379         * text.C (rowBreakPoint): remove attempt to fix displayed
4380         math insets inside a manual label
4381
4382 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4383
4384         * lyxtext.h: remove BufferView* as first arg from almost all class
4385         functions.
4386         * other files: adjust.
4387
4388 2003-03-17  John Levon  <levon@movementarian.org>
4389
4390         * lyxtext.h:
4391         * undo_funcs.C:
4392         * text2.C: more paint cleanups
4393
4394         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4395
4396         * rowpainter.h:
4397         * rowpainter.C: remove "smart" background painting code
4398
4399 2003-03-16  John Levon  <levon@movementarian.org>
4400
4401         * lyxtext.h:
4402         * text.C:
4403         * text2.C:
4404         * text3.C: add helper functions for setting refresh_row/y
4405
4406 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4407
4408         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4409         newline inset which *can* get inserted in the pass_thru layouts.
4410         This is primarily for literate documents.
4411
4412 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4413
4414         * buffer.C: increment LYX_FORMAT to 223
4415
4416 2003-03-14 André Pönitz <poenitz@gmx.net>
4417
4418         * textclass.h: prepare for environment handling, ws changes
4419         * lyxlayout.C: read latexheader and latexfooter tags
4420
4421 2003-03-14  John Levon  <levon@movementarian.org>
4422
4423         * text2.C: rewrite ::status() a bit
4424
4425 2003-03-13  John Levon  <levon@movementarian.org>
4426
4427         * lyxtext.h: add some docs
4428
4429 2003-03-13  John Levon  <levon@movementarian.org>
4430
4431         * lyxtext.h:
4432         * text.C:
4433         * text2.C:
4434         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4435
4436 2003-03-13  John Levon  <levon@movementarian.org>
4437
4438         * text3.C: fix appendix redrawing
4439
4440 2003-03-13  John Levon  <levon@movementarian.org>
4441
4442         * text.C (setHeightOfRow):
4443         * rowpainter.h:
4444         * rowpainter.C: make appendix mark have the text
4445           "Appendix" so the user knows what it is
4446
4447         * LColor.h:
4448         * LColor.C: s/appendixline/appendix/ from above
4449
4450 2003-03-13  John Levon  <levon@movementarian.org>
4451
4452         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4453
4454         * text.C: fix a getChar(pos) bug properly
4455
4456 2003-03-13  Angus Leeming  <leeming@lyx.org>
4457
4458         * commandtags.h:
4459         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4460         Probably only temporary. Let's see how things pan out.
4461
4462         * BufferView.C (unlockInset):
4463         * BufferView_pimpl.C (fitCursor):
4464         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4465
4466         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4467         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4468
4469         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4470         new functions that convert ParagraphParameters to and from a string.
4471
4472         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4473         BufferView::Pimpl's dispatch.
4474         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4475
4476 2003-03-13 André Pönitz <poenitz@gmx.net>
4477
4478         * lyxfunc.C:
4479         * text3.C:
4480         * factory.C: make it aware of InsetEnv
4481
4482 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4483
4484         * text2.C (setCursor): never ask for one past last
4485         (setCursor): add some debugging messages.
4486
4487         * text.C (singleWidth): never ask for one past last
4488         (singleWidth): ditto
4489         (leftMargin): ditto
4490         (rightMargin): ditto
4491         (rowBreakPoint): ditto
4492         (setHeightOfRow): ditto
4493         (prepareToPrint): ditto
4494
4495         * rowpainter.C (paintBackground): never ask for one past last
4496         (paintText): never ask for one past last
4497
4498         * paragraph_pimpl.C (getChar): make the assert stricter, never
4499         allow the one past last pos to be taken
4500
4501         * paragraph.C (getChar): ws changes only
4502
4503         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4504         (numberOfSeparators): ditto
4505         (numberOfHfills): ditto
4506
4507 2003-03-12  John Levon  <levon@movementarian.org>
4508
4509         * author.h:
4510         * author.C:
4511         * bufferparams.h:
4512         * bufferparams.C:
4513         * paragraph_funcs.C: fix per-buffer authorlists
4514
4515 2003-03-12  John Levon  <levon@movementarian.org>
4516
4517         * text.C: fix newline in right address
4518
4519 2003-03-12  Angus Leeming  <leeming@lyx.org>
4520
4521         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4522         duplicate those in LyXFunc::dispatch.
4523
4524         * commandtags.h:
4525         * LyXAction.C:
4526         * ToolbarDefaults.C:
4527         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4528         Add LFUN_FONTFREE_UPDATE.
4529
4530         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4531         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4532
4533         * bufferview_func.[Ch]: several new functions to facilliate
4534         transfer of data to and from the character dialog.
4535
4536 2003-03-12  John Levon  <levon@movementarian.org>
4537
4538         * buffer.C:
4539         * paragraph.h:
4540         * paragraph.C:
4541         * paragraph_funcs.C:
4542         * paragraph_pimpl.C:
4543         * sgml.C:
4544         * tabular.C:
4545         * text.C:
4546         * text3.C: remove META_NEWLINE in favour of an inset
4547
4548         * rowpainter.h:
4549         * rowpainter.C: remove paintNewline (done by inset)
4550
4551 2003-03-12  John Levon  <levon@movementarian.org>
4552
4553         * paragraph_pimpl.C: complain about bad getChar()s
4554         for a while at least
4555
4556 2003-03-12  John Levon  <levon@movementarian.org>
4557
4558         * buffer.h:
4559         * buffer.C: move paragraph read into a separate function,
4560         a little renaming to reflect that.
4561
4562         * bufferparams.h:
4563         * bufferparams.C: remove the author_ids map, not necessary now
4564
4565         * factory.h:
4566         * factory.C: moved Buffer::readInset to here
4567
4568         * paragraph_funcs.h:
4569         * paragraph_funcs.C: readParagraph free function moved from
4570         buffer.C
4571
4572         * tabular.C: name change
4573
4574 2003-03-12  John Levon  <levon@movementarian.org>
4575
4576         * buffer.C:
4577         * ParagraphParameters.C: move par params input to
4578         a read() method
4579
4580         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4581         behave like a normal read from the stream wrt reading
4582         a line vs. a \\token
4583
4584 2003-03-12  John Levon  <levon@movementarian.org>
4585
4586         * paragraph.C:
4587         * ParagraphParameters.h:
4588         * ParagraphParameters.C: move output code to a
4589         ::write() method
4590
4591 2003-03-12  John Levon  <levon@movementarian.org>
4592
4593         * BufferView.C (insertLyXFile):
4594         * buffer.h:
4595         * buffer.C:
4596         * tabular.C: use a parlist iterator for creating the
4597           document.
4598
4599 2003-03-12  John Levon  <levon@movementarian.org>
4600
4601         * buffer.C: make current_change static local not
4602           static file-scope
4603
4604 2003-03-12  John Levon  <levon@movementarian.org>
4605
4606         * buffer.C: fix insertStringAsLines for change tracking
4607
4608 2003-03-12  John Levon  <levon@movementarian.org>
4609
4610         * BufferView.C:
4611         * tabular.C:
4612         * buffer.h:
4613         * buffer.C:
4614         * bufferparams.h:
4615         * bufferparams.C: move author list into params. Rename some
4616           functions. Move the header reading into a separate token
4617           loop. Move the header token reading into BufferParams.
4618
4619 2003-03-12  John Levon  <levon@movementarian.org>
4620
4621         * changes.C: put debug inside lyxerr.debugging() checks
4622
4623 2003-03-11 André Pönitz <poenitz@gmx.net>
4624
4625         * factory.C: make it aware of InsetHFill
4626
4627 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4628
4629         * buffer.C (latexParagraphs): move function from here...
4630         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4631         args.
4632
4633 2003-03-10  Angus Leeming  <leeming@lyx.org>
4634
4635         * LyXAction.C (init): fix bug in poplating array with multiple entries
4636         with the same LFUN (spotted by JMarc).
4637
4638 2003-03-10  John Levon  <levon@movementarian.org>
4639
4640         * text.C:
4641         * text2.C: move getColumnNearX() near its
4642         only call site
4643
4644 2003-03-10  John Levon  <levon@movementarian.org>
4645
4646         * text.C: fix break before a minipage
4647
4648 2003-03-10  John Levon  <levon@movementarian.org>
4649
4650         * text.C: fix the last commit
4651
4652 2003-03-09  John Levon  <levon@movementarian.org>
4653
4654         * lyxtext.h:
4655         * text.C:
4656         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4657         bug 365 (don't break before insets unless needed). Don't
4658         return a value > last under any circumstances.
4659
4660 2003-03-09  Angus Leeming  <leeming@lyx.org>
4661
4662         * BufferView_pimpl.C (trackChanges, dispatch): call
4663         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4664
4665 2003-03-09  Angus Leeming  <leeming@lyx.org>
4666
4667         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4668         than Dialogs::showAboutlyx().
4669
4670 2003-03-09  Angus Leeming  <leeming@lyx.org>
4671
4672         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4673         than Dialogs::showTabularCreate().
4674
4675 2003-03-09  John Levon  <levon@movementarian.org>
4676
4677         * lyxtext.h:
4678         * text.C:
4679         * text2.C: 3rd arg to nextBreakPoint was always the same.
4680           Use references.
4681
4682 2003-03-08  John Levon  <levon@movementarian.org>
4683
4684         * lyxrow.C:
4685         * paragraph.C:
4686         * paragraph.h:
4687         * rowpainter.C:
4688         * text.C:
4689         * text2.C: Remove the "main" bit from the "main body"
4690           notion.
4691
4692 2003-03-08  John Levon  <levon@movementarian.org>
4693
4694         * text.C (leftMargin): The left margin of an empty
4695         manual label paragraph should not include the label width
4696         string length.
4697
4698         * text.C (prepareToPrint): don't attempt to measure hfills
4699         for empty manual label paragraphs - the answer should be 0
4700
4701 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4702
4703         * CutAndPaste.C: remove commented code and reindent.
4704
4705 2003-03-08  John Levon  <levon@movementarian.org>
4706
4707         * lyxfunc.h:
4708         * lyxfunc.C: move reloadBuffer()
4709
4710         * BufferView.h:
4711         * BufferView.C: to here
4712
4713         * lyxvc.C: add comment
4714
4715         * vc-backend.h:
4716         * vc-backend.C: call bv->reload() to avoid
4717           getStatus() check on MENURELOAD
4718
4719 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4720
4721         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4722         to an old format .dep file.
4723
4724 2003-03-07  Angus Leeming  <leeming@lyx.org>
4725
4726         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4727         when the LFUN_MOUSE_RELEASE should have been handled by
4728         inset->localDispatch.
4729
4730 2003-03-07  Angus Leeming  <leeming@lyx.org>
4731
4732         * BufferView_pimpl.C (dispatch):
4733         * LyXAction.C (init):
4734         * ToolbarDefaults.C (init):
4735         * commandtags.h:
4736         * lyxfunc.C (getStatus):
4737         remove LFUN_INSET_GRAPHICS.
4738
4739         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4740
4741 2003-03-07  Angus Leeming  <leeming@lyx.org>
4742
4743         * commandtags.h:
4744         * LyXAction.C (init):
4745         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4746
4747         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4748
4749         * commandtags.h:
4750         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4751
4752         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4753         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4754
4755 2003-03-07  Angus Leeming  <leeming@lyx.org>
4756
4757         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4758         remove "ert".
4759
4760 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4761
4762         * ParagraphList.C (front): new function
4763         (back): implement
4764
4765 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4766
4767         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4768         and top_row_offset_. removed var first_y.
4769         * text.C (top_y):
4770         * text2.C (LyXText, removeRow):
4771         * text3.C:
4772         * BufferView_pimpl.C:
4773         use these methods instead of using first_y
4774
4775 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4776
4777         * text2.C (pasteSelection): adjust for checkPastePossible
4778
4779         * CutAndPaste.C: remove Paragraph * buf and replace with
4780         ParagraphList paragraphs.
4781         (DeleteBuffer): delete
4782         (cutSelection): change the tc type to textclass_type
4783         (copySelection): change the tc type to textclass_type
4784         (copySelection): adjust for ParagraphList
4785         (pasteSelection): change the tc type to textclass_type
4786         (pasteSelection): adjust for Paragraphlist
4787         (nrOfParagraphs): simplify for ParagraphList
4788         (checkPastePossible): simplify for ParagraphList
4789         (checkPastePossible): remove unused arg
4790
4791         * ParagraphList.C (insert): handle the case where there are no
4792         paragraphs yet.
4793
4794         * CutAndPaste.h: make CutAndPaste a namespace.
4795
4796         * text3.C (dispatch): adjust
4797
4798         * text.C (breakParagraph): add a ParagraphList as arg
4799
4800         * paragraph_funcs.C (breakParagraph): change to take a
4801         BufferParams and a ParagraphList as args.
4802         (breakParagraphConservative): ditto
4803         (mergeParagraph): ditto
4804         (TeXDeeper): add a ParagraphList arg
4805         (TeXEnvironment): ditto
4806         (TeXOnePar): ditto
4807
4808         * buffer.C (readLyXformat2): adjust
4809         (insertStringAsLines): adjust
4810         (latexParagraphs): adjust
4811
4812         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4813         (cutSelection): adjust
4814         (pasteSelection): adjust
4815
4816         * BufferView_pimpl.C (insertInset): adjust
4817
4818 2003-03-05  Angus Leeming  <leeming@lyx.org>
4819
4820         * commandtags.h:
4821         * LyXAction.C (init):
4822         * BufferView_pimpl.C (dispatch):
4823         * lyxfunc.C (getStatus):
4824         remove LFUN_CHILD_INSERT.
4825
4826         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4827
4828 2003-03-05  Angus Leeming  <leeming@lyx.org>
4829
4830         * commandtags.h:
4831         * LyXAction.C (init):
4832         * src/factory.C (createInset):
4833         * lyxfunc.C (getStatus):
4834         * text3.C (dispatch):
4835         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4836
4837         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4838
4839 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4840
4841         * ParagraphList.C (insert): handle insert right before end()
4842         (erase): fix cases where it can be first or last paragraph.
4843
4844 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4845
4846         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4847         Paragraph::next and Paragraph::previous
4848         (TeXOnePar): ditto
4849
4850         * text.C (breakParagraph): adjust
4851
4852         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4853         BufferParams& as arg.
4854         (breakParagraph): use ParagraphList::insert
4855         (breakParagraphConservative): take a Buffer* instead of a
4856         BufferParams& as arg.
4857         (breakParagraphConservative): use ParagraphList::insert.
4858
4859         * buffer.C (insertStringAsLines): un-const it
4860         (insertStringAsLines): adjust
4861
4862         * ParagraphList.C (insert): new function
4863
4864         * CutAndPaste.C (pasteSelection): adjust
4865
4866         * text.C (backspace): adjust
4867
4868         * tabular.C (SetMultiColumn): adjust
4869
4870         * CutAndPaste.C (cutSelection): adjust
4871         (pasteSelection): adjust
4872
4873         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4874         Buffer const * as arg
4875
4876         * ParagraphList.C (erase): new function
4877         * paragraph_funcs.C (mergeParagraph): use it
4878         (mergeParagraph): make it take a Buffer* instead of a
4879         BufferParams* as arg
4880
4881         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4882         as arg
4883         (breakParagraphConservative): ditto
4884
4885         * paragraph.h: remove the breakParagraph friend
4886
4887         * paragraph.C (eraseIntern): new function
4888         (setChange): new function
4889
4890         * paragraph_funcs.C (mergeParagraph): make it take a
4891         ParagraphList::iterator instead of a Paragraph *, adjust
4892         accordingly.
4893
4894         * paragraph.h: move an #endif so that the change tracking stuff
4895         also works in the NO_NEXT case.
4896
4897 2003-03-04  Angus Leeming  <leeming@lyx.org>
4898
4899         * commandtags.h:
4900         * LyXAction.C: new LFUN_INSET_MODIFY.
4901
4902         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4903         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4904
4905 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4906
4907         * several files: ws changes only
4908
4909         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4910         (TeXEnvironment): ditto
4911         (TeXDeeper): ditto
4912
4913         * buffer.C (makeLaTeXFile): adjust
4914         (latexParagraphs): make it take ParagraphList::iterator as args
4915
4916 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4917
4918         * buffer.C (latexParagraphs): adjust
4919
4920         * paragraph.C (TeXOnePar): move function...
4921         (optArgInset): move function...
4922         (TeXEnvironment): move function...
4923         * paragraph_pimpl.C (TeXDeeper): move function...
4924         * paragraph_funcs.C: ...here
4925
4926         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4927
4928 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4929
4930         * buffer.C (readInset): remove compability code for old Figure and
4931         InsetInfo insets
4932
4933 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4934
4935         * buffer.C: ws changes
4936         (readInset):
4937
4938         * BufferView_pimpl.C: ditto
4939         * author.C: ditto
4940         * buffer.h: ditto
4941         * bufferlist.h: ditto
4942         * changes.h: ditto
4943         * lyxfunc.C: ditto
4944
4945 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4946
4947         * converter.[Ch]: split into itself +
4948         * graph.[Ch]
4949         * format.[Ch]
4950         * Makefile.am: += graph.[Ch] + format.[Ch]
4951         * MenuBackend.C
4952         * buffer.C
4953         * exporter.C
4954         * importer.C
4955         * lyx_main.C
4956         * lyxfunc.C
4957         * lyxrc.C: added #include "format.h"
4958
4959 2003-02-27  Angus Leeming  <leeming@lyx.org>
4960
4961         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4962           a label.
4963
4964         * factory.C (createInset): add "label" to the factory.
4965
4966         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4967           string and do no more.
4968
4969 2003-02-27  Angus Leeming  <leeming@lyx.org>
4970
4971         * commandtags.h:
4972         * LyXAction.C (init):
4973         * factory.C (createInset):
4974         * BufferView_pimpl.C (dispatch):
4975           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4976
4977         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4978
4979         * lyxfunc.C (dispatch):
4980         * text3.C (dispatch): pass name to params2string.
4981
4982 2003-02-26  Angus Leeming  <leeming@lyx.org>
4983
4984         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4985           blocks together.
4986           Rearrange the ~includes. Strip out the unnecessary ones.
4987
4988         * factory.C (createInset): reformat.
4989           create new insets for the various LFUN_XYZ_APPLY lfuns.
4990
4991 2003-02-26  John Levon  <levon@movementarian.org>
4992
4993         * lyxrow.h:
4994         * lyxrow.C: add isParStart,isParEnd helpers
4995
4996         * paragraph.h: make isInserted/DeletedText take refs
4997
4998         * paragraph_funcs.h:
4999         * paragraph_funcs.C: remove #if 0'd code
5000
5001         * lyxtext.h:
5002         * text3.C:
5003         * text2.C:
5004         * text.C: use lyxrow helpers above.
5005           Move draw and paint routines to RowPainter.
5006           Make several methods use refs not pointers.
5007           Make backgroundColor() const.
5008           Add markChangeInDraw(), isInInset().
5009           Merge changeRegionCase into changeCase.
5010           Make workWidth() shouldn't-happen code into an Assert.
5011
5012         * rowpainter.h:
5013         * rowpainter.C: new class for painting a row.
5014
5015         * vspace.h:
5016         * vspace.C: make inPixels take a ref
5017
5018 2003-02-26  Angus Leeming  <leeming@lyx.org>
5019
5020         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5021         LFUN_REF_APPLY.
5022
5023 2003-02-25  John Levon  <levon@movementarian.org>
5024
5025         * ispell.C: give the forked command a more accurate name
5026
5027 2003-02-22  John Levon  <levon@movementarian.org>
5028
5029         * toc.h:
5030         * toc.C: make TocItem store an id not a Paragraph *
5031           (bug #913)
5032
5033 2003-02-21  Angus Leeming  <leeming@lyx.org>
5034
5035         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5036           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5037           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5038           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5039           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5040           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5041
5042         * BufferView_pimpl.C (dispatch):
5043         * LyXAction.C (init):
5044         * factory.C (createInset):
5045         * lyxfunc.C (getStatus, dispatch):
5046         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5047
5048 2003-02-21  Angus Leeming  <leeming@lyx.org>
5049
5050         * BufferView_pimpl.C (MenuInsertLyXFile):
5051         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5052         * lyxfunc.C (menuNew, open, doImport):
5053           no longer pass a LyXView & to fileDlg.
5054
5055 2003-02-21  Angus Leeming  <leeming@lyx.org>
5056
5057         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5058         * LyXAction.C: change, BIBKEY to BIBITEM.
5059         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5060         Change InsetBibKey to InsetBibitem.
5061         Change BIBKEY_CODE to BIBITEM_CODE.
5062         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5063         * factory.C: replace insetbib.h with insetbibitem.h.
5064         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5065         * paragraph.C: replace insetbib.h with insetbibitem.h.
5066         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5067         Change bibkey() to bibitem().
5068         * text.C: remove insetbib.h.
5069         * text2.C: replace insetbib.h with insetbibitem.h.
5070         change bibkey() to bibitem().
5071         * text3.C: remove insetbib.h.
5072         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5073
5074 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5075
5076         * lyxrc.C (output): enclose user email in quotes (in case there are
5077         several words)
5078
5079 2003-02-18  John Levon  <levon@movementarian.org>
5080
5081         * buffer.h: add std::
5082
5083 2003-02-17  John Levon  <levon@movementarian.org>
5084
5085         * SpellBase.h:
5086         * ispell.h:
5087         * ispell.C:
5088         * pspell.h:
5089         * pspell.C: reworking. Especially in ispell, a large
5090           number of clean ups and bug fixes.
5091
5092         * lyxfunc.C: fix revert to behave sensibly
5093
5094 2003-02-17 André Pönitz <poenitz@gmx.net>
5095
5096         * LyXAction.C:
5097         * commandtags.h: new LFUN_INSERT_BIBKEY
5098
5099         * layout.h:
5100         * lyxlayout.C:
5101         * buffer.C:
5102         * factory.C:
5103         * text.C:
5104         * text2.C:
5105         * text3.C:
5106         * paragraph.[Ch]:
5107         * paragraph_func.C: remove special bibkey handling
5108
5109 2003-02-17  John Levon  <levon@movementarian.org>
5110
5111         * text.C (Delete): fix case where delete at the end of
5112           the very first paragraph would not merge the pars
5113
5114 2003-02-17  John Levon  <levon@movementarian.org>
5115
5116         * lyxrow.C: fix lastPrintablePos()
5117
5118 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5119
5120         * bufferparams.C (writeLaTeX): add a std:here
5121
5122         * buffer.C: and remove a using directive there
5123
5124 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5125
5126         * buffer.C (makeLaTeXFile): move the code that generates the
5127           preamble...
5128
5129         * bufferparams.C (writeLaTeX): ... in this new method
5130
5131         * LaTeXFeatures.C (getEncodingSet): make const
5132           (getLanguages): make const
5133
5134         * MenuBackend.C (binding): returns the binding associated to this
5135           action
5136           (add): sets the status of each item by calling getStatus. Adds
5137           some intelligence.
5138           (read): add support for OptSubMenu
5139           (expand): remove extra separator at the end of expanded menu
5140
5141 2003-02-15  John Levon  <levon@movementarian.org>
5142
5143         * BufferView.C:
5144         * BufferView_pimpl.C:
5145         * bufferlist.h:
5146         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5147           inset code that had no actual effect. Remove unneeded status
5148           code.
5149
5150 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5151
5152         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5153           in preamble
5154
5155 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5156
5157         * text.C (drawLengthMarker): also draw an arrow marker for
5158           symbolic lengths (medskip...)
5159
5160 2003-02-14  John Levon  <levon@movementarian.org>
5161
5162         * tabular.h:
5163         * tabular.C: better method names
5164
5165 2003-02-14  John Levon  <levon@movementarian.org>
5166
5167         * BufferView_pimpl.C:
5168         * bufferlist.C:
5169         * buffer.C:
5170         * converter.C:
5171         * lyx_cb.C:
5172         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5173           it's a more accurate name. Remove some pointless uses.
5174
5175 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5176
5177         * text2.C (LyXText): change order of initilizers to shut off
5178           warnings
5179
5180 2003-02-14  John Levon  <levon@movementarian.org>
5181
5182         * buffer.C: use ParIterator for getParFromID()
5183
5184         * paragraph.h:
5185         * paragraph.C:
5186         * paragraph_pimpl.h:
5187         * paragraph_pimpl.C: remove unused getParFromID()
5188
5189 2003-02-14  John Levon  <levon@movementarian.org>
5190
5191         * buffer.C: remove some very old #if 0'd parse code
5192
5193 2003-02-13  John Levon  <levon@movementarian.org>
5194
5195         * text.h:
5196         * text.C:
5197         * text2.C: move hfillExpansion(), numberOfSeparators(),
5198           rowLast(), rowLastPrintable(), numberofHfills(),
5199           numberOfLabelHfills() ...
5200
5201         * lyxrow.h:
5202         * lyxrow.C: ... to member functions here.
5203
5204         * paragraph.h:
5205         * paragraph.C:
5206         * lyxtext.h:
5207         * text.C: remove LyXText::beginningOfMainBody(), and call
5208           p->beginningOfMainBody() directly. Move the check for
5209           LABEL_MANUAL into the latter.
5210
5211         * text.h:
5212         * text.C:
5213         * text2.C:
5214         * vspace.C:
5215         * BufferView.h:
5216         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5217
5218         * text.h:
5219         * text.C:
5220         * text2.C:
5221         * text3.C:
5222         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5223           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5224
5225 2003-02-13  John Levon  <levon@movementarian.org>
5226
5227         * CutAndPaste.C: remove debug
5228
5229 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5230
5231         * paragraph.C (asString): remove two unused variables
5232
5233         * lyxtextclass.C (readTitleType):
5234           (Read):
5235           (LyXTextClass): handle new members titletype_ and titlename_
5236
5237         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5238
5239 2003-02-09  John Levon  <levon@movementarian.org>
5240
5241         * buffer.h:
5242         * buffer.C: replace hand-coded list with a map for the dep clean
5243
5244 2003-02-08  John Levon  <levon@movementarian.org>
5245
5246         * LaTeX.C: consolidate code into showRunMessage() helper
5247
5248 2003-02-08  John Levon  <levon@movementarian.org>
5249
5250         * lyxfind.C:
5251         * lyxtext.h:
5252         * text2.C:
5253         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5254           and pass the size in explicitly
5255
5256         * BufferView_pimpl.h:
5257         * BufferView_pimpl.C:
5258         * BufferView.h:
5259         * BufferView.C: add getCurrentChange()
5260
5261         * BufferView_pimpl.h:
5262         * BufferView_pimpl.C: handle change lfuns
5263
5264         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5265           for changes. Mark pasted paragraphs as new.
5266
5267         * support/lyxtime.h:
5268         * support/lyxtime.C:
5269         * DepTable.C: abstract time_t as lyx::time_type
5270
5271         * LColor.h:
5272         * LColor.C: add colours for new text, deleted text, changebars
5273
5274         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5275           package use "usenames" option.
5276
5277         * commandtags.h:
5278         * lyxfunc.C:
5279         * LyXAction.C: add change lfuns
5280
5281         * Makefile.am:
5282         * author.h:
5283         * author.C: author handling
5284
5285         * buffer.h:
5286         * buffer.C: add a per-buffer author list, with first entry as
5287           current author. Handle new .lyx tokens for change tracking. Output
5288           author list to .lyx file. Output dvipost stuff to .tex preamble.
5289           Bump lyx format to 222.
5290
5291         * bufferlist.h:
5292         * bufferlist.C: add setCurrentAuthor() to reset current author details
5293           in all buffers.
5294
5295         * bufferparams.h:
5296         * bufferparams.C: add param for tracking
5297
5298         * bufferview_funcs.C: output change info in minibuffer
5299
5300         * Makefile.am:
5301         * changes.h:
5302         * changes.C: add change-tracking structure
5303
5304         * debug.h:
5305         * debug.C: add CHANGES debug flag
5306
5307         * lyxfind.h:
5308         * lyxfind.C: add code for finding the next change piece
5309
5310         * lyxrc.h:
5311         * lyxrc.C: add user_name and user_email
5312
5313         * lyxrow.h:
5314         * lyxrow.C: add a metric for the top of the text line
5315
5316         * lyxtext.h:
5317         * text.C: implement accept/rejectChange()
5318
5319         * lyxtext.h:
5320         * text.C: paint changebars. Paint new/deleted text in the chosen
5321         colours. Strike through deleted text.
5322
5323         * paragraph.h:
5324         * paragraph.C:
5325         * paragraph_pimpl.h:
5326         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5327           in the current change to the insert functions. Rework erase to
5328           mark text as deleted, adding an eraseIntern() and a range-based
5329           erase(). Implement per-paragraph change lookup and
5330           accept/reject.
5331
5332         * paragraph_funcs.C: Fixup paste for change tracking.
5333
5334         * tabular.C: mark added row/columns as new.
5335
5336         * text.C: fix rowLast() to never return -1. Don't allow
5337           spellchecking of deleted text. Track transpose changes. Don't
5338           allow paragraph break or merge where appropriate.
5339
5340         * text2.C: leave cursor at end of selection after a cut.
5341
5342 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5343
5344         * text.C (getLengthMarkerHeight):
5345         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5346         visible on screen too.
5347
5348 2003-02-07  John Levon  <levon@movementarian.org>
5349
5350         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5351
5352 2003-02-05  Angus Leeming  <leeming@lyx.org>
5353
5354         * lyxserver.C (read_ready): revert my patch of 11 September last year
5355         as it sends PC cpu through the roof. Presumably this means that
5356         the lyxserver will no longer run on an Alpha...
5357
5358 2003-01-30  Angus Leeming  <leeming@lyx.org>
5359
5360         * factory.C (createInset): create an InsetCommandParam of type "index"
5361         and use it to 'do the right thing'.
5362
5363         * text2.C (getStringToIndex): ensure that cursor position is always
5364         reset to the reset_cursor position.
5365
5366 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5367
5368         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5369         disabled.
5370
5371 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5372
5373         * bufferview.C:
5374         * lyxcb.C:
5375         * lyxfunc.C: Output messages with identical spelling, punctuation,
5376         and spaces
5377
5378 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5379
5380         * MenuBackend.C (expandFormats): List only viewable export formats
5381         in "View" menu
5382
5383         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5384         message
5385
5386         * lyxfunc.C (getStatus): Make sure that formats other than
5387         "fax" can also be disabled
5388
5389 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5390
5391         * text3.C (dispatch): put the lfuns that insert insets in 3
5392         groups, and call doInsertInset with appropriate arguments.
5393         (doInsertInset): new function, that creates an inset and inserts
5394         it according to some boolean parameters.
5395
5396 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5397
5398         * buffer.C (readFile): remember to pass on 'par' when calling
5399         readFile recursively.
5400
5401 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5402
5403         * MenuBackend.C (expandFormats): add "..." to import formats.
5404
5405 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5406
5407         * paragraph.C (asString): Remove XForms RTL hacks.
5408
5409 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5410         * buffer.C: fix typo
5411
5412 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5413
5414         * Makefile.am (LIBS): delete var
5415         (lyx_LDADD): add @LIBS@ here instead.
5416
5417 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5418
5419         * Clarify the meaning of "wheel mouse jump"
5420
5421 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5422
5423         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5424         tabular in a float
5425
5426 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5427
5428         * importer.C (Loaders): do not preallocate 3 elements in the
5429         vector, since one ends up with 6 elements otherwise
5430
5431 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5432
5433         * DepTable.C (write): write the file name as last element of the
5434         .dep file (because it may contain spaces)
5435         (read): read info in the right order
5436
5437 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5438
5439         * paragraph_pimpl.C (simpleTeXBlanks):
5440         (simpleTeXSpecialChars):
5441         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5442
5443         * tabular.C (latex): add some missing case statements. Reindent.
5444
5445         * MenuBackend.C (expandToc): remove unused variable.
5446
5447 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5448
5449         * LColor.C:
5450         * LaTeX.C:
5451         * LyXAction.C:
5452         * MenuBackend.C:
5453         * buffer.C:
5454         * exporter.C:
5455         * lyxfunc.C:
5456         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5457         and the like.
5458
5459 2003-01-05  John Levon  <levon@movementarian.org>
5460
5461         * BufferView.h:
5462         * BufferView.C: add getEncoding()
5463
5464         * kbsequence.h:
5465         * kbsequence.C: do not store last keypress
5466
5467         * lyxfunc.h:
5468         * lyxfunc.C: store last keypress here instead. Pass encoding
5469           to getISOEncoded()
5470
5471 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5472
5473         * lyx_main.C (init): remove annoying error message when following
5474         symbolic links (bug #780)
5475
5476 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5477
5478         * text.C (insertChar):
5479         * lyxrc.C (getDescription): remove extra spaces
5480
5481 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5482
5483         * lyxrc.C (getDescription): remove extra spaces
5484
5485 2002-12-20  John Levon  <levon@movementarian.org>
5486
5487         * text3.C: hack fix for page up/down across tall rows
5488
5489 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5490
5491         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5492         not been invoked
5493
5494 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5495
5496         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5497         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5498         thesaurus is not compiled in
5499
5500 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5501
5502         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5503
5504 2002-12-16  Angus Leeming  <leeming@lyx.org>
5505
5506         * lyxrc.[Ch]:
5507         * lyx_main.C (init): remove override_x_deadkeys stuff.
5508
5509 2002-12-12  John Levon  <levon@movementarian.org>
5510
5511         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5512           insert. Only remove shift modifier under strict
5513           circumstances.
5514
5515 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5516
5517         * MenuBackend.C (expandToc): fix crash.
5518
5519 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5520
5521         * MenuBackend.C (expandToc): gettext on float names.
5522
5523 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5524
5525         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5526         implement bool empty() [bug 490]
5527
5528 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5529
5530         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5531
5532 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5533
5534         * several files: ws changes
5535
5536 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5537
5538         * text2.C (setCounter): clean up a bit, use boost.format.
5539         (updateCounters): initialize par upon declaration.
5540
5541         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5542         if the layout exists. We do not just store the layout any more.
5543         (SwitchLayoutsBetweenClasses): use boost.format
5544
5545 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5546
5547         * converter.C (convert): if from and to files are the same, use a
5548         temporary files as intermediary
5549
5550 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5551
5552         * commandtags.h:
5553         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5554
5555 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5556
5557         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5558
5559 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5560
5561         * tabular.C (asciiPrintCell): use string(size, char) instead of
5562         explicit loop.
5563
5564         * sgml.C (openTag): fix order of arguments to string constructor
5565         (closeTag): ditto
5566
5567         * lyxfunc.C (dispatch): use boost.format
5568
5569         * lots of files: change "c" -> 'c'
5570
5571 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5572
5573         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5574
5575 2002-11-25  Angus Leeming  <leeming@lyx.org>
5576
5577         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5578
5579         * lyx_main.C (init): compile fix.
5580
5581 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5582
5583         * lyx_cb.C (start): boost.formatify
5584         do not include <iostream>
5585
5586         * lengthcommon.C: ws only
5587
5588         * boost-inst.C,BoostFormat.h: add more explict instantations
5589
5590 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5591
5592         * lots of files: handle USE_BOOST_FORMAT
5593
5594 2002-11-21  John Levon  <levon@movementarian.org>
5595
5596         * pspell.C: fix compile
5597
5598 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5599
5600         * lyxfunc.C (dispatch): use boost::format
5601         (open): ditto
5602         (doImport): ditto
5603
5604         * lyxfont.C (stateText): use boost::format
5605
5606         * lyx_main.C (LyX): use boost::format
5607         (init): ditto
5608         (queryUserLyXDir): ditto
5609         (readRcFile): ditto
5610         (parse_dbg): ditto
5611         (typedef boost::function): use the recommened syntax.
5612
5613         * importer.C (Import): use boost::format
5614
5615         * debug.C (showLevel): use boost::format
5616
5617         * converter.C (view): use boost::format
5618         (convert): ditto
5619         (move): ditto
5620         (scanLog): ditto
5621
5622         * bufferview_funcs.C (currentState): use boost::format
5623
5624         * bufferlist.C (emergencyWrite): use boost::format
5625
5626         * buffer.C (readLyXformat2): use boost::format
5627         (parseSingleLyXformat2Token): ditto
5628
5629         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5630
5631         * LaTeX.C (run): use boost::format
5632
5633         * Chktex.C (scanLogFile): use boost::format
5634
5635         * BufferView_pimpl.C (savePosition): use boost::format
5636         (restorePosition): ditto
5637         (MenuInsertLyXFile): ditto
5638
5639         * BoostFormat.h: help file for explicit instation.
5640
5641 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5642
5643         * tabular.C (latex): Support for block alignment in fixed width
5644         columns.
5645
5646 2002-11-17  John Levon  <levon@movementarian.org>
5647
5648         * BufferView_pimpl.C:
5649         * lyx_cb.C:
5650         * lyxfunc.C: split filedialog into open/save
5651
5652 2002-11-08  Juergen Vigna  <jug@sad.it>
5653
5654         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5655         by my last patch (hopefully).
5656
5657 2002-11-08  John Levon  <levon@movementarian.org>
5658
5659         * iterators.h:
5660         * iterators.C:
5661         * buffer.h:
5662         * buffer.C:
5663         * paragraph.h:
5664         * paragraph.C:
5665         * toc.h:
5666         * toc.C: ParConstIterator, and use it (from Lars)
5667
5668 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5669
5670         * lyxtextclass.[Ch]: revise and add doxygen comments
5671
5672 2002-11-07  John Levon  <levon@movementarian.org>
5673
5674         * text.C: fix progress value for spellchecker
5675
5676         * toc.C: fix navigate menu for insetwrap inside minipage
5677
5678         * paragraph_funcs.C: added FIXME for suspect code
5679
5680 2002-11-07  John Levon  <levon@movementarian.org>
5681
5682         * BufferView_pimpl.C: fix redrawing of insets
5683           on buffer switch
5684
5685 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5686
5687         * text2.C (updateCounters): fix bug 668
5688
5689 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5690
5691         * text3.C (dispatch): Do not make the buffer dirty when moving the
5692         cursor.
5693
5694 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5695
5696         * vc-backend.C: STRCONV
5697         (scanMaster): ditto
5698
5699         * text2.C (setCounter): STRCONV
5700
5701         * paragraph.C (asString): STRCONV
5702
5703         * lyxlength.C (asString): STRCONV
5704         (asLatexString): ditto
5705
5706         * lyxgluelength.C (asString): STRCONV
5707         (asLatexString): ditto
5708
5709         * lyxfunc.C (dispatch): STRCONV
5710         (open): ditto
5711
5712         * lyxfont.C (stateText): STRCONV
5713
5714         * importer.C (Import): STRCONV
5715
5716         * counters.C (labelItem): STRCONV
5717         (numberLabel): ditto
5718         (numberLabel): remove unused ostringstream o
5719
5720         * chset.C: STRCONV
5721         (loadFile): ditto
5722
5723         * bufferview_funcs.C (currentState): STRCONV
5724
5725         * buffer.C (readFile): STRCONV
5726         (asciiParagraph): ditto
5727         (makeLaTeXFile): ditto
5728
5729         * Spacing.C (writeEnvirBegin): STRCONV
5730
5731         * LaTeXFeatures.C (getLanguages): STRCONV
5732         (getPackages): ditto
5733         (getMacros): ditto
5734         (getBabelOptions): ditto
5735         (getTClassPreamble): ditto
5736         (getLyXSGMLEntities): ditto
5737         (getIncludedFiles): ditto
5738
5739         * LaTeX.C: STRCONV
5740         (run): ditto
5741         (scanAuxFile): ditto
5742         (deplog): ditto
5743
5744         * LString.h: add the STRCONV macros
5745
5746         * BufferView_pimpl.C (savePosition): STRCONV
5747         (restorePosition): ditto
5748         (MenuInsertLyXFile): ditto
5749
5750         * vc-backend.C (scanMaster): change from submatch[...] to
5751         submatch.str(...)
5752
5753         * funcrequest.C: include config.h
5754
5755         * factory.C: include config.h
5756
5757         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5758
5759         * box.C: include config.h
5760
5761         * LaTeX.C (scanAuxFile): change from submatch[...] to
5762         submatch.str(...)
5763         (deplog): ditto
5764
5765 2002-10-25  Angus Leeming  <leeming@lyx.org>
5766
5767         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5768
5769         * ispell.[Ch] (setError): new method.
5770         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5771         Use setError() insetead of goto END.
5772
5773         * lyx_cb.C (AutoSave): move out child process into new class
5774         AutoSaveBuffer.
5775
5776 2002-10-30  John Levon  <levon@movementarian.org>
5777
5778         * text3.C: make start appendix undoable
5779
5780 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5781
5782         * lyxlength.C (inPixels): Fix returned value.
5783
5784         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5785         environment.
5786
5787 2002-10-24  Angus Leeming  <leeming@lyx.org>
5788
5789         * lyxgluelength.h: no need to forward declare BufferParams
5790         or BufferView, so don't.
5791
5792 2002-10-21  John Levon  <levon@movementarian.org>
5793
5794         * BufferView.C: menuUndo ->undo, redo
5795
5796         * BufferView.h: document, remove dead, make some methods private
5797
5798         * paragraph_funcs.h:
5799         * paragraph_funcs.C:
5800         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5801
5802         * buffer.h:
5803         * buffer.C:
5804         * sgml.h:
5805         * sgml.C: move sgml open/close tag into sgml.C
5806
5807         * bufferview_funcs.h: unused prototype
5808
5809         * lyxfunc.h:
5810         * lyxfunc.C: remove unused
5811
5812         * lyxtext.h:
5813         * text.C: remove unused
5814
5815 2002-10-21  John Levon  <levon@movementarian.org>
5816
5817         * BufferView.h:
5818         * BufferView.C:
5819         * BufferView_pimpl.h:
5820         * BufferView_pimpl.C: fix mouse wheel handling based on
5821           patch from Darren Freeman
5822
5823 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5824
5825         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5826
5827 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5828
5829         * lyxlength.C (inPixels): Fix hanfling of negative length.
5830         Fix LyXLength::MU case.
5831
5832 2002-10-16  John Levon  <levon@movementarian.org>
5833
5834         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5835
5836 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5837
5838         * converter.C (view): add support for $$i (file name) and $$p
5839         (file path) for the viewer command. If $$i is not specified, then
5840         it is appended to the command (for compatibility with old syntax)
5841
5842 2002-10-14  Juergen Vigna  <jug@sad.it>
5843
5844         * undo_funcs.C (textHandleUndo): alter the order in which the
5845         new undopar is added to the LyXText, as we have to set first
5846         the right prev/next and then add it as otherwise the rebuild of
5847         LyXText is not correct. Also reset the cursor to the right paragraph,
5848         with this IMO we could remove the hack in "redoParagraphs()".
5849
5850 2002-10-09  Angus Leeming  <leeming@lyx.org>
5851
5852         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5853         to turn off an optimisation if a new inset is to be inserted.
5854
5855 2002-10-11 André Pönitz <poenitz@gmx.net>
5856
5857         * lyxtext.h: make some functions public to allow access
5858         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5859
5860 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5861
5862         * text3.C (dispatch): when changing layout, avoid an infinite loop
5863         [bug #652]
5864
5865 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5866
5867         * lyxrc.C (read): treat a viewer or converter command of "none" as
5868         if it were empty.
5869
5870         * MenuBackend.C (expandFormats): for an update, also allow the
5871         formats that are not viewable
5872
5873         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5874         script if it is newer than the lyxrc.defaults in user directory
5875
5876 2002-10-07 André Pönitz <poenitz@gmx.net>
5877
5878         * text.C: Vitaly Lipatov's small i18n fix
5879
5880 2002-09-25  Angus Leeming  <leeming@lyx.org>
5881
5882         * ispell.h: doxygen fix.
5883
5884 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5885
5886         * buffer.h (readFile): Add a new argument to the method, to allow
5887         reading of old-format templates.
5888
5889 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5890
5891         * toc.C (getTocList): Get TOC from InsetWrap.
5892
5893 2002-09-16  John Levon  <levon@movementarian.org>
5894
5895         * lyxfunc.C: check tabular for cut/copy too
5896
5897 2002-09-12  John Levon  <levon@movementarian.org>
5898
5899         * LyXAction.C: tidy
5900
5901         * factory.h:
5902         * factory.C: add header
5903
5904         * paragraph_funcs.h:
5905         * paragraph_funcs.C: cleanup
5906
5907 2002-09-11  John Levon  <levon@movementarian.org>
5908
5909         * PrinterParams.h: odd/even default to true
5910
5911 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5912
5913         * PrinterParams.h: update printer parameters for new xforms dialog
5914
5915 2002-09-11  Angus Leeming  <leeming@lyx.org>
5916
5917         * lyxserver.C (read_ready): re-write to make it more transparent
5918         and to make it work in coherent fashion under Tru64 Unix.
5919
5920 2002-09-11  André Pönitz <poenitz@gmx.net>
5921
5922         * commandtags.h:
5923         * LyXAction.C:
5924         * text3.C: implement LFUN_WORDSEL
5925
5926 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5927
5928         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5929         make floatlist_ a boost::shared_ptr<FloatList>
5930
5931         * lyxtextclass.C: include FloatList.h
5932         (LyXTextClass): initialize floatlist_
5933         (TextClassTags): add TC_NOFLOAT
5934         (Read): match "nofloat" to TC_NOFLOAT and use it.
5935         (readFloat): modify call to floatlist_
5936         (floats): ditto
5937         (floats): ditto
5938
5939         * FloatList.[Ch] (FloatList): remove commented out float
5940         initialization.
5941         (erase): new function
5942
5943 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5944
5945         * MenuBackend.C (expandToc): fix crash when there is no document
5946         open
5947
5948 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5949
5950         * many files: Add insetwrap.
5951
5952 2002-09-09  John Levon  <levon@movementarian.org>
5953
5954         * text2.C: remove confusing and awkward depth wraparound
5955
5956 2002-09-09  John Levon  <levon@movementarian.org>
5957
5958         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5959
5960         * buffer.h:
5961         * buffer.C: remove getIncludeonlyList()
5962
5963         * paragraph.C:
5964         * lyxfunc.C: remove headers
5965
5966 2002-09-09  Juergen Vigna  <jug@sad.it>
5967
5968         * text.C (getColumnNearX): fix form Michael this is most
5969         probably a cut&paste bug.
5970
5971 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5972
5973         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5974
5975         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5976         references, ws changes.
5977
5978         * text2.C (init): update counters after init
5979         (insertParagraph): no need to set counter on idividual paragraphs.
5980         (setCounter): access the counters object in the textclass object
5981         on in the buffer object.
5982         (updateCounters): ditto
5983
5984         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5985         shared_ptr<Counters> to avoid loading counters.h in all
5986         compilation units.
5987         (LyXTextClass): initialize ctrs_
5988         (TextClassTags): add TC_COUNTER, and ...
5989         (Read): use it here.
5990         (CounterTags): new tags
5991         (readCounter): new function
5992         (counters): new funtion
5993         (defaultLayoutName): return a const reference
5994
5995         * counters.C (Counters): remove contructor
5996         (newCounter): remove a couple of unneeded statements.
5997         (newCounter): simplify a bit.
5998         (numberLabel): some small formatting changes.
5999
6000         * buffer.[Ch]: remove all traces of counters, move the Counters
6001         object to the LyXTextClass.
6002
6003 2002-09-06  Alain Castera  <castera@in2p3.fr>
6004
6005         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6006         package to set the horizontal alignment on fixed width columns.
6007
6008         * lyx_sty.C:
6009         * lyx_sty.h: added tabularnewline macro def.
6010
6011         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6012
6013 2002-09-06  John Levon  <levon@movementarian.org>
6014
6015         * LyXAction.C: tooltips for sub/superscript
6016
6017         * MenuBackend.C: a bit more verbose
6018
6019         * lyxfunc.C: tiny clean
6020
6021         * undo_funcs.C: document undo_frozen
6022
6023 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6024
6025         * counters.C (Counters): add missing algorithm counter.
6026
6027         * text2.C (setCounter): lookup the counter with layouts latexname
6028         instead of by section number.
6029         (setCounter): use a hackish way to lookup the correct enum
6030         counter.
6031         a float name->type change
6032         reset enum couners with counter name directly instead of depth value.
6033
6034         * counters.C (Counters): remove the push_backs, change to use the
6035         float type not the float name.
6036         (labelItem): remove unused string, float name->type change
6037
6038         * counters.h: don't include vector, loose the enums and sects vectors
6039
6040 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6041
6042         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6043         (Read): add float->TC_FLOAT to textclassTags
6044         (Read): and handle it in the switch
6045         (readFloat): new function
6046
6047         * FloatList.C (FloatList): comment out the hardcoded float
6048         definitions.
6049
6050         * lyxlayout.h: ws change.
6051
6052 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6053
6054         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6055
6056 2002-09-03  Angus Leeming  <leeming@lyx.org>
6057
6058         * BufferView_pimpl.h: qualified name is not allowed in member
6059         declaration: WorkArea & Pimpl::workarea() const;
6060
6061         * factory.C: added using std::endl directive.
6062
6063         * text3.C: added using std::find and std::vector directives.
6064
6065 2002-08-29  André Pönitz <poenitz@gmx.net>
6066
6067         * lyxtext.h:
6068         * text2.C: remove unused member number_of_rows
6069
6070         * Makefile.am:
6071         * BufferView2.C: remove file, move contents to...
6072         * BufferView.C: ... here
6073
6074         * BufferView_pimpl.C:
6075         * factory.C: move more inset creation to factory
6076
6077         * vspace.C: avoid direct usage of LyXText, ws changes
6078
6079         * BufferView.[Ch]:
6080                 don't provide direct access to WorkArea, use two simple
6081                 acessors haveSelction() and workHeight() instead
6082
6083
6084 2002-08-29  John Levon  <levon@movementarian.org>
6085
6086         * BufferView_pimpl.C (dispatch): do not continue when
6087           no buffer
6088
6089 2002-08-28  André Pönitz <poenitz@gmx.net>
6090
6091         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6092
6093         * BufferView.h:
6094         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6095
6096 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6097
6098         * buffer.C: increment LYX_FORMAT to 221
6099
6100         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6101         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6102
6103         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6104
6105         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6106
6107 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6108
6109         * factory.C (createInset): use LyXTextClass::floats
6110
6111         * MenuBackend.C (expandFloatListInsert):
6112         (expandFloatInsert):
6113         (expandToc):
6114
6115         * text2.C (setCounter):
6116
6117         * LaTeXFeatures.C (useFloat):
6118         (getFloatDefinitions):
6119
6120         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6121
6122         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6123         floatlist_, with accessor floats().
6124
6125         * FloatList.h: remove global FloatList
6126
6127 2002-08-26  André Pönitz <poenitz@gmx.net>
6128
6129         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6130
6131         * BufferView.h:
6132         * BufferView2.C:
6133         * BufferView_pimpl.C:
6134         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6135
6136 2002-08-25  John Levon  <levon@movementarian.org>
6137
6138         * LyXAction.C: fix margin note description
6139
6140 2002-08-24  John Levon  <levon@movementarian.org>
6141
6142         * buffer.C:
6143         * bufferlist.C:
6144         * bufferview_funcs.C:
6145         * lyxfont.C:
6146         * undo_funcs.C: cleanups
6147
6148         * lyxfunc.C: disable CUT/COPY when no selection
6149
6150 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6151
6152         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6153         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6154
6155         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6156         Add backward compatibility to "mono", "gray" and "no".
6157
6158 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6159
6160         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6161         (and file_format >= 200).
6162
6163 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6164
6165         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6166
6167 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6168
6169         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6170
6171 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6172
6173         * BufferView_pimpl.C:
6174         * LyXAction.C:
6175         * buffer.C:
6176         * commandtags.h:
6177         * lyxfunc.C:
6178         * paragraph.[Ch]:
6179         * text2.C:
6180         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6181         inset and code to make it  work with the paragraph code. The inset
6182         can be anywhere in the paragraph, but will only do the expected
6183         thing in LaTeX if the layout file contains the parameter line
6184                         OptionalArgs    1
6185         (or more generally, a nonzero value) for that layout.
6186
6187 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6188
6189         * paragraph.h: remove the declaration of undefined counters class
6190         function.
6191
6192 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6193
6194         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6195         Dr. Richard Hawkins.
6196
6197 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6198
6199         * paragraph_funcs.h: remove some unneeded includes
6200
6201         * text.C (backspace): pasteParagraph now in global scipe
6202
6203         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6204         (pasteSelection): ditto
6205
6206         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6207         * paragraph_funcs.C (pasteParagraph): ... here
6208
6209 2002-08-20  André Pönitz <poenitz@gmx.net>
6210
6211         * commandtags.h: new LFUNs for swapping/copying table row/colums
6212
6213         * LyXAction.C:
6214         * lyxfunc.C: support for new lfuns
6215
6216 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6217
6218         * tabular.C:
6219         * buffer.[Ch]: remove NO_COMPABILITY stuff
6220
6221 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6222
6223         * boost.C (throw_exception): new file, with helper function for
6224         boost compiled without exceptions.
6225
6226         * paragraph.h:
6227         * lyxlength.C:
6228         * buffer.C:
6229         * ParameterStruct.h:
6230         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6231
6232         * bufferlist.C (emergencyWriteAll): use boost bind
6233
6234         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6235
6236         * text.C: include paragraph_funcs.h
6237         (breakParagraph): breakParagraph is now in global scope
6238
6239         * paragraph_funcs.[Ch]: new files
6240
6241         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6242         global scope
6243
6244         * buffer.C: include paragraph_funcs.h
6245         (insertStringAsLines): breakParagraph is now in global scope
6246
6247         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6248         paragraph_funcs.C
6249
6250         * CutAndPaste.C: include paragraph_funcs.h
6251         (cutSelection): breakParagraphConservative is now in global scope
6252         (pasteSelection): ditto
6253
6254         * buffer.h: declare oprator== and operator!= for
6255         Buffer::inset_iterator
6256
6257         * bufferlist.C (emergencyWrite): don't use fmt(...)
6258
6259         * text3.C: add using std::endl
6260
6261         * BufferView.C (moveCursorUpdate): remove default arg
6262
6263 2002-08-20  André Pönitz <poenitz@gmx.net>
6264
6265         * buffer.[Ch]: move inline functions to .C
6266
6267         * BufferView2.C:
6268         * BufferView_pimpl.C:
6269         * text.C:
6270         * buffer.[Ch]: use improved inset_iterator
6271
6272         * buffer.C:
6273         * paragraph.[Ch]: write one paragraph at a time
6274
6275 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6276
6277         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6278         style if style is not specified.
6279
6280 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6281
6282         * text2.C (setCounter): when searching for right label for a
6283         caption, make sure to recurse to parent insets (so that a caption
6284         in a minipage in a figure float works) (bug #568)
6285
6286 2002-08-20  André Pönitz <poenitz@gmx.net>
6287
6288         * text3.C: new file for LyXText::dispatch() and helpers
6289
6290         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6291
6292         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6293
6294 2002-08-19  André Pönitz <poenitz@gmx.net>
6295
6296         * lyxtext.h:
6297         * text.C: new LyXText::dispatch()
6298
6299         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6300
6301 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6302
6303         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6304
6305         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6306         Hebrew text.
6307
6308 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6309
6310         * Makefile.am: use $(variables) instead of @substitutions@
6311
6312 2002-08-15  André Pönitz <poenitz@gmx.net>
6313
6314         * lyxfunc.C:
6315         * BufferView_pimpl.C: streamlining mathed <-> outer world
6316         interaction
6317
6318         * commandtags.h:
6319         * LyXAction.C: remove unused LFUN_MATH
6320
6321 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6322
6323         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6324
6325 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6326
6327         * paragraph.C (Paragraph): reformat a bit
6328         (cutIntoMinibuffer): use builtin InsetList function instad of
6329         doing it manually.
6330         (getInset): ditto
6331
6332         * buffer.C: include boost/bind.hpp, add using std::for_each
6333         (writeFileAscii): use ParagraphList iterators
6334         (validate): use for_each for validate traversal of paragraphs
6335         (getBibkeyList): use ParagraphList iterators
6336         (resizeInsets): use for_each to resizeInsetsLyXText for all
6337         paragraphs.
6338         (getParFromID): use ParagraphList iterators
6339
6340         * BufferView2.C (lockInset): use paragraph list and iterators
6341
6342 2002-08-14  John Levon  <levon@movementarian.org>
6343
6344         * lyxserver.C: remove spurious xforms include
6345
6346 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6347
6348         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6349
6350 2002-08-13  André Pönitz <poenitz@gmx.net>
6351
6352         * LyXAction.[Ch]:
6353         * lyxfunc.C: further cleaning
6354
6355 2002-08-13  André Pönitz <poenitz@gmx.net>
6356
6357         * funcrequest.h: new constructor
6358
6359         * funcrequest.C: move stuff here from .h
6360
6361         * Makefile.am:
6362         * BufferView_pimpl.C:
6363         * LyXAction.C:
6364         * toc.C:
6365         * lyxfunc.C: subsequent changes
6366
6367         * lyxfunc.h: new view() member function
6368
6369         * lyxfunc.C: subsequent changes
6370
6371 2002-08-13  Angus Leeming  <leeming@lyx.org>
6372
6373         * BufferView2.C:
6374         * BufferView_pimpl.C:
6375         * buffer.C:
6376         * converter.C:
6377         * importer.C:
6378         * lyxfunc.C:
6379         * lyxvc.C:
6380         * toc.C:
6381         * vc-backend.C:
6382         changes due to the changed LyXView interface that now returns references
6383         to member variables not pointers.
6384
6385 2002-08-13  Angus Leeming  <leeming@lyx.org>
6386
6387         * WordLangTuple (word, lang_code): return references to strings,
6388         not strings.
6389
6390         * BufferView.h:
6391         * SpellBase.h:
6392         * lyxtext.h: forward-declare WordLangTuple.
6393
6394         * BufferView2.C:
6395         * ispell.C:
6396         * pspell.C:
6397         * text.C: #include "WordLangTuple.h".
6398
6399         * lyxtext.h:
6400         * text.C: (selectNextWordToSpellcheck): constify return type.
6401
6402 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6403
6404         * buffer.C:
6405         * buffer.h:
6406         * lyxtext.h:
6407         * paragraph.C:
6408         * paragraph_pimpl.h:
6409         * text.C:
6410         * text2.C:
6411         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6412         suggested by Angus.
6413         Made updateCounter always count from start of buffer, and removed
6414         second argument (par).
6415         Reverted floats number display to '#'. Perhaps I'll try again when the
6416         code base is sanitized a bit.
6417
6418 2002-08-12  Angus Leeming  <leeming@lyx.org>
6419
6420         * buffer.[Ch] (getLabelList): constify.
6421
6422 2002-08-07  André Pönitz <poenitz@gmx.net>
6423
6424         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6425
6426         * funcrequest.h: extension to keep mouse (x,y) position
6427
6428 2002-08-12  Juergen Vigna  <jug@sad.it>
6429
6430         * BufferView2.C (insertErrors): forbid undo when inserting error
6431         insets.
6432
6433         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6434
6435 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6436
6437         * ParagraphList.[Ch]: new files
6438
6439         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6440
6441         * BufferView2.C (lockInset): ParagraphList changes
6442         * toc.C: ditto
6443         * text2.C: ditto
6444         * bufferlist.C: ditto
6445         * buffer.h: ditto
6446         * buffer.C: ditto
6447
6448 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6449
6450         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6451         unused class variable counter_,
6452
6453         * paragraph.[Ch] (getFirstCounter): delete unused function
6454
6455         * counters.C: include LAssert.h
6456         (reset): add a new function with no arg, change other version to
6457         not have def. arg and to not allow empty arg.
6458
6459         * text2.C (setCounter): remove empty arg from call to Counters::reset
6460
6461 2002-08-11  John Levon  <levon@movementarian.org>
6462
6463         * Makefile.am: add WordLangTuple.h
6464
6465 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6466
6467         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6468         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6469
6470         * insets/insettext.C: InsetList changes
6471
6472         * graphics/GraphicsSupport.C (operator()): InsetList changes
6473
6474         * toc.C (getTocList): InsetList changes
6475
6476         * paragraph_pimpl.[Ch]: InsetList changes
6477
6478         * paragraph.[Ch]: InsetList changes
6479
6480         * buffer.C (inset_iterator): InsetList changes
6481         (setParagraph): ditto
6482         * buffer.h (inset_iterator): ditto
6483         * iterators.C (operator++): ditto
6484         * iterators.h: ditto
6485
6486         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6487
6488         * InsetList.[Ch]: new files, most InsetList handling moved out of
6489         paragraph.C.
6490
6491         * BufferView2.C (removeAutoInsets): InsetList changes
6492         (lockInset): ditto
6493         (ChangeInsets): ditto
6494
6495 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6496
6497         * paragraph_pimpl.h (empty): new function
6498
6499         * paragraph.[Ch] (empty): new function
6500
6501         * other files: use the new Paragraph::empty function
6502
6503 2002-08-09  John Levon  <levon@movementarian.org>
6504
6505         * lyxtext.h: remove unused refresh_height
6506
6507 2002-08-09  John Levon  <levon@movementarian.org>
6508
6509         * Makefile.am:
6510         * sgml.h:
6511         * sgml.C:
6512         * buffer.C:
6513         * paragraph.h:
6514         * paragraph.C: move sgml char escaping out of paragraph
6515
6516         * paragraph.h:
6517         * paragraph.C: remove id setter
6518
6519         * buffer.C:
6520         * paragraph.C:
6521         * paragraph_pimpl.C: remove dead tex_code_break_column
6522
6523         * bufferview_funcs.C: small cleanup
6524
6525         * lyxfunc.C: remove dead proto
6526
6527         * lyxtext.h: make some stuff private. Remove some dead stuff.
6528
6529         * lyxgluelength.C: make as[LyX]String() readable
6530
6531 2002-08-08  John Levon  <levon@movementarian.org>
6532
6533         * LyXAction.h:
6534         * LyXAction.C:
6535         * MenuBackend.C:
6536         * ToolbarDefaults.C:
6537         * lyxfunc.C:
6538         * lyxrc.C:
6539         * toc.C: lyxaction cleanup
6540
6541 2002-08-08  John Levon  <levon@movementarian.org>
6542
6543         * BufferView2.C: small cleanup
6544
6545         * lyxfind.h:
6546         * lyxfind.C: move unnecessary header into the .C
6547
6548 2002-08-08  John Levon  <levon@movementarian.org>
6549
6550         * funcrequest.h: just tedious nonsense
6551
6552         * lyx_main.h:
6553         * lyx_main.C: cleanups
6554
6555         * buffer.C:
6556         * vspace.C: remove dead header lyx_main.h
6557
6558 2002-08-07  Angus Leeming  <leeming@lyx.org>
6559
6560         * Paragraph.[Ch]:
6561         * paragraph_pimpl.h:
6562         Forward declare class Counters in paragraph.h by moving the ctrs member
6563         variable into Paragraph::Pimpl.
6564         (counters): new method, returning a reference to pimpl_->ctrs.
6565
6566         * text2.C: ensuing changes.
6567
6568 2002-08-07  John Levon  <levon@movementarian.org>
6569
6570         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6571
6572         * BufferView_pimpl.C: announce X selection on double/triple
6573           click
6574
6575         * lyx_main.C: use correct bool in batch dispatch
6576
6577         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6578
6579 2002-08-07  André Pönitz <poenitz@gmx.net>
6580
6581         * funcrequest.h: new class to wrap a kb_action and its argument
6582
6583         * BufferView.[Ch]:
6584         * BufferView_pimpl[Ch]:
6585         * LaTeX.C:
6586         * LyXAction.[Ch]:
6587         * lyxfunc.[Ch]:
6588         * lyxrc.C: subsequent changes
6589
6590
6591 2002-08-07  John Levon  <levon@movementarian.org>
6592
6593         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6594           document options change.
6595
6596 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6597
6598         * counters.[Ch]
6599         * text2.C
6600         * paragraph.[Ch]
6601         * makefile.am: move counters functionality over from
6602         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6603
6604 2002-08-06  John Levon  <levon@movementarian.org>
6605
6606         * WordLangTuple.h: new file for word + language code tuple
6607
6608         * SpellBase.h:
6609         * pspell.h:
6610         * pspell.C:
6611         * ispell.h:
6612         * ispell.C:
6613         * lyxtext.h:
6614         * text.C:
6615         * text2.C:
6616         * BufferView.h:
6617         * BufferView2.C: use WordLangTuple
6618
6619         * layout.h:
6620         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6621
6622 2002-08-06  John Levon  <levon@movementarian.org>
6623
6624         * lyx_main.C: fix cmdline batch handling
6625
6626 2002-08-06  André Pönitz <poenitz@gmx.net>
6627
6628         * lyxrc.C: set default for show_banner to true
6629
6630 2002-08-06  John Levon  <levon@movementarian.org>
6631
6632         * pspell.C: fix a crash, and allow new aspell to work
6633
6634 2002-08-06  John Levon  <levon@movementarian.org>
6635
6636         * lyxfunc.C:
6637         * kbmap.C: small cleanup
6638
6639         * vspace.h:
6640         * vspace.C: add const
6641
6642 2002-08-05  John Levon  <levon@movementarian.org>
6643
6644         * LyXAction.C: back to tabular-insert
6645
6646 2002-08-04  John Levon  <levon@movementarian.org>
6647
6648         * BufferView.h:
6649         * BufferView.C: cosmetic change
6650
6651         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6652
6653         * bufferlist.C:
6654         * buffer.h:
6655         * buffer.C:
6656         * lyxcb.h:
6657         * lyxcb.C:
6658         * lyxserver.C:
6659         * lyxvc.C:
6660         * vc-backend.C:
6661         * BufferView2.C: purge all "Lyx" not "LyX" strings
6662
6663         * lyxcursor.h:
6664         * lyxcursor.C: attempt to add some documentation
6665
6666         * lyxfunc.C:
6667         * commandtags.h:
6668         * LyXAction.C:
6669         * ToolbarDefaults.C:
6670         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6671           merge with LFUN_TABULAR_INSERT
6672
6673         * Makefile.am:
6674         * SpellBase.h:
6675         * ispell.h:
6676         * ispell.C:
6677         * pspell.h:
6678         * pspell.C: split up i/pspell implementations into separate
6679           files, many cleanups
6680
6681         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6682
6683         * text2.C: some cleanup
6684
6685         * lyxfunc.C: don't check for isp_command == "none" any more, it
6686           didn't make any sense
6687
6688 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6689
6690         * counters.[Ch]
6691         * text2.C
6692         * paragraph.[Ch]
6693         * makefile.am: move counters functionality over
6694         from text2.C/paragraph.[Ch] to counters.[Ch], and
6695         make proper C++.
6696 2002-08-02  John Levon  <levon@movementarian.org>
6697
6698         * buffer.C: s/lyxconvert/lyx2lyx/
6699
6700 2002-08-02  Angus Leeming  <leeming@lyx.org>
6701
6702         * lyxlex.C: revert John's change as it breaks reading of the user
6703         preamble.
6704
6705 2002-08-02  Angus Leeming  <leeming@lyx.org>
6706
6707         * importer.C (Import):
6708         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6709         changes due to LyXView::view() now returning a boost::shared_ptr.
6710
6711 2002-08-02  John Levon  <levon@movementarian.org>
6712
6713         * lyxlex.C: small cleanup
6714
6715 2002-08-02  John Levon  <levon@movementarian.org>
6716
6717         * text2.C (status): small cleanup, no logic change
6718
6719 2002-08-01  John Levon  <levon@movementarian.org>
6720
6721         * buffer.h:
6722         * buffer.C (writeFile): don't output alerts, caller
6723           handles this
6724
6725         * bufferlist.C:
6726         * lyx_cb.C: from above
6727
6728         * lyxfunc.C: allow to open non-existent files
6729
6730 2002-07-31  John Levon  <levon@movementarian.org>
6731
6732         * lyxserver.C: don't let incidental errors get
6733           in the way (errno)
6734
6735 2002-07-30  John Levon  <levon@movementarian.org>
6736
6737         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6738
6739 2002-07-30  John Levon  <levon@movementarian.org>
6740
6741         * lyxserver.h:
6742         * lyxserver.C: remove I/O callback too
6743
6744 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6745
6746         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6747         log.
6748
6749 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6750
6751         * many files: strip,frontStrip -> trim,ltrim,rtrim
6752
6753 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6754
6755         * PrinterParams.h: remove extern containsOnly, and include
6756         support/lstrings.h instead.
6757
6758         * LaTeX.C (scanAuxFile): modify because of strip changes
6759         (deplog): ditto
6760         * buffer.C (makeLaTeXFile): ditto
6761         * bufferparams.C (writeFile): ditt
6762         * lyxfont.C (stateText): ditto
6763         * lyxserver.C (read_ready): ditto
6764         * vc-backend.C (scanMaster): ditto
6765
6766         * BufferView_pimpl.h: ws changes
6767
6768         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6769
6770 2002-07-26  André Pönitz <poenitz@gmx.net>
6771
6772         * kb_sequence.C: remove unnedred usings
6773
6774 2002-07-26  Juergen Vigna  <jug@sad.it>
6775
6776         * lyxfind.C (LyXReplace): we have to check better if the returned
6777         text is not of theLockingInset()->getLockingInset().
6778
6779 2002-07-25  Juergen Vigna  <jug@sad.it>
6780
6781         * lyxfind.C (LyXReplace): don't replace if we don't get the
6782         right LyXText.
6783
6784         * undo_funcs.C (createUndo): remove debugging code.
6785
6786 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6787
6788         * buffer.C (parseSingleLyXformat2Token): Use default placement
6789         when reading old floats.
6790
6791         * FloatList.C (FloatList): Change the default placement of figure
6792         and tables to "tbp".
6793
6794 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6795
6796         * MenuBackend.C: using std::max
6797
6798 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6799
6800         * MenuBackend.C (expandToc):
6801         (expandToc2): code moved from xforms menu frontend. It is now
6802         generic and TOCs are transparent to menu frontends.
6803
6804 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6805
6806         * toc.C (getTocList): protect against buf=0
6807
6808         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6809         Menu as first parameter. Now, this calls itself recursively to
6810         expand a whole tree (this will be useful for TOC handling)
6811         (expandFloatInsert): remove 'wide' version of floats
6812
6813         * MenuBackend.h (submenuname): returns the name of the submenu.
6814         (submenu): returns the submenu itself, provided it has been
6815         created by MenuBackend::expand
6816
6817 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6818
6819         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6820         insets which have noFontChange == true. (bug #172)
6821
6822 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6823
6824         * BufferView_pimpl.C: add connection objects and use them...
6825         (Pimpl): here.
6826
6827 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6828
6829         * MenuBackend.C (expandLastfiles):
6830         (expandDocuments):
6831         (expandFormats):
6832         (expandFloatListInsert):
6833         (expandFloatInsert):
6834         (expand): split expand in parts
6835
6836 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6837
6838         * lyx_gui.C: use lyx_gui::exit()
6839
6840 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6841
6842         * LyXAction.C: show the failing pseudo action
6843
6844 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6845
6846         * buffer.C (readFile): Run the lyxconvert script in order to read
6847         old files.
6848
6849 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6850
6851         * LyXAction.C:
6852         * commandtags.h:
6853         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6854
6855 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6856
6857         * LyXAction.C:
6858         * commandtags.h:
6859         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6860
6861 2002-07-22  Herbert Voss  <voss@lyx.org>
6862
6863         * lengthcommon.C:
6864         * lyxlength.[Ch]: add support for the vertical lengths
6865
6866 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6867
6868         * toc.[Ch]: std:: fixes
6869
6870 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6871
6872         * lyxrc.C: do not include lyx_main.h
6873
6874         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6875         for layouts
6876
6877         * lyxrc.C:
6878         * encoding.C:
6879         * bufferlist.C:
6880         * BufferView2.C: include "lyxlex.h"
6881
6882         * tabular.h:
6883         * bufferparams.h: do not #include "lyxlex.h"
6884
6885         * lyxtextclasslist.C (Add): remove method
6886         (classlist): renamed to classlist_
6887
6888         * paragraph_pimpl.C:
6889         * paragraph.C:
6890         * text2.C:
6891         * CutAndPaste.C:
6892         * bufferview_funcs.C:
6893         * bufferlist.C:
6894         * text.C:
6895         * LaTeXFeatures.C:
6896         * buffer.C:
6897         * toc.C (getTocList): use BufferParams::getLyXTextClass
6898
6899         * toc.C (getTocList): use InsetFloat::addToToc
6900
6901         * toc.[Ch]: new files, containing helper functions to handle table
6902         of contents
6903
6904         * lyxfunc.C (dispatch): no need to remove spaces around command
6905         given as a string
6906         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6907         first command of the sequence; it is not very clever, but I do not
6908         have a better idea, actually
6909
6910         * LyXAction.C (LookupFunc): make sure to remove space at the
6911         beginning and end of the command
6912
6913 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6914
6915         * MenuBackend.C (getMenubar): new method: return the menubar of
6916         this menu set
6917         (read): treat differently reading of menu and menubar (in
6918         particular, the menubar has no name now)
6919         (Menu::menubar): remove
6920
6921         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6922         saving is finished
6923
6924 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6925
6926         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6927         a bibitem inset in a RTL paragraph.
6928
6929 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6930
6931         * paragraph_pimpl.C: constify
6932
6933         * BufferView_pimpl.C:
6934         * LaTeX.C:
6935         * lyxfunc.C: fix dispatch in a nicer way
6936
6937 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6938
6939         * lyxfunc.C (dispatch):
6940         * BufferView_pimpl.C:
6941         * BufferView_pimpl.h:
6942         * BufferView.C:
6943         * BufferView.h: rename Dispatch() to dispatch()
6944
6945         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6946
6947         * lyxlayout.C (Read): honor DependsOn tag
6948
6949         * lyxlayout.[Ch] (depends_on): new method
6950
6951         * version.C.in: update lyx_docversion
6952
6953         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6954
6955         * paragraph.C (validate): remove from here...
6956         * paragraph_pimpl.C (validate): ... and move here
6957         (isTextAt): make it const
6958
6959         * buffer.C (getLists): ws cleanup
6960
6961 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6962
6963         * language.C (read): Use iso8859-1 encoding in latex_lang
6964         (this prevents LyX from crashing when using iso10646-1 encoding).
6965
6966 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6967
6968         * text2.C (toggleInset): if cursor is inside an inset, close the
6969         inset and leave cursor _after_ it
6970
6971 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6972
6973         * lyxfunc.C: move minibuffer completion handling out of here
6974
6975 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6976
6977         * BufferView_pimpl.C:
6978         * LaTeX.C: fix dispatch calls
6979
6980 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6981
6982         * text.C (drawChars): Fix Arabic text rendering.
6983
6984 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6985
6986         * LyXAction.C:
6987         * commandtags.h:
6988         * lyxfunc.C: remove message-push/pop
6989
6990         * lyxserver.C:
6991         * lyxfunc.h:
6992         * lyxfunc.C: rationalise some code by removing verboseDispatch
6993           in favour of a bool argument to dispatch()
6994
6995 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6996
6997         * lyx_main.C (init): make sure to read symlinks as absolute paths
6998
6999 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7000
7001         * lyxfunc.h:
7002         * lyxfunc.C: no need for commandshortcut to be a member
7003
7004 2002-07-15  André Pönitz <poenitz@gmx.net>
7005
7006         * converter.C: add support for $$s (scripts from lib/scripts dir)
7007         * lyx_main.C: white space
7008
7009 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7010
7011         * bufferlist.C:
7012         * lyxrc.h:
7013         * lyxrc.C: remove second exit confirmation
7014
7015 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7016
7017         * BufferView.h:
7018         * BufferView.C:
7019         * BufferView2.C:
7020         * BufferView_pimpl.h:
7021         * BufferView_pimpl.C:
7022         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7023
7024 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7025
7026         * MenuBackend.C (expand): add numeric shortcuts to document menu
7027
7028         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7029
7030 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7031
7032         * lyxfont.C (setLyXFamily):
7033         (setLyXSeries):
7034         (setLyXShape):
7035         (setLyXSize):
7036         (setLyXMisc):
7037         (lyxRead):
7038         * debug.C (value):
7039         * buffer.C (asciiParagraph): use ascii_lowercase
7040
7041 2002-07-15  Mike Fabian  <mfabian@suse.de>
7042
7043         * lyxlex_pimpl.C (search_kw):
7044         * lyxlex.C (getLongString):
7045         * converter.h (operator<):
7046         * converter.C (operator<):
7047         * buffer.C (parseSingleLyXformat2Token):
7048         (asciiParagraph):
7049         * ToolbarDefaults.C (read):
7050         * MenuBackend.C (checkShortcuts):
7051         (read):
7052         * LColor.C (getFromGUIName):
7053         (getFromLyXName): use the compare_ascii_no_case instead of
7054         compare_no_case, because in turkish, 'i' is not the lowercase
7055         version of 'I', and thus turkish locale breaks parsing of tags.
7056
7057 2002-07-16  Angus Leeming  <leeming@lyx.org>
7058
7059         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7060         now takes a Buffer const & argument.
7061
7062 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7063
7064         * BufferView.C (resize): check there's a buffer to resize
7065
7066 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7067
7068         * lyxfunc.C: remove dead code
7069
7070         * lyxserver.h:
7071         * lyxserver.C: use lyx_guii::set_read_callback
7072
7073 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7074
7075         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7076         an inset in a RTL paragraph.
7077
7078 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7079
7080         * lyxfunc.C: repaint after a font size update
7081
7082 2002-07-15  André Pönitz <poenitz@gmx.net>
7083
7084         * lyxlength.C: inBP should be able to return negative values
7085
7086 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7087
7088         * lyxfunc.C: use lyx_gui::update_fonts()
7089
7090 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7091
7092         * lyxfunc.C: use lyx_gui::update_color()
7093
7094 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7095
7096         * bufferlist.C:
7097         * lyxfunc.h:
7098         * lyxfunc.C:
7099         * lyxrc.h:
7100         * lyxrc.C: remove file->new asks for name option, and let
7101           buffer-new take an argument
7102
7103 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7104
7105         * BufferView_pimpl.C: remove unneeded extra repaint()
7106
7107 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7108
7109         * LyXAction.C: allow command-sequence with NoBuffer
7110
7111         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7112
7113 2002-07-10  Angus Leeming  <leeming@lyx.org>
7114
7115         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7116
7117 2002-07-09  Angus Leeming  <leeming@lyx.org>
7118
7119         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7120
7121 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7122
7123         * lengthcommon.h: whitespace
7124
7125         * lyxfunc.C: update scrollbar after goto paragraph
7126
7127         * lyxtext.h: factor out page break drawing, and fix it so
7128           page break/added space paints as selected nicely
7129
7130 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7131
7132         * BufferView_pimpl.C: add FIXMEs, clean up a little
7133
7134 2002-07-09  André Pönitz <poenitz@gmx.net>
7135
7136         * lyxfont.[Ch]: support for wasy symbols
7137
7138 2002-07-08  André Pönitz <poenitz@gmx.net>
7139
7140         * BufferView_pimpl.C: apply John's patch for #93.
7141
7142 2002-07-05  Angus Leeming  <leeming@lyx.org>
7143
7144         * BufferView_pimpl.C (buffer): generate previews if desired.
7145
7146         * LColor.h: add "preview" to the color enum.
7147
7148         * LColor.C (LColor): add a corresponding entry to the items array.
7149
7150         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7151         with this buffer.
7152
7153 2002-07-05  Angus Leeming  <leeming@lyx.org>
7154
7155         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7156         The body of the code is now in the method that is passed an ostream &
7157         rather than a file name.
7158         Pass an additional only_preamble parameter, useful for the forthcoming
7159         preview stuff.
7160
7161 2002-07-03  André Pönitz <poenitz@gmx.net>
7162
7163         * lyxfunc.C: simplify getStatus() a bit for math stuff
7164
7165 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7166
7167         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7168
7169 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7170
7171         * text.C (changeRegionCase): do not change case of all the
7172         document when region ends at paragraph end (bug #461)
7173
7174 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7175
7176         * paragraph.C (startTeXParParams):
7177         (endTeXParParams): add \protect when necessary
7178
7179 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7180
7181         * BufferView_pimpl.C (workAreaExpose): remove warning
7182
7183 2002-06-27  Angus Leeming  <leeming@lyx.org>
7184
7185         * Makefile.am: add lyxlayout_ptr_fwd.h.
7186
7187 2002-06-26  André Pönitz <poenitz@gmx.net>
7188
7189         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7190
7191 2002-06-25  Angus Leeming  <leeming@lyx.org>
7192
7193         * lyxfunc.C (dispatch): Comment out the call to
7194         grfx::GCache::changeDisplay. The method no longer exists now that the
7195         pixmap generation part of the graphics loader has been moved into
7196         InsetGraphics.
7197
7198 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7199
7200         * text2.C: layout as layout
7201
7202         * text.C: layout as layout
7203
7204         * tabular.C (OldFormatRead): layout as layout
7205
7206         * paragraph_pimpl.C (TeXDeeper): layout as layout
7207         (realizeFont): layout as layout
7208
7209         * paragraph.C (writeFile): layout as layout
7210         (validate): layout as layout
7211         (getFont): layout as layout
7212         (getLabelFont): layout as layout
7213         (getLayoutFont): layout as layout
7214         (breakParagraph): layout as layout
7215         (stripLeadingSpaces): layout as layout
7216         (getEndLabel): layout as layout
7217         (getMaxDepthAfter): layout as layout
7218         (applyLayout): layout as layout
7219         (TeXOnePar): layout as layout
7220         (simpleTeXOnePar): layout as layout
7221         (TeXEnvironment): layout as layout
7222         (layout): layout as layout
7223         (layout): layout as layout
7224
7225         * lyxtextclass.C (compare_name): new functor to work with
7226         shared_ptr, layout as layout
7227         (Read): layout as layout
7228         (hasLayout): layout as layout
7229         (operator): layout as layout
7230         (delete_layout): layout as layout
7231         (defaultLayout): layout as layout
7232
7233         * lyxlayout_ptr_fwd.h: new file
7234
7235         * lyxlayout.C (Read): layout as layout
7236
7237         * lyx_cb.C (MenuInsertLabel): layout as layout
7238
7239         * bufferlist.C (newFile): layout as layout
7240
7241         * buffer.C (readLyXformat2): layout as layout
7242         (parseSingleLyXformat2Token): layout as layout
7243         (insertStringAsLines): layout as layout
7244         (asciiParagraph): layout as layout
7245         (latexParagraphs): layout as layout
7246         (makeLinuxDocFile): layout as layout
7247         (simpleLinuxDocOnePar): layout as layout
7248         (makeDocBookFile): layout as layout
7249         (simpleDocBookOnePar): layout as layout
7250         (getLists): layout as layout
7251
7252         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7253
7254         * CutAndPaste.C (cutSelection): layout as layout
7255         (pasteSelection): layout as layout
7256         (SwitchLayoutsBetweenClasses): layout as layout
7257
7258         * BufferView_pimpl.C (Dispatch): layout as layout
7259         (smartQuote): layout as layout
7260
7261         * BufferView2.C (unlockInset): layout as layout
7262
7263 2002-06-24  André Pönitz <poenitz@gmx.net>
7264
7265         * lyxfunc.C: fix #487
7266
7267 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7268
7269         * lyxrc.h:
7270         * lyxrc.C:
7271         * lyxfunc.C: remove display_shortcuts, show_banner
7272
7273 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7274
7275         * Buffer_pimpl.C: oops, update on resize
7276
7277 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7278
7279         * buffer.C:
7280         * converter.C:
7281         * exporter.C:
7282         * lyxfunc.C:
7283         * BufferView.h:
7284         * BufferView.C: use repaint()
7285
7286         * BufferView_pimpl.h:
7287         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7288           as it's a clearer description. Remove superfluous
7289           redraws.
7290
7291 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7292
7293         * text.C: fix bug 488. Not ideal, but getting
7294           getWord() to work properly for the insets that
7295           matter is more difficult ...
7296
7297 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7298
7299         * BufferView_pimpl.C:
7300         * LyXAction.C:
7301         * commandtags.h:
7302         * lyxfunc.C: remove the six million index lyxfuncs to just
7303           one, and DTRT (bug 458)
7304
7305 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7306
7307         * BufferView.h:
7308         * BufferView.C:
7309         * BufferView_pimpl.h:
7310         * BufferView_pimpl.C: clean up resize() stuff,
7311           and unnecessary updateScreen()s
7312
7313 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7314
7315         * BufferView.h:
7316         * BufferView.C:
7317         * BufferView_pimpl.h:
7318         * BufferView_pimpl.C:
7319         * lyxfind.h:
7320         * lyxfind.C:
7321         * minibuffer.C: remove focus management of workarea,
7322           not needed. Use screen's greyOut()
7323
7324 2002-06-17  Herbert Voss  <voss@lyx.org>
7325
7326         * converter.C: (convert) do not post a message, when converting
7327         fails, let the calling function decide what to do in this case
7328
7329 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7330
7331         * lyxfunc.C: tidy up a little
7332
7333 2002-06-16    <alstrup@diku.dk>
7334
7335         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7336         Got rid of FORMS_H_LOCATION include. Now we are
7337         GUII.
7338
7339 2002-06-15  LyX Development team  <lyx@rilke>
7340
7341         * buffer.[Ch] (sgmlOpenTag):
7342         (sgmlCloseTag): Added support for avoiding pernicious mixed
7343         content. Return number of lines written.
7344
7345         (makeLinuxDocFile):
7346         (makeDocBookFile): Fixed calls to sgml*Tag.
7347         Simple white space clean.
7348
7349         (simpleDocBookOnePar): Simple white space clean.
7350
7351         * tabular.[Ch] (docBook): Renamed to docbook and got another
7352         argument to related with the pernicious mixed content.
7353
7354         (docbookRow): Fixed calls for docbook inset method.
7355
7356 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7357
7358         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7359         so it's X11 independent.
7360
7361         * kb*.[Ch]: ditto.
7362
7363         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7364
7365 2002-06-15  Lyx Development team  <lyx@electronia>
7366
7367         * intl.h: Renamed getTrans to getTransManager.
7368
7369 2002-06-14  Angus Leeming  <leeming@lyx.org>
7370
7371         * Makefile.am: nuke forgotten stl_string_fwd.h.
7372
7373 2002-06-12  Angus Leeming  <leeming@lyx.org>
7374
7375         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7376
7377 2002-06-13  Angus Leeming  <leeming@lyx.org>
7378
7379         * LaTeX.C:
7380         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7381
7382 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7383
7384         * kbmap.C (getiso): add support for cyrillic and greek
7385
7386 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7387
7388         * BufferView.h:
7389         * BufferView.C:
7390         * BufferView_pimpl.h:
7391         * BufferView_pimpl.C: move bogus scrolling logic
7392           to xforms
7393
7394 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7395
7396         * lyxfunc.C:
7397         * BufferView_pimpl.C: view->resize() change
7398
7399 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7400
7401         * BufferView_pimpl.C: topCursorVisible
7402           prototype change
7403
7404 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7405
7406         * Makefile.am:
7407         * lyx_gui.h:
7408         * lyx_gui.C: move to frontends/
7409
7410         * main.C:
7411         * lyx_main.h:
7412         * lyx_main.C: changes from above
7413
7414 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7415
7416         * intl.C:
7417         * intl.h:
7418         * kbmap.C:
7419         * kbsequence.C:
7420         * lyx_cb.C:
7421         * lyx_main.C: minor tidy
7422
7423 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7424
7425         * BufferView_pimpl.h:
7426         * BufferView_pimpl.C:
7427         * BufferView.h:
7428         * BufferView.C: make painter() const,
7429           remove dead code
7430
7431         * BufferView2.C: use screen() accessor
7432
7433         * lyx_main.h:
7434         * lyx_main.C: some minor cleanup
7435
7436 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7437
7438         * BufferView_pimpl.h:
7439         * BufferView_pimpl.C: remove enter/leaveView,
7440           use workHeight()
7441
7442 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7443
7444         * BufferView.h:
7445         * BufferView.C:
7446         * BufferView2.C:
7447         * BufferView_pimpl.h:
7448         * BufferView_pimpl.C: only construct screen once,
7449           rename
7450
7451         * lyxrc.C: remove pointless comment
7452
7453 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7454
7455         * BufferView.h:
7456         * BufferView.C: remove active() and belowMouse()
7457
7458         * BufferView_pimpl.h:
7459         * BufferView_pimpl.C: use workarea() not workarea_,
7460           and make it use a scoped_ptr instead
7461
7462 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7463
7464         * lyx_gui.C: add debug message on BadWindow
7465
7466 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7467
7468         * sp_spell.C: fdopen is not part of the C++ standard.
7469
7470         * paragraph.C (InsetIterator): use >= instead of ==
7471
7472 2002-06-07  Angus Leeming  <leeming@lyx.org>
7473
7474         Fixes needed to compile with Compaq cxx 6.5.
7475         * BufferView_pimpl.C:
7476         * DepTable.C:
7477         * buffer.C:
7478         * converter.C:
7479         * encoding.C:
7480         * lyx_gui.C:
7481         * lyx_main.C:
7482         * lyxtextclasslist.C:
7483         * minibuffer.C:
7484         * sp_spell.C:
7485         * tabular_funcs.C:
7486         * vc-backend.C:
7487         all c-library variables have been moved into namespace std. Wrap
7488         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7489
7490         * lyxlength.C:
7491         * tabular-old.C:
7492         * tabular.C:
7493         Add a using std::abs declaration.
7494
7495         * kbmap.h (modifier_pair):
7496         * paragraph.h (InsetTable, InsetList):
7497         * lyxfont.h (FontBits):
7498         type definition made public.
7499
7500         * bufferlist.C (emergencyWriteAll): the compiler complains that
7501         there is more than one possible lyx::class_fun template to choose from.
7502         I re-named the void specialisation as lyx::void_class_fun.
7503
7504         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7505
7506         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7507         the compiler is is unable to find tostr in write_attribute.
7508
7509 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7510
7511         * buffer.C (sgmlError): hide #warning
7512
7513 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7514
7515         * xtl/*: get rid of xtl, which is not in use anyway
7516
7517         * LyXAction.C (init):
7518         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7519         were unimplemented xtl experimentation
7520
7521 2002-06-04  André Pönitz <poenitz@gmx.net>
7522
7523         * lyxfunc.C: disable array operation on simple formulae
7524
7525 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7526
7527         * converter.C: constify a bit
7528
7529 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7530
7531         * lyx_gui.C: check xforms version correctly
7532
7533 2002-04-30  Herbert Voss  <voss@lyx.org>
7534
7535         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7536         "keep" option
7537
7538 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7539
7540         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7541           attempt to register it with a VCS)
7542
7543 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7544
7545         * lyx_main.C (init): honor variables LYX_DIR_13x and
7546         LYX_USERDIR_13x
7547
7548 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7549
7550         * buffer.h:
7551         * buffer.C:
7552         * lyx_main.C: fix a crash on bad command line,
7553           and give a useful exit status on error
7554
7555         * lyxfunc.C (doImport): allow -i lyx to work
7556
7557 2002-03-30  André Pönitz <poenitz@gmx.net>
7558
7559         * lyxfunc.C: mathed font changes
7560
7561 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7562
7563         * LaTeX.C:
7564         * importer.h:
7565         * importer.C:
7566         * lyx_sty.h:
7567         * lyx_sty.C:
7568         * lyxlex.C:
7569         * lyxrow.h:
7570         * lyxtext.h:
7571         * paragraph.h:
7572         * paragraph.C:
7573         * texrow.h:
7574         * texrow.C:
7575         * text.C:
7576         * trans_mgr.h: srcdocs, and some minor cleanups
7577
7578 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7579
7580         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7581         call getFont all the time)
7582
7583 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7584
7585         * switch from SigC signals to boost::signals
7586
7587 2002-05-29  André Pönitz <poenitz@gmx.net>
7588
7589         * paragraph_pimpl.C (getChar): don't call size() too often...
7590
7591 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7592
7593         * paragraph_pimpl.C (insertChar): do not try to update tables when
7594         appending (pos == size())
7595
7596         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7597         in order to reduce drastically the number of comparisons needed to
7598         parse a large document
7599
7600 2002-05-29  André Pönitz <poenitz@gmx.net>
7601
7602         * text.C:
7603         * text2.C:
7604         * lyxtextclass.C:
7605         * sp_pspell.h:
7606         * textclasslist.[Ch]:
7607         * sp_ispell.h: whitespace change
7608
7609 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7610
7611         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7612         lyxaction directly now.
7613
7614 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7615
7616         * trans.C:
7617         * lyxfont.C:
7618         * lyxvc.C: remove unused headers
7619
7620 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7621
7622         * Makefile.am:
7623         * buffer.h:
7624         * undostack.h:
7625         * undostack.C:
7626         * undo_funcs.h:
7627         * undo_funcs.C: some cleanups. Use shared_ptr
7628           and a template for the undo stacks.
7629
7630 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7631
7632         * BufferView_pimpl.h:
7633         * BufferView_pimpl.C:
7634         * kbmap.h:
7635         * kbmap.C:
7636         * kbsequence.h:
7637         * kbsequence.C:
7638         * lyxfunc.h:
7639         * lyxfunc.C:
7640         * text2.C: use key_state/mouse_state
7641
7642 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7643
7644         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7645         and LSubstring
7646
7647         * chset.C: change include order
7648         (loadFile): use boost regex and get rid of LRegex and LSubstring
7649
7650         * Makefile.am (BOOST_LIBS): new variable
7651         (lyx_LDADD): use it
7652
7653         * LaTeX.C: change include order.
7654         (scanAuxFile): use boost regex and get rid of LRegex and
7655         LSubstring
7656         (deplog): ditto
7657
7658 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7659
7660         * ColorHandler.h:
7661         * ColorHandler.C:
7662         * FontInfo.h:
7663         * FontInfo.C: moved to frontends/xforms/
7664
7665         * FontLoader.h:
7666         * FontLoader.C: moved into frontends for GUIIzation
7667
7668         * Makefile.am:
7669         * lyx_gui.C:
7670         * lyxfont.C:
7671         * lyxfunc.C: changes from above
7672
7673 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7674
7675         * LColor.C: remove spurious X include
7676
7677         * BufferView_pimpl.C:
7678         * Makefile.am:
7679         * font.h:
7680         * font.C:
7681         * text.C:
7682         * text2.C: move font metrics to frontends/
7683
7684 2002-05-24  Juergen Vigna  <jug@sad.it>
7685
7686         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7687         setting the undo_cursor.
7688
7689         * ParagraphParameters.h: include local includes first.
7690
7691 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7692
7693         * BufferView_pimpl.C:
7694         * BufferView_pimpl.h:
7695         * Makefile.am:
7696         * WorkArea.h:
7697         * WorkArea.C:
7698         * screen.C: move WorkArea into frontends/
7699
7700         * lyxscreen.h:
7701         * screen.C:
7702         * text.C:
7703         * BufferView.C:
7704         * BufferView2.C: move LyXScreen into frontends/
7705
7706         * lyxlookup.h:
7707         * lyxlookup.C:
7708         * lyx_gui.C: move lyxlookup into frontends/xforms/
7709
7710 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7711
7712         * BufferView2.C:
7713         * BufferView_pimpl.C:
7714         * FontLoader.C:
7715         * LyXView.h:
7716         * LyXView.C:
7717         * Makefile.am:
7718         * WorkArea.C:
7719         * XFormsView.h:
7720         * XFormsView.C:
7721         * buffer.C:
7722         * bufferlist.C:
7723         * bufferview_funcs.C:
7724         * converter.C:
7725         * importer.C:
7726         * lyx_cb.C:
7727         * lyx_gui.C:
7728         * lyx_main.C:
7729         * lyx_find.C:
7730         * lyxfunc.C:
7731         * lyxvc.C:
7732         * minibuffer.C:
7733         * text.C:
7734         * text2.C:
7735         * trans.C:
7736         * vc-backend.C: move LyX/XFormsView into frontends/
7737
7738 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7739
7740         * Makefile.am:
7741         * PainterBase.C:
7742         * PainterBase.h:
7743         * Painter.C:
7744         * Painter.h:
7745         * WorkArea.C:
7746         * WorkArea.h:
7747         * screen.C:
7748         * tabular.C:
7749         * text.C:
7750         * text2.C: move Painter to frontends/
7751
7752 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7753
7754         * buffer.C: comment out some some code that depend upon lyx_format
7755         < 220
7756
7757         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7758         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7759
7760         * buffer.h (NO_COMPABILITY): turn off compability
7761
7762         * ColorHandler.C: include scoped_array.hpp
7763
7764         * font.C: Use more specific smart_ptr header.
7765         * Painter.C: ditto
7766         * gettext.C: ditto
7767         * ShareContainer.h: ditto
7768         * lyx_main.h: ditto
7769         * kbmap.h: ditto
7770         * FontInfo.h: ditto
7771         * BufferView_pimpl.h: ditto
7772         * ColorHandler.h: ditto
7773
7774         * kbmap.C (defkey): change call to shared_ptr::reset
7775
7776 2002-05-21  Juergen Vigna  <jug@sad.it>
7777
7778         * buffer.C (insertErtContents): fix to insert ert asis if it is
7779         non empty. Skip it completely if it contains only whitespaces.
7780
7781 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7782
7783         * BufferView_pimpl.C:
7784         * BufferView2.C: clear selection on paste (bug 393)
7785
7786 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7787
7788         * DepTable.C: include ctime
7789
7790 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7791
7792         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7793
7794 2002-05-14  Juergen Vigna  <jug@sad.it>
7795
7796         * text.C (breakParagraph): fixed function to honor the keepempty
7797         layout in the right maner and also to permit the right breaking
7798         algorithm on empty or non empyt keepempty paragraphs.
7799
7800         * paragraph.C (breakParagraph): we have to check also if the par
7801         is really empty (!size()) for isempty otherwise we do the wrong
7802         paragraph break.
7803
7804 2002-05-10  Juergen Vigna  <jug@sad.it>
7805
7806         * buffer.[Ch] : The following are only changes to the ert
7807         compatibility read reading old LaTeX layout and font stuff and
7808         convert it to ERTInsets.
7809
7810         * buffer.h: added isErtInset().
7811
7812         * buffer.C (struct ErtComp): add a fromlayout bool to check
7813         if we're inside a LaTeX layout.
7814         (isErtInset): new helper function.
7815         (insertErtContents): look for other ert insets before this one
7816         and insert the contents there, so that we don't have subsequent
7817         ERT insets with nothing between them. This way we create only one
7818         inset with multiple paragraphs. Also check if we don't insert only
7819         spaces ' ' as they are ignored anyway afterwards in the .tex file
7820         so if we have only spaces we will ignore this latex part in the
7821         new file.
7822         (parseSingleLyXformat2Token \\layout): better compatibility when
7823         reading layout-latex stuff.
7824         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7825         language tag.
7826         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7827         stuff after reading the inset only get the information back from
7828         the stack.
7829
7830 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7831
7832         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7833
7834         * LaTeXFeatures.C (getBabelOptions): New method.
7835
7836 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7837
7838         * BufferView_pimpl.C (Dispatch): work around missing argument for
7839         'layout'
7840
7841 2002-05-08  Juergen Vigna  <jug@sad.it>
7842
7843         * text.C (leftMargin): handle paragraph leftindent.
7844
7845         * paragraph.C (writeFile): write the new \\leftindent tag.
7846         (validate): handle leftindent code.
7847         (TeXEnvironment): handle paragraphleftindent code again.
7848
7849         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7850
7851         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7852         for paragrap_extra indent code and new token \\leftindent.
7853         (latexParagraphs): handle the leftindent as environment.
7854
7855         * ParameterStruct.h: added leftindent support.
7856
7857         * ParagraphParameters.C (leftIndent): added support functions for
7858         the paragraph left indent.
7859
7860         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7861         more appropriate.
7862
7863 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7864
7865         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7866         inside insetERT.
7867
7868         * text.C (computeBidiTables): No bidi in insetERT.
7869
7870         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7871         in RTL documents.
7872
7873 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7874
7875         * version.C.in: pre 5
7876
7877 2002-05-02  José Matos  <jamatos@fep.up.pt>
7878         * buffer.C (makeDocBookFile): white space changes, add newline to
7879         command styles.
7880         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7881
7882         * tabular.C (docBook): fix typo.
7883
7884 2002-05-03  Juergen Vigna  <jug@sad.it>
7885
7886         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7887         change in LyXText as we can not be sure it was not freed.
7888         (drawOneRow): remove unused code.
7889
7890         * text.C (drawInset): redo the calculation of the need_break_row as
7891         it could have a row which was already freed.
7892         (draw): look at the return value of drawInset and return false if
7893         it also returned false.
7894         (paintRowText): look at the return value of draw and return false if
7895         it also returned false.
7896
7897         * lyxtext.h: added bool return type to drawInset() and draw() so that
7898         if we have a change in the row so that the rowbreak has to be redone
7899         we abort drawing as it will be called again.
7900
7901 2002-05-02  Juergen Vigna  <jug@sad.it>
7902
7903         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7904         a change in the maintext also if we're inside an inset.
7905         (Dispatch): set the cursor again after a break line and after the
7906         screen has been updated as it could be we're in a different row.
7907
7908         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7909         to set the cursor behind the pargraph with > size().
7910         (setCursor): check also for the same paragraph when checking where
7911         to put the cursor if we have a NFR inset.
7912
7913         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7914         parts of layout read further up as it still was in the wrong
7915         position.
7916
7917 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7918
7919         * screen.C (drawFromTo): change sine fullRebreak always return
7920         true.
7921
7922         * buffer.C (parseSingleLyXformat2Token): reindent some
7923
7924         * BufferView_pimpl.C (update): change since fullRebreak always
7925         return true.
7926         (Dispatch): git rid of the last hardcoded "Standard"s.
7927
7928 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7929
7930         * text2.[Ch] (fullRebreak): make it return void now that we always
7931         returned true.
7932
7933 2002-04-30  Juergen Vigna  <jug@sad.it>
7934
7935         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7936         ert compatibility check for "latex" layout.
7937
7938 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7939
7940         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7941         minipages: use col% instead of p%, and also use the current font.
7942         (makeLaTeXFile): Fix use babel condition.
7943         (parseSingleLyXformat2Token): Correct font when reading old floats.
7944
7945 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7946
7947         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7948         inserting list of floats.
7949
7950 2002-04-25  Herbert Voss  <voss@lyx.org>
7951
7952         * MenuBackend.C (expand): don't add the graphics extensions to the
7953         export menu
7954
7955 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7956
7957         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7958         non-existing layout, do not complain if it was the default layout
7959         of the original class (bug #342)
7960
7961 2002-04-24  Juergen Vigna  <jug@sad.it>
7962
7963         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7964         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7965
7966 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7967
7968         * buffer.C (getBibkeyList): If using \bibliography, return the
7969         option field with the reference itself. Enables us to provide natbib
7970         support when using \bibliography.
7971
7972 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7973
7974         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7975
7976         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7977         natbib is provided by the LaTeX class.
7978
7979 2002-04-23  Juergen Vigna  <jug@sad.it>
7980
7981         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7982         Wakeup functions.
7983
7984         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7985
7986 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7987
7988         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7989
7990         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7991         ensuremath around textordmasculine, textordfeminine and
7992         textdegree.
7993
7994 2002-04-19  Juergen Vigna  <jug@sad.it>
7995
7996         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7997         reinitializing the buffer otherwise row-dimensions may be wrong.
7998         (update): reset also the selection cursors if they do exits otherwise
7999         their x/y positions may be wrong.
8000
8001         * text2.C (cursorDown): don't enter the inset if we came from a row
8002         above and are one row over the inset.
8003
8004         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8005         really leaving an inset.
8006
8007 2002-04-18  Juergen Vigna  <jug@sad.it>
8008
8009         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8010         of the selected paragraph does not have the selected layout also if
8011         the last one had!
8012
8013         * text2.C (setLayout): fixed bug which did not change last selected
8014         paragraph.
8015
8016         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8017         changed the read and substituted \\end_float with \\end_inset!
8018
8019         * BufferView_pimpl.C (cursorPrevious):
8020         (cursorNext): fixed to make it work with rows heigher than the work
8021         area without moving the cursor only the draw of the row.
8022         (workAreaMotionNotify): fix jumping over high rows.
8023
8024 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8025
8026         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8027         Ressler.
8028
8029 2002-04-16  Juergen Vigna  <jug@sad.it>
8030
8031         * text2.C (setCursor): set also the irow().
8032         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8033         (cursorUp):
8034         (cursorDown): support for locking an inset if the x_fix value goes
8035         inside it. That way I can transverse insets too with cursor up/down.
8036
8037         * lyxrow.h: added irow helper function same as other (i) functions.
8038
8039         * BufferView_pimpl.C (cursorPrevious):
8040         (cursorNext): fixed for insets!
8041
8042 2002-04-15  Juergen Vigna  <jug@sad.it>
8043
8044         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8045         position otherwise it is wrong in some cases.
8046
8047         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8048         inside the inset before the call.
8049
8050 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8051
8052         * buffer.[Ch] (getBibkeyList): make it const.
8053
8054 2002-04-12  Juergen Vigna  <jug@sad.it>
8055
8056         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8057
8058         * text2.C (getCursorX): new helper function
8059         (setCursor): compute also ix_
8060         (setCursorFromCoordinates): set also ix.
8061
8062         * lyxcursor.h: added ix_ and helper functions.
8063
8064         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8065
8066         * buffer.C (insertStringAsLines): dont break paragraph if the this
8067         paragraph is inside an inset which does not permit it!
8068
8069         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8070         also with no chars on this paragraph.
8071         (paintRowText): only paint stuff if it's inside the workarea!
8072
8073         * paragraph.C (breakParagraph): honor keepempty flag and break the
8074         paragraph always below not above.
8075
8076         * BufferView2.C (unlockInset): update the paragraph layout on inset
8077         unlock as we changed paragraph in such a case.
8078
8079         * lyxfind.C (LyXFind): clear the former selection if not found!
8080
8081         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8082         again called in insertChar().
8083
8084         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8085         an inset which uses the whole row!
8086         (rightMargin): ditto.
8087         (insertChar): force a rebreak if we inserted an inset!
8088
8089 2002-03-28  Herbert Voss  <voss@lyx.org>
8090
8091         * lyxlength.[Ch]: add inBP() to get the right PS-point
8092         units (BigPoint). With inPixels we have rounding errors
8093
8094 2002-04-11  Juergen Vigna  <jug@sad.it>
8095
8096         * text2.C (setCursorFromCoordinates): set iy to the right value.
8097         (setCursor): add check if row->previous exists!
8098
8099         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8100         an old float_type as this was the case in the old code!
8101
8102         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8103
8104         * BufferView2.C (showLockedInsetCursor): use iy
8105         (fitLockedInsetCursor): ditto
8106
8107         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8108         locked insets as there we have the right value now.
8109
8110         * lyxcursor.C: added iy_ variable and iy functions to set to the
8111         baseline of cursor-y of the locked inset.
8112
8113         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8114         (setCursor): fixed for insets which need a full row.
8115
8116         * text.C (rowLastPrintable): don't ignore the last space when before
8117         an inset which needs a full row.
8118         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8119         as last character of a row when before a inset which needs a full row.
8120
8121 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8122
8123         * version.C.in: update date
8124
8125         * text2.C (fullRebreak): try to always return true and see what
8126         happens...
8127
8128 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8129
8130         * MenuBackend.C (expand): use Floating::listName
8131
8132         * FloatList.C (FloatList): add listName argument to the built-in
8133         floats
8134
8135         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8136         text associated with the float.
8137
8138 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8139
8140         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8141
8142 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8143
8144         * ShareContainer.h: add a couple of missing typenames.
8145
8146 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8147
8148         * lyxrc.C (getDescription): use _() correctly rather than N_().
8149
8150 2002-03-28  Herbert Voss  <voss@lyx.org>
8151
8152         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8153         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8154
8155 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8156
8157         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8158         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8159
8160 2002-03-29  Juergen Vigna  <jug@sad.it>
8161
8162         * lyxfunc.C (dispatch): add a missing fitCursor call.
8163
8164         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8165         it was scrolled by a cursor move, so return the bool status.
8166
8167         * BufferView.C (fitCursor): return the bool flag also to the outside
8168         world as this is needed.
8169
8170         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8171
8172         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8173         call the edit() as it is not needed (and wrong) IMO.
8174         (workAreaButtonPress): set the screen_first variable before evt.
8175         unlock the inset as this may change screen_first and then we have
8176         a wrong y position for the click!
8177
8178 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8179
8180         * MenuBackend.C (expand): another translation that I missed
8181
8182 2002-03-28  Juergen Vigna  <jug@sad.it>
8183
8184         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8185
8186         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8187
8188 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8189
8190         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8191
8192         * MenuBackend.C (expand): fix export/view/update when there is no
8193         document open.
8194
8195 2002-03-27  Herbert Voss  <voss@lyx.org>
8196
8197         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8198         and text%
8199
8200 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8201
8202         * bufferview_funcs.C (currentState): only show paragraph number
8203         for is DEVEL_VERSION is set.
8204
8205         * lyxfunc.C (dispatch): put warning in INFO channel
8206
8207         * MenuBackend.C (expand): translate the name of floats
8208
8209         * FloatList.C (FloatList): mark the float names for translation
8210
8211         * converter.C (convert): use LibScriptSearch
8212
8213 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8214
8215         * MenuBackend.C (defaults): fix default menu (we might as well get
8216         rid of it...)
8217
8218 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8219
8220         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8221         directory.
8222
8223 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8224
8225         * lyxvc.C: reorder includes.
8226
8227 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8228
8229         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8230           properly
8231
8232 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8233
8234         * CutAndPaste.C: change layouts earlier on paste
8235           to avoid crashing when calling getFont()
8236
8237 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8238
8239         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8240         irritating #error.
8241
8242 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8243
8244         * WorkArea.C: remove 'Pending' debug message.
8245
8246         * most files: ws cleanup
8247
8248         * buffer.[Ch]: ws changes
8249
8250         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8251
8252 2002-03-21  Juergen Vigna  <jug@sad.it>
8253
8254         * tabular.C (SetMultiColumn): collapse also the contents of the
8255         cells and set the last border right. Added a Buffer const * param.
8256
8257 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8258
8259         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8260         linking or not.
8261
8262 2002-03-19  Juergen Vigna  <jug@sad.it>
8263
8264         * text2.C (clearSelection): reset also xsel_cache.
8265
8266         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8267         where it needs to be called (John tells us to do so too :)
8268         (selectionLost): reset sel_cache.
8269
8270         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8271
8272 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8273
8274         * text2.C (setCursorIntern): put debuging code in INSETS channel
8275
8276 2002-03-19  André Pönitz <poenitz@gmx.net>
8277
8278         * lyxfunc.C: tiny whitespace change
8279
8280 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8281
8282         * ToolbarDefaults.C (init):
8283         * LyXAction.C (init):
8284         * commandtags.h:
8285         * BufferView_pimpl.C (Dispatch):
8286         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8287
8288 2002-03-19  Allan Rae  <rae@lyx.org>
8289
8290         * exporter.C (Export): removeAutoInsets before doing anything else.
8291         While I've just introduced a dependency on BufferView this really is
8292         the best place to clean the buffer otherwise you need to cleanup in
8293         a dozen places before calling export or cleanup in a dozen functions
8294         that export calls.
8295
8296         * converter.C (runLaTeX):
8297         (scanLog): Better handling of removeAutoInsets and screen updates.
8298
8299         * lyxfunc.C (dispatch): small whitespace changes
8300
8301 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8302
8303         * WorkArea.C (C_WorkAreaEvent): return a value.
8304         (event_cb): return 1 if we handled the event, 0 otherwise.
8305
8306         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8307
8308 2002-03-18  Juergen Vigna  <jug@sad.it>
8309
8310         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8311         (GetAdditionalWidth): ditto.
8312         (RightLine): ditto.
8313         (LeftLine): ditto.
8314
8315         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8316         inset if we're there actually (probably not used right now but this
8317         is the direction to go for unifying code).
8318         (paste): disable code to clear the selection.
8319
8320         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8321         inside an InsetText and move the check further up as it is in the
8322         wrong place.
8323
8324         * text2.C (pasteSelection): set a selection over the pasted text.
8325
8326 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8327
8328         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8329         and libgraphics to build on Cygwin.
8330
8331 2002-03-15  Juergen Vigna  <jug@sad.it>
8332
8333         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8334         inserting an Inset into the paragraph. I know this is not the best
8335         fix but we already use current_view in CutAndPaste so we will remove
8336         all of it's using at the same time.
8337
8338         * buffer.C (sgmlError): deactivated function till it is rewritten in
8339         the right mode, now it can create problems.
8340
8341         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8342         before accessing it.
8343
8344 2002-03-14  Juergen Vigna  <jug@sad.it>
8345
8346         * undo_funcs.C (textHandleUndo): do the right thing when updating
8347         the inset after the undo/redo.
8348
8349         * text2.C (setCursor): just some testcode for #44 not ready yet.
8350
8351         * undo_funcs.C (textHandleUndo): set the next() and previous()
8352         pointers of the paragraph to 0 before deleting otherwise we have
8353         problems with the Paragraph::[destructor].
8354
8355         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8356         on a paragraph insertion.
8357
8358 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8359
8360         * buffer.C (asciiParagraph): use += operator for char append to
8361         string.
8362
8363         * paragraph.C (getFontSettings): compare >= not just >
8364         (highestFontInRange): ditto
8365         (setFont): ditto
8366
8367 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8368
8369         * paragraph.C: change several algorithm to be more appripriate for
8370         the problem domain. This is lookip in FontList and in the InsetList.
8371
8372 2002-03-13  André Pönitz <poenitz@gmx.net>
8373
8374         * commandtags.h:
8375         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8376
8377 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8378
8379         * commandtags.h:
8380         * LyXAction.C:
8381         * lyxfunc.C:
8382         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8383
8384 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8385
8386         * Painter.C (display): anon helper function, adjust code for this
8387         change.
8388         (pixmap): remove function.
8389
8390         * Painter.h: remove private display variable.
8391
8392         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8393
8394 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8395
8396         * WorkArea.[Ch]: remove figinset_canvas cruft.
8397
8398 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8399
8400         * lyxtextclass.C (operator): add one item cache optimization.
8401
8402         * bufferlist.h: doxy changes
8403
8404         * bufferlist.C: ws changes
8405
8406         * DepTable.[Ch] (ext_exist): place const in the right spot.
8407
8408         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8409         call resizeInsets.
8410         (workAreaExpose): call resizeInsets when the with BufferView changes.
8411         (Dispatch): adjust for protectedBlank removal
8412         (specialChar): call updateInset if the insert went ok.
8413
8414         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8415         specialChar instead.
8416
8417         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8418
8419         * BufferView.h: doxy change
8420
8421         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8422
8423         * lyxtextclass.C (operator[]): remove non-const version
8424         (defaultLayout): remove non-const version
8425
8426 2002-03-12  Juergen Vigna  <jug@sad.it>
8427
8428         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8429         did resize the LyXText too.
8430
8431         * buffer.C (readLyXformat2): set layout information on newly allocated
8432         paragraphs.
8433
8434         * tabular.C (OldFormatRead): set layout information on the paragraph.
8435
8436 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8437
8438         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8439
8440 2002-03-11  Juergen Vigna  <jug@sad.it>
8441
8442         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8443         plainly wrong.
8444         (resizeCurrentBuffer): force also the insets to resize themselfes.
8445         (moveCursorUpdate): fixed up for InsetText.
8446
8447 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8448
8449         * commandtags.h:
8450         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8451         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8452         value of Dialogs::tooltipsEnabled().
8453         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8454
8455 2002-03-08  Juergen Vigna  <jug@sad.it>
8456
8457         * BufferView_pimpl.C (updateInset): update inset inside inset also
8458         if it isn't inside theLockingInset().
8459
8460 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8461
8462         * buffer.C (asciiParagraph): redo some of the word and line length
8463         handling.
8464         (getLists): look for Caption instead of caption.
8465
8466 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8467
8468         * buffer.C (Buffer): initialize niceFile to true
8469         (makeLaTeXFile):
8470         (makeLinuxDocFile):
8471         (makeDocBookFile): make sure niceFile is true on exit
8472
8473 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8474
8475         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8476
8477 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8478
8479         * LyXSendto.C: remove.
8480         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8481         * lyx_gui.C: remove now-redundant comment.
8482         * ColorHandler.h: remove forward declaration of class WorkArea.
8483         * lyxfunc.C: remove #include "WorkArea.h".
8484
8485 2002-03-07  Juergen Vigna  <jug@sad.it>
8486
8487         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8488         got moved away with the DEPM and also set the inset_owner always
8489         right which before could have been omitted.
8490
8491 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8492
8493         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8494         wanted layout is not found.
8495
8496 2002-03-07  Juergen Vigna  <jug@sad.it>
8497
8498         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8499
8500 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8501
8502         * paragraph.C (breakParagraph): use default layout not layout of
8503         prev paragraph.
8504         (Paragraph): clear ParagraphParameters.
8505
8506 2002-03-06  Juergen Vigna  <jug@sad.it>
8507
8508         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8509         otherwise it would not be a valid lenght. Fixed a special case in
8510         the minipage compatibility read where we end the document with a
8511         minipage.
8512
8513         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8514         was set as it could be 0 for InsetTexts first entry.
8515
8516 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8517
8518         * paragraph.C (writeFile): if layout is empty write out
8519         defaultLayoutName().
8520
8521         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8522         file without named layout we set layout to defaultLayoutName().
8523
8524 2002-03-06  Juergen Vigna  <jug@sad.it>
8525
8526         * CutAndPaste.C (copySelection): set layout for new paragraph.
8527
8528         * text.C (prepareToPrint): leave ERT inset left aligned
8529         (leftMargin): don't indent paragraphs inside ERT insets
8530
8531 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8532
8533         * paragraph.C (breakParagraph): dont call clear do the work manually
8534
8535         * paragraph.[Ch] (clear): remove function
8536
8537 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8538
8539         * paragraph.C (Paragraph): dont call clear, the work has already
8540         been done.
8541
8542         * lyxtextclass.C (operator): assert if n is empty
8543
8544         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8545         work manually instead.
8546
8547 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8548
8549         * BufferView_pimpl.C: protect selectionLost against text == 0
8550
8551 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8552
8553         * text.C (breakParagraph): fix a setting layout to '0' problem.
8554
8555 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8556
8557         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8558         final location of file, for the included files, and graphics.
8559
8560 2002-03-05  Juergen Vigna  <jug@sad.it>
8561
8562         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8563
8564 2002-03-04  Juergen Vigna  <jug@sad.it>
8565
8566         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8567
8568         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8569         last column of multicolumn cells.
8570         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8571
8572 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8573
8574         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8575         file if it doesn't go to a temporary file.
8576
8577         * buffer.C (sgmlOpenTag):
8578         (sgmlCloseTag):  remove extra newline insertion.
8579
8580 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8581
8582         * text.C (getRowNearY): comment out debug msg
8583
8584 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8585
8586         * text2.C: first -> first_y
8587
8588         * text.C (getRowNearY): add some attemts at a possible
8589         optimization, not working.
8590
8591         * tabular.[Ch]: add BufferParams to several function so that newly
8592         created paragraph can be initialized to he default layotu for the
8593         buffers textclass.
8594
8595         * tabular-old.C (ReadOld): add buf->params to call of Init
8596
8597         * screen.C: rename text->first to text->first_y
8598
8599         * paragraph.C (breakParagraph): always set layout in the broken
8600         paragraph
8601
8602         * lyxtextclass.C (Read): remove lowercase
8603         (hasLayout): ditto
8604         (operator): ditto
8605         (delete_layout): ditto
8606
8607         * lyxtext.h: rename first -> first_y
8608
8609         * lyxlayout.C (Read): remove lowercase
8610         (name): ditto
8611         (setName): ditto
8612         (obsoleted_by): ditto
8613
8614         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8615
8616         * buffer.C (insertErtContents): add params are to InsetERT
8617         (parseSingleLyXformat2Token): add code to check if a paragraphs
8618         layout really exist.
8619         (parseSingleLyXformat2Token): add params to several inset
8620         constructors
8621         (asciiParagraph): remove lowercase, do the layout comparisons with
8622         no_case
8623
8624         * BufferView_pimpl.C (cursorNext): first -> first_y
8625         (resizeCurrentBuffer): first -> first_y
8626         (updateScrollbar): first -> first_y
8627         (scrollCB): first -> first_y
8628         (workAreaMotionNotify): first -> first_y
8629         (workAreaButtonPress): first -> first_y
8630         (checkInsetHit): first -> first_y
8631         (cursorPrevious): first -> first_y
8632         (cursorNext): first -> first_y
8633         (Dispatch): add buffer_->params to severl inset contructors
8634
8635 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8636
8637         * lyxlayout.C (Read): remove some debug info that I forgot.
8638
8639         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8640         clean up the code slightly.
8641         (makeLinuxDocFile): ditto
8642         (makeDocBookFile): ditto
8643
8644         * text2.C: layout as string
8645
8646         * text.C: layout as string
8647
8648         * paragraph_pimpl.C: layout as string
8649
8650         * paragraph.[Ch]: layout as string
8651
8652         * lyxtextclasslist.[Ch]: layout as string
8653
8654         * lyxtextclass.[Ch]: layout as string
8655
8656         * lyxtext.h: layout as string
8657
8658         * lyxlayout.[Ch]: layout as string
8659
8660         * lyx_cb.C: layout as string
8661
8662         * bufferview_funcs.C: layout as string
8663
8664         * bufferparams.C: layout as string
8665
8666         * buffer.C: layout as string
8667
8668         * LyXView.[Ch]: layout as string
8669
8670         * LaTeXFeatures.[Ch]: layout as string
8671
8672         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8673
8674         * BufferView_pimpl.C: change current_layout to string, remove
8675         lyx::layout_type.
8676         (Dispatch):
8677         (smartQuote):
8678         (insertInset):
8679         (workAreaButtonRelease): layout as string
8680
8681         * BufferView2.C (unlockInset): adjust
8682
8683         * vspace.C (asLatexCommand): use an explict temp variable.
8684
8685 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8686
8687         * Makefile.am: use FRONTEND_*
8688
8689 2002-03-01  Juergen Vigna  <jug@sad.it>
8690
8691         * tabular.C (SetWidthOfMulticolCell): changed to something better
8692         I hope but still work in progress.
8693         (recalculateMulticolumnsOfColumn): renamed function from
8694         recalculateMulticolCells as it is more appropriate now.
8695         (SetWidthOfCell): calculate multicols better.
8696
8697 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8698
8699         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8700
8701         * lyxfunc.C (processKeySym): print sequence also if it is
8702         `deleted' (complete)
8703
8704         * kbsequence.C (print): print sequence even if it is deleted
8705         (complete would be a better word, actually).
8706
8707         * lyxfunc.C (dispatch): print complete options after a prefix key
8708
8709         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8710
8711 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8712
8713         * text2.C (setCharFont): eliminate setCharFont code duplication.
8714
8715 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8716
8717         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8718         LFUN_TABULAR_FEATURE (bug #177)
8719
8720 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8721
8722         * Makefile.am: remove figure.h
8723
8724 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8725
8726         * Bufferview_pimpl.C:
8727         * CutAndPasteC:
8728         * LaTeX.C:
8729         * LyXSendto.C:
8730         * buffer.C:
8731         * bufferlist.C:
8732         * converter.C:
8733         * language.C:
8734         * lyxfunc.C:
8735         * lyxvc.C:
8736         * paragraph.C:
8737         * text.C:
8738         * text2.C: remove #include "lyx_gui_misc.h".
8739
8740         * LaTeX.C: added #include <cstdio>
8741
8742 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8743
8744         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8745         that the paragraph following this one can have.
8746
8747         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8748
8749         * vspace.C (asLatexCommand): fix bogus gcc warning
8750
8751         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8752
8753 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8754
8755         * text2.C (setLayout): get rid of redundant code
8756
8757 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8758
8759         * text2.C (incDepth): make sure depth cannot be increased beyond
8760         reasonable values.
8761
8762 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8763
8764         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8765         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8766
8767         * PainterBase.h (image):
8768         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8769         a LyXImage const *.
8770
8771 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8772
8773         * BufferView.C:
8774         * BufferView.h:
8775         * BufferView_pimpl.C:
8776         * BufferView_pimpl.h:
8777         * LaTeXFeatures.C:
8778         * LyXAction.C:
8779         * LyXView.C:
8780         * Makefile.am:
8781         * UpdateList.h:
8782         * UpdateList.C:
8783         * buffer.C:
8784         * figure.h:
8785         * figureForm.C:
8786         * figureForm.h:
8787         * figure_form.C:
8788         * figure_form.h:
8789         * lyx_cb.C:
8790         * lyx_gui.C:
8791         * lyx_gui_misc.C:
8792         * lyxfunc.C:
8793         * sp_base.h:
8794         * sp_ispell.h:
8795         * sp_pspell.h:
8796         * sp_spell.C: remove fig inset, and the crap house of
8797           cards that follows it
8798
8799 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8800
8801         * Makefile.am:
8802         * lyxserver.C:
8803         * os2_defines.h:
8804         * os2_errortable.h:
8805         * nt_defines.h: move .h into support/
8806
8807         * vms_defines.h: remove
8808
8809         * WorkArea.C: add space in debug output
8810
8811         * text2.C:
8812         * paragraph.C:
8813         * buffer.C: add WITH_WARNINGS
8814
8815         * vc-backend.h:
8816         * vc-backend.C:
8817         * bufferlist.C: s/retrive/retrieve/, add docs
8818
8819         * vspace.h:
8820         * vspace.C:
8821         * kbmap.h:
8822         * lyxlength.h:
8823         * lyxgluelength.h:
8824         * length_common.h:
8825         * chset.h:
8826         * chset.C: add docs
8827
8828         * lyxgui.C: add ID to X error handler
8829
8830         * lyxtestclass.c: fix typo
8831
8832 2002-02-26  Juergen Vigna  <jug@sad.it>
8833
8834         * tabular_funcs.C (write_attribute): changed so that some default
8835         attributes are not written at all.
8836         (getTokenValue): set default values before trying to read the
8837         value so we have the return value always set as default if we don't
8838         find the token we search for.
8839
8840         * tabular.C (Write): write bools as bools not as strings!
8841
8842 2002-02-22  Juergen Vigna  <jug@sad.it>
8843
8844         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8845         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8846
8847         * text.C (leftMargin): don't add an indent for paragraphs inside
8848         tabular cells (fix #208).
8849
8850 2002-02-21  José Matos  <jamatos@fep.up.pt>
8851
8852         * tabular.C (docBook): fixed support for long tables.
8853
8854 2002-02-20  Juergen Vigna  <jug@sad.it>
8855
8856         * text2.C (getFont): get the drawing font of the Inset if this
8857         paragraph is inside an inset (only important for InsetERT for now).
8858
8859         * buffer.C (insertErtContents): use new lanugage params in ERT
8860         constructor.
8861
8862         * CutAndPaste.C: commenting out seemingly uneeded code.
8863
8864 2002-02-19  Allan Rae  <rae@lyx.org>
8865
8866         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8867         Iterators might be simple to use but they also get invalidated.
8868         (removeAutoInsets): renamed saved cursor tracking variables and added
8869         some comments to clarify what everything does.
8870
8871 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8872
8873         * Chktex.C:
8874         * LaTeX.C:
8875         * LyXSendto.C:
8876         * converter.C:
8877         * lyx_cb.C:
8878         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8879         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8880
8881         * lyxfunc.C:
8882         * vc-backend.h: remove #include "support/syscall.h"
8883
8884         * LaTeX.C:
8885         * LyXSendto.C:
8886         * converter.C: rearrange #includes in Lars' approved fashion.
8887
8888         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8889         forward declare class Timeout in the header file.
8890
8891         * XFormsView.C: changes due to the above.
8892
8893         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8894         similar to LyXView.
8895
8896         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8897         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8898
8899 2002-02-18  José Matos  <jamatos@fep.up.pt>
8900
8901         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8902         insets contents.
8903
8904 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8905
8906         * a lot of small ws changes
8907         * add a lot of using std::XXX
8908         * use std construcs some places where approp.
8909         * use some exisint stuff from lyxfunctional where approp.
8910         * Make file changes to use partial linking (lets test this now...)
8911
8912 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8913
8914         * Chktex.C:
8915         * buffer.C:
8916         remove #include "support/syscontr.h" as it's redundant. Always has been.
8917
8918         * Chktex.C:
8919         * LaTeX.C:
8920         * LyXSendto.C:
8921         * converter.C:
8922         * lyx_cb.C:
8923         * vc-backend.C:
8924         change Systemcalls::System to Systemcalls::Wait and
8925         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8926         No change of functionality, just reflects the stripped down Systemcalls
8927         class.
8928
8929 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8930
8931         * debug.[Ch]: add a GRAPHICS type to the enum.
8932
8933 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8934
8935         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8936
8937         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8938         there is an inset.
8939
8940 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8941
8942         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8943         match the changes below.
8944
8945         * text2.C (toggleInset): if there is not editable inset at cursor
8946         position, try to see if cursor is _inside_ a collapsable inset
8947         and close it.
8948
8949 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8950
8951         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8952         document menu has a nice checkbox
8953
8954 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8955
8956         * lyxlength.C (asLatexString): change PW to output as percent of
8957         \textwidth.
8958
8959         * lengthcommon.C: change '%' to 't%'
8960
8961         * lyxfunc.C (dispatch): a few comments from Martin
8962
8963 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8964
8965         * WorkArea.h:
8966         * WorkArea.C:
8967         * BufferView_pimpl.h:
8968         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8969           the X selection.
8970
8971 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8972
8973         * vspace.C (inPixels): fix compiler warning
8974
8975 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8976
8977         * lyxfunc.C (getStatus): fix status message for disabled commands.
8978
8979 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8980
8981         * BufferView_pimpl.C: fix crash on close buffer
8982         during selection (#227)
8983
8984 2002-01-27  Herbert Voss  <voss@lyx.org>
8985
8986         * buffer.C: link old Figure to new graphic inset
8987
8988 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8989
8990         * FontLoader.C (getFontinfo): Change the latex font names in order
8991         to match the names of type1inst.
8992
8993 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8994
8995         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8996
8997         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8998         (extchanged): ditto
8999         (ext_exist): ditto
9000         (remove_files_with_extension): ditto
9001         (remove_file): ditto
9002         (write): ditto
9003
9004         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9005         document is smaller than the work area height. Do not initialize
9006         static variables to 0.
9007
9008 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9009
9010         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9011
9012         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9013         LFUN_LAYOUT_PARAGRAPHS.
9014
9015         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9016         tabular. It is possible to provide a possible cell, which will
9017         typically be the actcell from the corresponding insettabular
9018
9019         * lyxfunc.C (getStatus): small cleanup; disable
9020         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9021         true
9022
9023 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9024
9025         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9026
9027         * paragraph.C (startTeXParParams):
9028         (endTeXParParams): new methods. The LaTeX code to
9029         start/end paragraph formatting
9030         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9031         empty (fixes bug #200)
9032
9033         * vspace.C (inPixels): adapt to the change below
9034         (inPixels): [later] more cleanups (remove unused variables)
9035
9036         * lyxlength.C (inPixels): change to use a width and a height as
9037         parameter.
9038
9039 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9040
9041         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9042         Replaced with \paperwidth
9043
9044         * DepTable.C (insert): add std:: qualifier
9045
9046 2002-01-18  Allan Rae  <rae@lyx.org>
9047
9048         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9049         updated also?
9050
9051         * text.C (drawInset): Turned out I didn't know enough about how
9052         rebreaking worked.  This fixes most of the redraw problems.  I see
9053         an occasional cursor trail when a line is broken now and the cursor
9054         placement can seem out by a few pixels also after a rebreak.
9055
9056 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9057
9058         * buffer.C (parseSingleLyXformat2Token): update because minipage
9059         width is now a LyXLength
9060
9061         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9062
9063         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9064         math insets
9065
9066 2002-01-17  Juergen Vigna  <jug@sad.it>
9067
9068         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9069
9070         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9071         is set correctly and the inset is updated correctly.
9072
9073 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9074
9075         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9076         the beginning of the loop.
9077
9078 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9079
9080         * lyxrc.C: improve help for use_scalable_fonts
9081
9082 2002-01-17  Allan Rae  <rae@lyx.org>
9083
9084         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9085
9086 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9087
9088         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9089         make sure to set their inset_owner to the right value (bug #171)
9090
9091 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9092
9093         * DepTable.h
9094         * DepTable.C: Implement mtime checking to reduce time spent doing
9095         CRCs.
9096
9097 2002-01-16  Juergen Vigna  <jug@sad.it>
9098
9099         * tabular.C (GetAdditionalHeight): one of error fixed.
9100
9101         * lyxrc.C (output): small fix in writing use_pspell.
9102
9103 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9104
9105         * sp_base.h: #include LString.h
9106
9107 2002-01-16  Allan Rae  <rae@lyx.org>
9108
9109         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9110         Can someone check this please?
9111
9112         * text.C (drawInset): It was possible that p.row would be removed by
9113         breakAgainOneRow upsetting a few other settings.  There may be another
9114         small tweak possible by setting need_break_row = 0 when p.row has been
9115         removed but I don't know enough about the logic here.
9116
9117 2002-01-15  Allan Rae  <rae@lyx.org>
9118
9119         * text.C (insertChar): removed conditional truism.
9120
9121         * BufferView2.C (removeAutoInsets): More tweaks.
9122         cur_par_prev could be a stray pointer.  Check for trailing empty line
9123         in case last line was cur_par and only had an error inset on it.
9124
9125 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9126
9127         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9128         absolute
9129
9130         * vc-backend.C (most methods):
9131         * exporter.C (Export):
9132         * converter.C (convert):
9133         (runLaTeX):
9134         * LyXSendto.C (SendtoApplyCB):
9135         * lyxfunc.C (dispatch):
9136         (menuNew):
9137         (open):
9138         (doImport):
9139         * lyx_cb.C (AutoSave):
9140         (InsertAsciiFile):
9141         * BufferView_pimpl.C (MenuInsertLyXFile):
9142         * buffer.C (runChktex): use Buffer::filePath().
9143
9144         * buffer.h: rename filename to filename_; rename filepath to
9145         filepath_ and make it private
9146         (filePath): new method
9147
9148         * buffer.C (writeFile): use fileName()
9149         (getLatexName):
9150
9151         * lyx_main.C (init): fix starting  of LyX when the binary is a
9152         link from so,ewhere else.
9153
9154         * minibuffer.C: include <cctype> for isprint
9155
9156 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9157
9158         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9159         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9160         name clash with InsetCollapsable's width function.
9161
9162 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9163
9164         * lastfiles.C: include <iterator>
9165
9166 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9167
9168         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9169         std::count.
9170
9171         * buffer.C (makeLaTeXFile): ditto.
9172         Also make loop operation more transparent.
9173
9174 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9175
9176         * ToolbarDefaults.C: remove trailing comma closing namespace.
9177
9178         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9179
9180         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9181         as in WorkArea.
9182
9183         * trans.C (Load): comment out unused variable, allowed.
9184
9185 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9186
9187         * minibuffer.[Ch] (append_char): new method to recieve input from the
9188         drop-down completion browser. If a key was pressed, then recieve this
9189         char and append it to the existing string.
9190         (peek_event): modify the positioning data passed to the completion
9191         browser so that it can be placed above the minibuffer rather than below.
9192 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9193
9194         * LyXAction.C (init): alloe error-next for readonly documents.
9195
9196         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9197         count.
9198
9199 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9200
9201         * bufferlist.C (readFile): create the buffer _after_ checking that
9202         the file exists.
9203
9204         * lyxfunc.C (verboseDispatch): fix handling of arguments
9205
9206         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9207
9208         * lyxrc.C: use string::erase() instead of initializing to "".
9209
9210
9211 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9212
9213         * BufferView_pimpl.h:
9214         * BufferView_pimpl.C:
9215         * WorkArea.h:
9216         * WorkArea.C:
9217         * text2.C: tell X when we have made a selection for copying
9218
9219 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9220
9221         * BufferView_pimpl.C (MenuInsertLyXFile):
9222         * lyxfunc.C (menuNew):
9223         (open):
9224         (doImport): add shortcuts to directory buttons
9225
9226         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9227         open a float)
9228
9229         * lyxfunc.C (setStatusMessage):
9230         (getStatusMessage): new methods
9231         (getStatus):use setStatusMessage instead of setErrorMessage
9232         (dispatch): when function is disabled, set error message here
9233         [instead of in getStatus previously]
9234
9235         * BufferView_pimpl.C (workAreaButtonRelease): update
9236         toolbar/menubar here too.
9237
9238 2002-01-13  Allan Rae  <rae@lyx.org>
9239
9240         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9241         Now seems indestructible.  Remaining task is to audit all other
9242         code affected by deleteEmptyParagraphMechanism.  One small quirk
9243         left is that an empty document with an error in the preamble can
9244         be made to report an error but no error box appears.  I don't know
9245         where it goes.
9246         (removeAutoInsets): Improved comments.
9247
9248 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9249
9250         * Thesaurus.h:
9251         * Thesaurus.C: update for Aiksaurus 0.14
9252
9253 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9254
9255         * text2.C (firstParagraph): removed member function, all uses
9256         replaces with ownerParagraph
9257         (redoParagraphs): here
9258         (updateInset): here
9259         (toggleAppendix): here
9260         * BufferView2.C (insertErrors): here
9261         (setCursorFromRow): here
9262
9263 2002-01-13  Allan Rae  <rae@lyx.org>
9264
9265         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9266         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9267         There is still a way to segfault this although you may have to do this
9268         multiple times: Have an InsetERT with an unknown command in it.
9269         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9270         <down-arrow>, <Enter> again, View->DVI, BANG!
9271
9272         * text2.C (setCursor):
9273         (deleteEmptyParagraphMechanism):
9274         * lyxtext.h (setCursor):
9275         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9276         Making use of the return value may help fix other bugs.
9277
9278 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9279
9280         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9281
9282         * LyXView.C (updateMenubar): call MenuBar::update here
9283         (updateToolbar): but not here
9284         (showState): do not update toolbar/menubar
9285
9286         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9287         should need to care about that.
9288
9289         * lyxfunc.C (verboseDispatch): simplify a bit
9290         (getStatus): have a version which takes a pseudoaction, and
9291         another which requires a (kb_action,string).
9292
9293         * LyXAction.C (retrieveActionArg): make it work also when action
9294         is not a pseudo-action.
9295         (getActionName): simplify a bit
9296         (helpText):
9297
9298 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9299
9300         * lyxfunc.C (verboseDispatch): new families of methods with
9301         several ways to specify a command and a bool to indicate whether
9302         the command name and shortcut should be displayed in minibuffer
9303         (eventually, we could extend that to a finer bitmask like
9304         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9305         (dispatch): the pristine dispatch command which just, well,
9306         dispatchs! Note it still sets its result to minibuffer; I'm not
9307         sure we want that.
9308
9309         * lyxfunc.h: remove setHintMessage
9310
9311         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9312
9313 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9314
9315         * BufferView_pimpl.C (specialChar): delete new inset if we have
9316         not been able to insert it.
9317
9318         * kbmap.C: revert to using int instead of kb_action, since all we
9319         are dealing with is pseudo-actions.
9320
9321         * LyXAction.C (searchActionArg): change to return int instead of
9322         kb_action, since the result is a pseudoaction.
9323
9324 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9325
9326         * buffer.C (insertErtContents): Fix (partially) the font bug.
9327
9328 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9329
9330         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9331         as the other one is broken on my machine!
9332
9333 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9334
9335         * commandtags.h:
9336         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9337
9338 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9339
9340         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9341         reflect their actual use. Provide compatibility code for older lyxrc
9342         files.
9343
9344         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9345         FL_NORMAL_STYLE.
9346         change names of popup font variables in line with the changes to lyxrc.C
9347
9348 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9349
9350         * buffer.C (asciiParagraph): avoid outputing a word twice after
9351         an inset.
9352
9353         * lyxrc.C (getDescription): document that document_path and
9354         template_path can be empty.
9355
9356 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9357
9358         * LaTeXFeatures.C (getMacros):
9359         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9360
9361         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9362
9363         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9364         getPackages.
9365         (getPackages): rename feature "floats" to "float". Use an array to
9366         iterate over 'simple' features (i.e. just a \usepackage). Add
9367         handling of "amsmath" (renamed from "amsstyle").
9368
9369 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9370
9371         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9372         features list.
9373
9374 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9375
9376         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9377         FuncStaus::FuncStatus & FuncStaus::some_method().
9378
9379 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9380
9381         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9382         of the func_satus stuff. Edited and massaged in various ways by
9383         JMarc.
9384
9385         * lyxfunc.C (getStatus): use FuncStatus
9386
9387 2002-01-08  Juergen Vigna  <jug@sad.it>
9388
9389         * text.C (nextBreakPoint): use function Inset::isChar().
9390
9391         * paragraph.C (TeXOnePar): use function
9392         Inset::forceDefaultParagraphs.
9393
9394         * buffer.C (latexParagraphs): use function
9395         Inset::forceDefaultParagraphs.
9396
9397 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9398
9399         * lyx_gui.C (init): set the style of the menu popups to
9400         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9401
9402 2002-01-07  Juergen Vigna  <jug@sad.it>
9403
9404         * text.C (setHeightOfRow): small fix
9405         (prepareToPrint): don't look at alignment if we don't have the place
9406         for doing it.
9407
9408 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9409
9410         * box.C: New file. Move the Box methods and functions out of box.h,
9411         following Lars' suggestion.
9412
9413 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9414
9415         * box.h: #include "support/LOstream.h", needed for inlined function.
9416
9417         * lyxtextclass.C:
9418         * lyxtextclasslist.C: added some using std declarations.
9419
9420 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9421
9422         * box.h: make signed dimensions to allow insets wider than
9423           the screen (bug #162)
9424
9425         * BufferView_pimpl.C: add some insetHit debug
9426
9427 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9428
9429         * vc-backend.C: add FIXME
9430
9431 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9432
9433         * lyxfunc.C (getStatus): enable code for showing math font status
9434         in toolbar/menu.
9435
9436 2002-01-07  Juergen Vigna  <jug@sad.it>
9437
9438         * text.C (nextBreakPoint): removed debug output not needed anymore.
9439
9440 2002-01-06  Juergen Vigna  <jug@sad.it>
9441
9442         * text.C (nextBreakPoint): fixed up this function we had this bug
9443         since ever but now hopefully we break row better.
9444         (insertChar): we have to check if an inset is the next char as it
9445         could now happen that a large inset is causing a break.
9446
9447 2002-01-05  Juergen Vigna  <jug@sad.it>
9448
9449         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9450         if it doesn't like to be drawed.
9451
9452 2002-01-04  Juergen Vigna  <jug@sad.it>
9453
9454         * BufferView2.C (lockInset): forgot to set a cursor.
9455
9456         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9457
9458 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9459
9460         * FormMathsPanel.C:
9461         * FormMathsPanel.h
9462         * MathsSymbols.C:
9463         * form_maths_panel.C:
9464         * form_maths_panel.h:
9465         * form_maths_panel.fd: implemented sub- and super- buttons in math
9466         panel.
9467
9468         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9469         (or ^ space) to be used as in TeX (req'd by André).
9470
9471         * lyxfunc.C: Allow ^ and _ again to be used both as
9472         super/subscript (mathed) and as themselves (in text).
9473
9474 2002-01-03  Allan Rae  <rae@lyx.org>
9475
9476         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9477         "LyX" or the filename of the current buffer if it has one.  This is a
9478         modified form of John Levon's patch.
9479
9480         * XFormsView.C (setWindowTitle): also set icon title.
9481
9482         * LyXView.h (setWindowTitle): signature changed.
9483         * XFormsView.h (setWindowTitle): ditto.
9484
9485 2002-01-02  Juergen Vigna  <jug@sad.it>
9486
9487         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9488
9489 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9490
9491         * screen.C (topCursorVisible): introduce a temp var for
9492         text->cursor.row(), handle the case where this row is null. (kindo
9493         hachish)
9494
9495         * text2.C (setCursor): add a couple of asserts.
9496
9497         * paragraph.h (inset_iterator): add -> operator
9498
9499         * paragraph.[Ch] (autoDeleteInsets): remove member function
9500
9501         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9502         cursor pos correctly and handle inset deletion by itself.
9503         (insertErrors): move iterator declaration out of for expression
9504
9505         * lyxtextclass.C: add <algorithm>
9506
9507         * Makefile.am: added the new files to sources, removed layout.C
9508
9509         * layout.C: removed file
9510
9511         * layout.h: remove LYX_DUMMY_LAYOUT
9512
9513         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9514         layout.
9515
9516         * lyxlayout.[Ch]:
9517         * lyxtextclass.[Ch]:
9518         * lyxtextclasslist.[Ch]: new files
9519
9520         * include order changes to a lot of files, also changes because of
9521         the six new files.
9522
9523 2001-12-27  Juergen Vigna  <jug@sad.it>
9524
9525         * buffer.C (asciiParagraph): more fixes.
9526
9527         * tabular.C (ascii): make ascii export support export of only the
9528         data separated by a column-delimiter.
9529         (ascii): better support for ascii export.
9530
9531         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9532
9533 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9534
9535         * tabular_funcs.C: use a "using std::getline" instead of the
9536         previous fix from Angus (necessary for cxx + lyxstring)
9537
9538 2001-12-24  Juergen Vigna  <jug@sad.it>
9539
9540         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9541
9542         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9543         problems. First check a minipage also if we have some ert-contents
9544         (not only on par->size(), second set the right depth of the paragraph
9545         on the relink to the root-paragraph-list!
9546
9547         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9548         which then did not anymore update the main paragraphs on undo/redo!
9549
9550 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9551
9552         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9553         code. Support all font-changing funcs (even those which are not in
9554         menu currently). Support for reporting font settings in
9555         mathed (disabled until Andre provides a function on mathed's side).
9556
9557         * func_status.h (toggle): small helper function to set toggle
9558         state on a flag.
9559
9560 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9561
9562         * tabular_funcs.C: getline -> std::getline
9563
9564 2001-12-21  Juergen Vigna  <jug@sad.it>
9565
9566         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9567         accessed and could be 0 (I couldn't generate this but it seems
9568         Michael could!).
9569
9570 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9571
9572         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9573         * tabular_funcs.h: here and include iosfwd
9574
9575 2001-12-20  Juergen Vigna  <jug@sad.it>
9576
9577         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9578         inside inset but undo_par was.
9579
9580 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9581
9582         * Thesaurus.C: always include <config.h> in sources.
9583
9584         * Painter.h:
9585         * lyxlookup.h:
9586         * box.h: do not include <config.h> in header files
9587
9588         * text.C (paintLastRow): remove unused variable
9589
9590         * text.C (transformChar):
9591         (insertChar):
9592         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9593
9594         * Painter.C (text):
9595         * font.C (width): rewrite to use uppercase() instead of
9596         islower/toupper.
9597
9598         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9599
9600 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9601
9602         * lyxfind.C: clean up of find failure position change
9603
9604 2001-12-20  Juergen Vigna  <jug@sad.it>
9605
9606         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9607
9608         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9609         (TeXRow): added to LaTeX a single tabular row.
9610         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9611         (Latex): simplified and finally good LT-h/f support.
9612         (various_functions): just small adaptions for LT-h/f support.
9613
9614         * tabular_funcs.[hC]: added and moved here all not classfunctions
9615         of LyXTabular.
9616
9617 2001-12-19  Juergen Vigna  <jug@sad.it>
9618
9619         * tabular.[Ch]: better support for longtabular options (not finished
9620         yet!)
9621
9622 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9623
9624         * text.C (paintLastRow): use the label font instead of the font of
9625         the last character to compute the size of *_BOX. This makes more
9626         sense and avoids a crash with empty paragraphs.
9627         Use Painter::rectangle to draw EMPTY_BOX.
9628
9629 2001-12-19  Juergen Vigna  <jug@sad.it>
9630
9631         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9632         the paragraphs if the replaced paragraph is not the first one!
9633         Tried to delete not used paragraphs but does not work yet so for
9634         now it's inside #ifdef's and by default off!
9635
9636 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9637
9638         * MenuBackend.C: include "lyx_main.h" instead of declaring
9639         lastfiles (actually was declared as LastFiles* instead of a
9640         scoped_ptr).
9641
9642 2001-12-17  Juergen Vigna  <jug@sad.it>
9643
9644         * tabular.C (AppendColumn): applied John's fix
9645
9646 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9647
9648         * BufferView.h:
9649         * BufferView.C:
9650         * BufferView_pimpl.h:
9651         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9652
9653         * Makefile.am:
9654         * box.h: new start of class for above
9655
9656         * lyxfunc.C: ignore space-only minibuffer dispatches.
9657           Show the command name when it doesn't exist
9658
9659         * minibuffer.C: don't add empty lines to the history
9660
9661         * minibuffer.C: add a space on dropdown completion
9662
9663 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9664
9665         * text.C: fix line above/below drawing in insets
9666
9667 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9668
9669         * lyxlength.C (LyXLength): Initialize private variables.
9670
9671 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9672
9673         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9674         when inserting error insets.
9675
9676 2001-12-13  Juergen Vigna  <jug@sad.it>
9677
9678         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9679         actually sometimes the before-paragraph.
9680         (setUndo): don't clear the redostack if we're not actually undoing!
9681
9682 2001-12-06  Juergen Vigna  <jug@sad.it>
9683
9684         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9685         and fixed redoing of main paragraph, so we can use it now ;)
9686
9687         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9688
9689 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9690
9691         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9692         Juergen's request
9693
9694 2001-12-13  André Pönitz <poenitz@gmx.net>
9695
9696         * undostack.[Ch]:
9697         * undo_func.C: minor cleanup
9698
9699 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9700
9701         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9702         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9703         font in urw-fonts package which is marked as -urw-fontspecific and
9704         does not work (incidentally, changing the encoding in the
9705         fonts.dir of this package to -adobe-fontspecific fixes the
9706         problem).
9707
9708         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9709         is a crash when undoing first paragraph (Juergen, please take a
9710         look). THis does not mean the undo fix is wrong, just that it
9711         uncovers problems.
9712
9713         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9714         the (Paragraph*) version when needed instead of duplicating the
9715         code.
9716
9717         * text.C (workWidth): use Inset::parOwner to find out where the
9718         inset has been inserted. This is a huge performance gain for large
9719         documents with lots of insets. If Inset::parOwner is not set, fall
9720         back on the brute force method
9721
9722         * paragraph_pimpl.C (insertInset):
9723         * paragraph.C (Paragraph):
9724         (cutIntoMinibuffer): set parOwner of insets when
9725         inserting/removing them
9726
9727         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9728
9729 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9730
9731         * commandtags.h:
9732         * LyXAction.C:
9733         * lyx_main.C:
9734         * lyxfunc.C:
9735         * mathed/formulabase.C:
9736         * mathed/math_cursor.[Ch]:
9737         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9738
9739
9740 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9741
9742         * lyxlength.[Ch] (operator!=): new function
9743
9744 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9745
9746         * text.C (workWidth): use Inset::parOwner to find out where the
9747         inset has been inserted. This is a huge performance gain for large
9748         documents with lots of insets. If Inset::parOwner is not set, fall
9749         back on the brute force method
9750
9751         * paragraph_pimpl.C (insertInset):
9752         * paragraph.C (Paragraph):
9753         (cutIntoMinibuffer): set parOwner of insets when
9754         inserting/removing them
9755
9756         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9757
9758 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9759
9760         * tabular-old.C (getTokenValue):
9761         * tabular.C (getTokenValue):
9762         (write_attribute): new versions for LyXLength
9763         (everywhere): adjust the use of widths
9764
9765         * tabular.h: change the type of widths from string to LyXLength
9766
9767 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9768
9769         * paragraph.C: fixed missing line number count when exporting
9770         Environments to LaTeX file
9771
9772         * buffer.C: added informational message for checking line numbers.
9773
9774 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9775
9776         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9777         paragraph, do the 'double space' part, but not the 'empty
9778         paragraph' one.
9779
9780         * text.C (workWidth): small optimization
9781         (getLengthMarkerHeight): use minimal size for negative lengths.
9782
9783 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9784
9785         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9786
9787         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9788
9789 2001-12-11  André Pönitz <poenitz@gmx.net>
9790
9791         * FontLoader.C:
9792         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9793
9794 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9795
9796         * text2.C: keep selection on a setFont()
9797
9798 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9799
9800         * lyx_cb.C: another bv->text misuse, from insert label
9801
9802 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9803
9804         * kbsequence.h:
9805         * kbsequence.C: re-instate nmodifier mask
9806
9807 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9808
9809         * lyx_main.h: make lyxGUI private.
9810
9811 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9812
9813         * lyxfind.C: place the cursor correctly on failed search
9814
9815 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9816
9817         * text.C (getLengthMarkerHeight): for small heights, the arrows
9818         are not always on top/bottom of the text
9819         (drawLengthMarker): smaller arrows; take the left margin in
9820         account; draw also vfills.
9821         (paintFirstRow):
9822         (paintLastRow): remove special code for vfill and standard spaces,
9823         since everything is handled in drawLengthMarker now.
9824
9825 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9826
9827         * buffer.C (insertErtContents): try to handle font and language
9828         interaction a bit better.g
9829
9830         * ColorHandler.C (updateColor): change the hash to cover the whole
9831         LColor enum, ws cleanup
9832         (getGCLinepars): ditto
9833         (getGCLinepars): only lookup in the linecache once.
9834
9835 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9836
9837         * iterators.C (operator++): Make the iterator more robust
9838
9839         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9840         (John's patch)
9841         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9842
9843 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9844
9845         * lyxtext.h:
9846         * text.C: better added space drawing
9847
9848 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9849
9850         * LyXView.C:
9851         * BufferView2.C: fix layout combo update on inset unlock
9852
9853 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9854
9855         * Makefile.am: don't compile unused files
9856
9857 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9858
9859         * lyxfunc.C:
9860         * commandtags.h:
9861         * LyXAction.C: remove old LFUN_LAYOUTNO
9862
9863 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9864
9865         * paragraph_pimpl.h:
9866         * paragraph_pimpl.C: isTextAt() doesn't need font param
9867
9868 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9869
9870         * lyxlex.h:
9871         * lyxlex.C: little cleanup
9872
9873 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9874
9875         * BufferView_pimpl.C: fix insertAscii for insets
9876
9877 2001-12-05  Juergen Vigna  <jug@sad.it>
9878
9879         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9880         set the right font on the "multi" paragraph paste!
9881
9882 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9883
9884         * trans_decl.h:
9885         * trans_mgr.[Ch]:
9886         * trans.[Ch]:
9887         * lyxgluelength.C:
9888         * lyxlength.C: remove out-commented code.
9889
9890         * BufferView_pimpl:
9891         * CutAndPaste.C:
9892         * DepTable.C:
9893         * buffer.C:
9894         * chset.C:
9895         * lastfiles.C:
9896         * lyxlex.C:
9897         * lyxlex_pimpl.C:
9898         * lyxserver.C:
9899         * screen.C:
9900         * tabular-old.C:
9901         * tabular.C:
9902         * text.C:
9903         * trans_mgr.C:
9904         * vc-backend.C: change "while(" to "while ("
9905
9906         * lyxlength.[Ch]: add zero function to check if length is zero or
9907         not
9908         * lyxgluelength.C: use it
9909
9910 2001-12-05  Allan Rae  <rae@lyx.org>
9911
9912         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9913         Works for 2.95.3, from what I understand of Garst's reports this should
9914         work for other g++ versions.  We're screwed if the abs(int) definition
9915         changed between bugfix releases of gcc.
9916
9917 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9918
9919         * text.C: fix chapter label offset !
9920
9921 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9922
9923         * lyxtext.h:
9924         * text.C: fix hfill at end of line, clean up
9925
9926 2001-12-04  Juergen Vigna  <jug@sad.it>
9927
9928         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9929         that we force an update of the inset and it's owners if neccessary.
9930
9931 2001-12-03  Juergen Vigna  <jug@sad.it>
9932
9933         * text.C (rowLast): simplified code
9934
9935 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9936
9937         * lyxfunc.C: fix show options on timeout
9938
9939 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9940
9941         * screen.C (topCursorVisible): scroll half a page when the cursor
9942         reached top of bottom of screen
9943
9944 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9945
9946         * minibuffer.C: deactivate on loss of focus
9947
9948 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9949
9950         * vspace.[Ch] (operator!=): add operator.
9951
9952 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9953
9954         * BufferView_pimpl.C: refuse to open an inset when
9955         there's a selection.
9956
9957 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9958
9959         * BufferView_pimpl.C: allow to click on RHS of full row insets
9960
9961 2001-11-30  Juergen Vigna  <jug@sad.it>
9962
9963         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9964         insets for undo reasons.
9965
9966 2001-11-28  André Pönitz <poenitz@gmx.net>
9967
9968         * vspace.[Ch]: cosmetical changes
9969
9970 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9971
9972         * LyXAction.h:
9973         * LyXAction.C:
9974         * lyxfunc.h:
9975         * lyxfunc.C:
9976         * kbmap.h:
9977         * kbmap.C:
9978         * lyxrc.C:
9979         * kbsequence.h:
9980         * kbsequence.C: part re-write of old kb code
9981
9982         * Painter.C:
9983         * WorkArea.C: remove Lgb_bug_find_hack
9984
9985 2001-11-30  José Matos <jamatos@fep.up.pt>
9986
9987         * buffer.C (makeDocBookFile): add a comment to point a hack.
9988         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9989         Fixed a double write of labels.
9990
9991 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9992
9993         * LaTeX.C:
9994         * LaTeX.h Fixed bug in LaTeX class where it would not
9995         re-run latex if no depfiles were changed, but the .dvi was removed.
9996
9997 2001-11-28  André Pönitz <poenitz@gmx.net>
9998
9999         * all the files from the change on 2001/11/26:
10000         use lyx::layout_type instead of LyXTextClass::size_type
10001         use lyx::textclass_type instead of LyXTextClassList::size_type
10002
10003 2001-11-29  Juergen Vigna  <jug@sad.it>
10004
10005         * text.C: added support for paragraph::isFreeSpacing()
10006
10007         * buffer.C: same as above
10008
10009         * paragraph.h: inserted isFreeSpacing() function to enable
10010         FreeSpacing inside InsetERT.
10011
10012         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10013         of the paragraph's in the cut/copy buffer to 0!
10014
10015         * text2.C (removeRow): remove the assert as it can!
10016
10017         * lyxtext.h: added helper function firstRow returning firstrow and
10018         made firstrow private again.
10019
10020         * BufferView2.C (lockInset): don't relock if we're already locked!
10021
10022         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10023         the only paragraph.
10024         (removeRow): added Assert::(firstrow)
10025
10026         * debug.C: forgot to add INSETTEXT here.
10027
10028 2001-11-28  Juergen Vigna  <jug@sad.it>
10029
10030         * sp_spell.C (initialize): changed error text to more general
10031         spellchecker command use (not only ispell!)
10032
10033         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10034
10035         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10036
10037 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10038
10039         * vspace.C: initialise lyxgluelength on failure
10040
10041 2001-11-28  Allan Rae  <rae@lyx.org>
10042
10043         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10044         declaration & definition that looks like a function declaration.
10045
10046 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10047
10048         * BufferView2.C (copy):
10049         (copyEnvironment): do not clear the selection when doing a copy.
10050
10051         * text.C (paintFirstRow): compilation fix
10052
10053 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10054
10055         * tabular.C (Latex): correct line count when writing latex.
10056
10057 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10058
10059         * paragraph_pimpl.h:
10060         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10061           bug a bit
10062
10063 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10064
10065         * text.C:
10066         * LColor.h:
10067         * LColor.C: change vfillline->added_space
10068
10069         * text.C: add markers and text for added space
10070
10071         * vspace.C: fix comment
10072
10073 2001-11-28  André Pönitz <poenitz@gmx.net>
10074
10075         * paragraph.C: whitespace changes
10076         * all the other files from the change on 2001/11/26:
10077         change *::pos_type into lyx::pos_type
10078
10079 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10080
10081         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10082         language of the document when inserting error insets.
10083
10084 2001-11-26  André Pönitz <poenitz@gmx.net>
10085
10086         * BufferView_pimpl.[Ch]:
10087         *       CutAndPaste.C:
10088         * buffer.[Ch]:
10089         * lyxcursor.[Ch]:
10090         * lyxfind.C:
10091         * lyxfunc.C:
10092         * lyxrow.[Ch]:
10093         * paragraph.[Ch]:
10094         * paragraph_pimpl.[Ch]:
10095         * sp_spell.C:
10096         * text.C:
10097         * text2.C: reduce header dependencies, introduce type for positions
10098
10099 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10100
10101         * <various>: change to use Alert.h
10102
10103 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10104
10105         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10106         when encountering an unknown token.
10107         (readLyXformat2): Show an error message if there were unknown tokens.
10108
10109 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10110
10111         * BufferView2.C:
10112         * BufferView_pimpl.C:
10113         * buffer.C:
10114         * paragraph.h:
10115         * text.C:
10116         * text2.C: use par->isInset()
10117
10118 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10119
10120         * paragraph_pimpl.h:
10121         * paragraph_pimpl.C: cleanup
10122
10123 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10124
10125         * text2.C (removeRow):
10126         * text.C (setHeightOfRow): remove useless (and costly) call to
10127         getRow.
10128
10129 2001-11-20  Allan Rae  <rae@lyx.org>
10130
10131         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10132         Now need Inset*::checkInsertChar() to return true for appropriate
10133         cases so that the characters in the minibuffer will actually be
10134         inserted.
10135
10136 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10137
10138         * text.C: change the order of the includes.
10139         (workWidth): initialize it at once.
10140         (workWidth): make maxw unsigned
10141         (setHeightOfRow): remove unused variable (inset)
10142         (selectSelectedWord): remove unused variable (inset)
10143         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10144
10145 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10146
10147         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10148         server is not running.
10149         (openConnection):
10150         (closeConnection): add debug info when server is disabled.
10151
10152         * ColorHandler.C (getGCForeground): send debug message to GUI
10153         channel.
10154
10155         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10156
10157         * kbmap.C (bind): modify because return conventions of
10158         kb_sequence::parse have changed.
10159
10160         * kbsequence.C (parse): only ignore spaces and not any stupid
10161         control character. This avoids tests like s[i] <= ' ', which are
10162         guaranteed to fail with 8bit characters and signed chars.
10163         Change return code to string::npos when there have been no error
10164         (0 was a bad idea when error is at first character)
10165
10166 2001-11-14  José Matos  <jamatos@fep.up.pt>
10167
10168         * buffer.h:
10169         * buffer.C (simpleDocBookOnePar): removed unused argument.
10170
10171 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10172
10173         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10174         insets which are part of a word. Paragraph::isLetter takes care of
10175         that now. Use Paragraph::isInset to identify insets.
10176         (selectSelectedWord): do not test for hyphenation break.
10177
10178         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10179         that protected spaces are considered as spaces.
10180
10181         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10182         Inset::isLetter.
10183
10184 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10185
10186         * lyxserver.h:
10187         * lyxserver.C: fix it. and small cleanup.
10188
10189 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10190
10191         * BufferView_pimpl.C: use inline helpers
10192
10193         * LaTeXFeatures.h:
10194         * LaTeXFeatures.C: fix typos
10195
10196         * Spacing.h:
10197         * Spacing.C: move spacing_string into class
10198
10199         * ToolbarDefaults.C: move stuff into namespace anon
10200
10201         * layout.h: update enum
10202
10203         * lyxfunc.C: use better debug
10204
10205         * minibuffer.h: fix typo
10206
10207         * debug.h:
10208         * debug.C:
10209         * WorkArea.C: add and use Debug::WORKAREA
10210
10211         * lyxtext.h:
10212         * text.C:
10213         * text2.C: code re-organisation, inline helpers
10214
10215 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10216
10217         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10218         std::vector.empty().
10219
10220 2001-11-09  Allan Rae  <rae@lyx.org>
10221
10222         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10223         '\n's after tables.  Tabular and ERT inset work now makes this no
10224         longer necessary.
10225
10226 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10227
10228         * minibuffer.h:
10229         * minibuffer.C: fix crash, improve drop-down completion
10230
10231 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10232
10233         * lyxserver.h:
10234         * lyxserver.C: invalidate fd's when doing endPipe()
10235
10236 2001-11-08  José Matos  <jamatos@fep.up.pt>
10237
10238         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10239         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10240
10241         * paragraph.h:
10242         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10243
10244 2001-11-07  José Matos  <jamatos@fep.up.pt>
10245
10246         * buffer.h:
10247         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10248         const qualifier.
10249
10250         * buffer.C (sgmlOpenTag):
10251         * buffer.C (sgmlCloseTag): removed debug info.
10252
10253         * buffer.h (sgmlOpenTag):
10254         * buffer.h (sgmlCloseTag): made public.
10255
10256 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10257
10258         * buffer.C (saveParamsAsDefaults):
10259         * lyx_cb.C (MenuLayoutSave): remove
10260
10261         * LyXAction.C (init):
10262         * commandtags.h:
10263         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10264
10265 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10266
10267         * buffer.C (setPaperStuff): removed from here...
10268
10269         * bufferparams.C (setPaperStuff): ... and moved there.
10270
10271 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10272
10273         * minibuffer.h:
10274         * minibuffer.C:
10275         * XFormsView.C: add support for drop-down completion
10276
10277 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10278
10279         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10280         commands.
10281
10282 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10283
10284         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10285         disabled.
10286
10287 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10288
10289         * lyx_main.C: change ref to known bugs
10290
10291 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10292
10293         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10294         to work around older babel problems.
10295
10296 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10297
10298         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10299
10300 2001-10-24  Juergen Vigna  <jug@sad.it>
10301
10302         * tabular-old.C (ReadOld): below variable changes reflected.
10303
10304         * tabular.[Ch]: added ltType struct for longtable header/footer
10305         defines and changed all instances where they are used. Added
10306         future support for double top/bottom rows.
10307
10308 2001-10-24  José Matos  <jamatos@fep.up.pt>
10309
10310         * buffer.h (docbookHandleCaption):
10311         * buffer.C (docbookHandleCaption): removed unused function.
10312         (makeDocBookFile): moved docbook supported version to v4.1.
10313
10314 2001-10-24  José Matos  <jamatos@fep.up.pt>
10315
10316         * tabular.h:
10317         * tabular.C (docbookRow): new function to export docbook code of a row.
10318         (DocBook): now honors the longtable flags.
10319
10320 2001-10-23  José Matos  <jamatos@fep.up.pt>
10321
10322         * LaTeXFeatures.h:
10323         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10324         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10325
10326         * buffer.C (makeLinuxDocFile):
10327         (makeDocBookFile): reworked the preamble, more clean, and with
10328         support for lyx defined entities. Changed the document declaration
10329         to be more XML friendly.
10330
10331         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10332         if we need to output XML that should be done with a filter.
10333
10334 2001-10-22  Juergen Vigna  <jug@sad.it>
10335
10336         * sp_pspell.h (class PSpell): add alive function needed in the
10337         controller to see if the spellchecker could be started.
10338
10339 2001-10-22  Juergen Vigna  <jug@sad.it>
10340
10341         * buffer.C (insertStringAsLines): modify the font for inserting
10342         chars in certain conditions by calling checkInsertChar(font).
10343
10344 2001-10-19  Juergen Vigna  <jug@sad.it>
10345
10346         * text.C (workWidth): use getRow instead of wrong algorithm.
10347         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10348
10349 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10350
10351         * lyxserver.h:
10352         * lyxserver.C:
10353         * lyx_main.h:
10354         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10355
10356 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10357
10358         * text.C (workWidth): do not search for the exact row when
10359         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10360         optimization for big documents.
10361
10362 2001-10-18  Juergen Vigna  <jug@sad.it>
10363
10364         * text.C (workWidth): new function with added Inset * parameter.
10365
10366 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10367
10368         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10369
10370         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10371         change return type of getColumnNearX.
10372
10373
10374         * text.C (changeRegionCase): use uppercase/lowercase instead of
10375         toupper/tolower.
10376         (leftMargin):
10377         (rightMargin): simplify code by factoring out the uses of
10378         textclasslist.
10379         (labelFill):
10380         (numberOfHfills):
10381         (setHeightOfRow):
10382         (appendParagraph): use Paragraph::size_type
10383
10384 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10385
10386         * vspace.C (asLatexString): add a missing break
10387
10388 2001-10-15  Herbert Voss  <voss@perce.de>
10389
10390         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10391
10392 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10393
10394         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10395         is not available.
10396
10397 2001-10-10  André Pönitz <poenitz@gmx.net>
10398
10399         * lyxfunc.C: removed greek_kb_flag.
10400
10401 2001-10-10  Herbert Voss  <voss@perce.de>
10402
10403         * lyx_main.C: delete global string help_lyxdir.
10404
10405 2001-10-09  Herbert Voss  <voss@perce.de>
10406
10407         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10408
10409         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10410
10411         * lyx_main.C: added global string help_lyxdir.
10412
10413         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10414
10415 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10416
10417         * lyxrc.C (set_font_norm_type): support iso8859-4
10418
10419 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10420
10421         * LaTeX.C (deplog): add another regex for MikTeX
10422
10423 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10424
10425         * lyxrc.C (set_font_norm_type): support iso8859-3
10426
10427 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10428
10429         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10430
10431         * LaTeXFeatures.C: remove special case of french and index
10432
10433         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10434         before \begin{document}). This solves several incompatibilities.
10435
10436 2001-10-03  Garst Reese  <reese@isn.net>
10437
10438         * lyx_cb.C: change CheckTex error msg.
10439
10440 2001-10-03  José Matos  <jamatos@fep.up.pt>
10441
10442         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10443
10444 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10445
10446         * .cvsignore: update
10447
10448         * lyx_main.C (commandLineVersionInfo): use new style version info.
10449
10450         * buffer.C (writeFile):
10451         (makeLaTeXFile):
10452         (makeLinuxDocFile):
10453         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10454
10455         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10456
10457         * version.h: update to use stuff in version.C
10458
10459         * version.C.in: new file. Contains version information determined
10460         at compile time. This is a merging of version.h and
10461         version_info.h.in.
10462
10463 2001-10-03  Juergen Vigna  <jug@sad.it>
10464
10465         * BufferView_pimpl.C (update): don't change "dirty" status in
10466         updateInset call.
10467
10468 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10469
10470         * WorkArea.C (c-tor): re-position version string slightly.
10471
10472 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10473
10474         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10475         revert to previous code.
10476
10477         WorkArea.[Ch]: (show, destroySplash): methods removed.
10478
10479         WorkArea.C: rework code so that it's an amalgam of the codes before and
10480         after the splash screen was moved to WorkArea.
10481
10482 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10483
10484         * lyxrc.C (read):
10485         * vspace.C (inPixels):
10486         (lyx_advance):
10487         * kbmap.C (bind):
10488         * buffer.C (insertStringAsLines):
10489         (asciiParagraph): fix types to be large enough
10490
10491         * lyxlex_pimpl.h: change member status from short to int
10492
10493         * layout.h: fix type of endlabeltype
10494
10495         * kbmap.C (bind):
10496         * kbsequence.C (parse): change return type to string::size_type
10497
10498         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10499         variable
10500
10501         * Bullet.C (bulletSize):
10502         (bulletEntry): do not use short ints as parameters
10503
10504         * BufferView2.C (insertLyXFile): change a char to an int.
10505
10506         * WorkArea.C (WorkArea): remove unneeded floats in computation
10507
10508 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10509
10510         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10511
10512         * paragraph.C (asString): Do not ignore newline/hfill chars when
10513         copying to the clipboard.
10514
10515 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10516
10517         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10518         after a multi-line inset.
10519
10520 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10521
10522         * paragraph.C (validate): Set NeedLyXFootnoteCode
10523
10524 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10525
10526         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10527         and decrease-error to decrease.
10528
10529 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10530
10531         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10532         it more readable (should be equivalent)
10533
10534 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10535
10536         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10537
10538 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10539
10540         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10541         of a cursor (row, etc.) after a character has been deleted
10542         (deleteEmptyParagraphMechanism): call the method above on _all_
10543         cursors held by the LyXText when a double space has been
10544         detected/deleted.
10545
10546 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10547
10548         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10549         pixmap.
10550         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10551
10552         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10553         background. Use greyOut() and the new show() methods to toggle between
10554         the foreground and background. Add code to remove the splash after
10555         its initial showing.
10556
10557         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10558         (create_forms): no longer call Dialogs::showSplash.
10559
10560 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10561
10562         * .cvsignore: add version_info.h
10563
10564 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10565
10566         * version_info.h.in: new file
10567
10568         * Makefile.am: add version_info.h.in
10569
10570         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10571         version_info.h instead of VERSION_INFO
10572
10573 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10574
10575         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10576         The ERT inset now returns string().
10577
10578 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10579
10580         * lyxtext.h, text.C (selectNextWord): renamed as
10581         selectNextWordToSpellcheck.
10582
10583         * text.C (selectNextWordToSpellcheck): Modified to not select
10584         words inside an ERT inset.
10585
10586 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10587
10588         * lyx_cb.C (MenuLayoutSave): change a bit the question
10589
10590         * sp_base.h: include <sys/types.h>
10591
10592 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10593
10594         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10595
10596 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10597
10598         * several files: fix typos in user-visible strings
10599
10600 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10601
10602         * text2.C (pasteSelection): do not set the selection, since it
10603         will be cleared later. Actually, the intent was to fix the way the
10604         selection was set, but I figured rmoving the code was just as good.
10605
10606 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10607
10608         * FontLoader.C (available): Check if font is available without
10609         loading the font.
10610
10611 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10612
10613         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10614
10615 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10616
10617         * lyxrc.[Ch]: added display_graphics variable and associated code.
10618
10619 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10620
10621         * bufferparams.C (hasClassDefaults): new method. Returns true if
10622         the buffer parameters correspond to known class defaults
10623
10624 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10625
10626         * XFormsView.C (show): set minimum size to the main window.
10627
10628 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10629
10630         * text2.C (copySelection):
10631         (cutSelection):
10632         * lyxfind.C (LyXReplace):
10633         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10634         LyXText::selectionAsString.
10635
10636         * paragraph.C (asString): add "label" argument to the second form
10637
10638         * text2.C (selectionAsString): add "label" argument and pass it to
10639         Paragraph::asString.
10640
10641 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10642
10643         * lyx_main.C (commandLineHelp): remove version information
10644
10645 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10646
10647         * lyx_main.C: add -version commandline option
10648
10649 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10650
10651         * paragraph.h: make the optional constructor arg required instead.
10652         some modifications to other files because of this.
10653
10654         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10655
10656         * lyxserver.C (C_LyXComm_callback): make it static
10657
10658         * lyx_main.C (error_handler): make it static
10659
10660         * lyx_gui.C (LyX_XErrHandler): make it static
10661
10662         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10663
10664         * WorkArea.C: make the extern "C" methods static.
10665
10666         * Makefile.am (lyx_LDADD): simplify
10667
10668 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10669
10670         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10671         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10672
10673         * LyXAction.C (init):
10674         * lyxfunc.C (dispatch): associated code removal.
10675
10676 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10677
10678         * lyxfont.h (isSymbolFont): shut off warning
10679
10680         * text.C (setHeightOfRow):
10681         (getVisibleRow): fix crash with empty paragraphs which have a
10682         bottom line
10683
10684 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10685
10686         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10687         code.
10688
10689 2001-09-04  José Matos  <jamatos@fep.up.pt>
10690         * buffer.C
10691         * buffer.h
10692         * tabular.C (docbook): rename docBook method to docbook.
10693
10694 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10695
10696         * Makefile.am: add dependencies to main.o.
10697
10698 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10699
10700         * FontLoader.C (available): Return false if !lyxrc.use_gui
10701
10702 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10703
10704         * FontInfo.C (query):
10705         * converter.C (view):
10706         * importer.C (Import):
10707         * exporter.C (Export): Can not -> cannot.
10708
10709 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10710
10711         * BufferView_pimpl.C: allow to create index inset even if
10712           string is empty
10713
10714 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10715
10716         * buffer.C (getLists): replace boost::tie code with an explicit pair
10717         as boost::tie can break some compilers.
10718
10719         * iterators.h: Added a std:: declaration to the return type of
10720         ParIterator::size.
10721
10722 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10723
10724         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10725           case.
10726
10727 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10728
10729         * iterators.[Ch]: New files. Provide paragraph iterators.
10730
10731         * buffer.C (changeLanguage): Use paragraph iterators.
10732         (isMultiLingual): ditto
10733
10734         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10735
10736 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10737
10738         * FontLoader.C: Support for cmr font.
10739
10740 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10741
10742         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10743         (available): New method.
10744
10745         * FontInfo.C (getFontname): Use scalable fonts even when
10746         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10747         found.
10748
10749 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10750
10751         * converter.C (Formats::view): reverted! Incorrect fix.
10752
10753 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10754
10755         * converter.C (Formats::view): only output the -paper option
10756         if the dvi viewer is xdvi, thereby fixing bug #233429.
10757
10758 2001-08-23  Herbert Voss  <voss@perce>
10759
10760         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10761
10762 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10763
10764         * Spacing.h (Spacing): Set space to Default on in the default
10765         constructor.
10766
10767 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10768
10769         * vc-backend.h (RCS::versionString): add RCS to version
10770         (CVS::versionString): add CVS to version
10771
10772         * vc-backend.C (scanMaster): do not add CVS to version.
10773         (scanMaster): do not add RCS to version
10774
10775         * lyxvc.C (versionString): new method
10776
10777         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10778
10779 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10780
10781         * Spacing.C (set): initialize fval
10782
10783 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10784
10785         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10786         " or \.
10787
10788 2001-08-16  Juergen Vigna  <jug@sad.it>
10789
10790         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10791
10792 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10793
10794         * BufferView_pimpl.C:
10795         * figureForm.C:
10796         * lyxtext.h:
10797         * text2.C: setParagraph takes linespacing now
10798
10799 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10800
10801         * LyxAction.C: add internal LFUN_CITATION_INSERT
10802
10803         * LyXView.C: actually apply fix
10804
10805         * bufferlist.C: fix open non-existent file
10806
10807         * lyxfind.C: fix indentation
10808
10809         * lyxfunc.C: remove unneeded assert, fix typo
10810
10811 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10812
10813         * MenuBackend.C: use "Floatname List"
10814
10815 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10816
10817         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10818         when converting LaTeX layout to insetERT.
10819         Generate a non-collapsed float when reading old float
10820
10821 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10822
10823         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10824         ERT insets.
10825
10826 2001-08-13  Juergen Vigna  <jug@sad.it>
10827
10828         * text.C (fill): return 0 instead of 20 as this seems to be the more
10829         correct value.
10830
10831 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10832
10833         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10834         lyxrc.font_norm.
10835
10836 2001-08-13  Juergen Vigna  <jug@sad.it>
10837
10838         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10839         casesensitive off.
10840         (SearchBackward): comment out the unlocking of the inset_owner this
10841         should not be needed!
10842
10843 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10844
10845         * Many files: Remove inherit_language, and add latex_language
10846
10847         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10848         collapsible insets.
10849
10850 2001-08-10  Juergen Vigna  <jug@sad.it>
10851
10852         * text.C (prepareToPrint): fixed hfill-width in draw!
10853
10854         * BufferView2.C (selectLastWord): save the selection cursor as this
10855         now is cleared in the function LyXText::clearSelection!
10856
10857 2001-08-08  Juergen Vigna  <jug@sad.it>
10858
10859         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10860         BACKSPACE type functions.
10861
10862         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10863         is only cutted from the document but not put in the cut-buffer, where
10864         still the old stuff should be.
10865
10866         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10867
10868         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10869
10870         * tabular.C (SetWidthOfCell): fixed special case where the width
10871         was not updated!
10872         (LeftLine): handle '|' in align_special.
10873         (RightLine): ditto
10874         (LeftAlreadyDrawed): ditto
10875         (SetWidthOfCell): ditto
10876
10877 2001-08-07  Juergen Vigna  <jug@sad.it>
10878
10879         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10880
10881 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10882
10883         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10884         * lyxlex.[hC]: ditto
10885
10886 2001-08-06  Juergen Vigna  <jug@sad.it>
10887
10888         * text.C (getVisibleRow): fix up row clearing a bit.
10889
10890 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10891
10892         * minibuffer.C: make sure the X server sees the changes in the input.
10893
10894 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10895
10896         * paragraph.C (getFont): split into...
10897         (getLabelFont): this
10898         (getLayoutFont): and this
10899         * paragraph_pimpl.C (realizeFont): calling this
10900
10901         * text2.C (getFont): split into...
10902         (getLayoutFont): this
10903         (getLabelFont): and this
10904         (realizeFont): all three calling this
10905
10906         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10907         files where used.
10908
10909 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10910
10911         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10912
10913 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10914
10915         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10916         layouts from the Quote inset insertion.
10917
10918 2001-08-03  Juergen Vigna  <jug@sad.it>
10919
10920         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10921
10922         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10923         only if status not is already CHANGED_IN_DRAW (second level).
10924
10925         * text.C (draw): don't set the need_break_row when inside an
10926         InsetText LyXText.
10927
10928 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10929
10930         * buffer.C (parseSingleLyXformat2Token): handle more latex
10931         conversion cases.
10932
10933         * bufferview_funcs.[hC]: change function names to
10934         begin with small char, adjust other files.
10935
10936 2001-08-02  André Pönitz <poenitz@gmx.net>
10937
10938         * lyxfunc.C:
10939         BufferView_pimpl.C: remove broken special code for math-greek
10940
10941 2001-08-02  Juergen Vigna  <jug@sad.it>
10942
10943         * BufferView_pimpl.C (update): redone this function so that we
10944         update the text again if there was a CHANGE_IN_DRAW.
10945
10946         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10947         (drawFromTo): added a new internal bool which is used by draw() and
10948         redraw() function.
10949         (general): some cursor drawing problems fixed.
10950
10951 2001-08-01  Juergen Vigna  <jug@sad.it>
10952
10953         * lyxfind.C (LyXFind): fixed
10954         (SearchForward): ditto
10955         (SearchBackward): ditto
10956
10957         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10958         spurius drawing of the cursor in the main area.
10959
10960         * text2.C (status): small fix which could lead to a segfault!
10961         (clearSelection): remove unneeded BufferView param.
10962
10963 2001-08-01  André Pönitz <poenitz@gmx.net>
10964
10965         * lyxfunc.C: small change due to changed mathed interface
10966
10967 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10968
10969         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10970
10971 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10972
10973         * lyxfunc.c: fail gracefully if file doesn't exist
10974
10975         * LyXSendto.C:
10976         * buffer.C:
10977         * lyxfunc.C:
10978         * BufferView_pimpl.C: IsDirWriteable() proto changed
10979
10980         * LyXView.C: fix updateWindowTitle() to store the last title
10981
10982 2001-07-31  Juergen Vigna  <jug@sad.it>
10983
10984         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10985         the font (wrong since using of Paragraph::highestFontInRange).
10986
10987         * paragraph.C (highestFontInRange): added a default_size parameter.
10988
10989         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10990         (setHeightOfRow): reformat
10991
10992 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10993
10994         * converter.[hC] + affected files: move to (inital-char)lowercase
10995         function names.
10996
10997         * ParagraphParameters.C (ParagraphParameters): remove commented code
10998
10999         * PainterBase.[Ch]: remove commented code
11000
11001         * LaTeXFeatures.h: add "bool floats" for float.sty
11002
11003         * LaTeXFeatures.C (LaTeXFeatures): init floats
11004         (require): handle float
11005         (getPackages): do it with floats
11006
11007 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11008
11009         * BufferView_pimpl.C (Dispatch): improve handling of
11010         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11011
11012         * commandtags.h: #include lyxfont.h here temporarily to avoid
11013         keybinding bug.
11014
11015         * bufferlist.h: include LString.h here.
11016
11017 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11018
11019         * text2.C (getStringToIndex): new method.
11020
11021 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11022
11023         * *: Reduced header file dependencies all over.
11024
11025 2001-07-30  Baruch Even  <baruch@lyx.org>
11026
11027         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11028
11029 2001-07-29  Baruch Even  <baruch@lyx.org>
11030
11031         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11032
11033 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11034
11035         * ParameterStruct.h (endif): add a default constructor to make
11036         sure that all variables is initialized.
11037
11038         * ParagraphParameters.C (ParagraphParameters): adjust
11039
11040 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11041
11042         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11043         index; also, check that there is something to index, and that it
11044         does not span over several paragraphs.
11045         (doubleClick): use WHOLE_WORD_STRICT for double click.
11046
11047         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11048
11049         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11050         scheme.
11051
11052 2001-07-26  Baruch Even  <baruch@lyx.org>
11053
11054         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11055         an InsetFig figure, backwards compatible reading of old figure code.
11056
11057 2001-07-27  Juergen Vigna  <jug@sad.it>
11058
11059         * text2.C: font.realize function adaption.
11060
11061         * text.C (draw): add a warnings lyxerr text if needed.
11062
11063         * layout.C: font.realize function adaption.
11064
11065         * language.C: add inherit_language and implement it's handlings
11066
11067         * bufferview_funcs.C (StyleReset): remove language parameter from
11068         font creation (should be language_inherit now).
11069
11070         * bufferparams.C (writeFile): handle ignore_language.
11071
11072         * paragraph.C (getFontSettings): the language has to be resolved
11073         otherwise we have problems in LyXFont!
11074
11075         * lyxfont.C (lyxWriteChanges): added document_language parameter
11076         (update): removed unneeded language parameter
11077
11078         * paragraph.C (validate): fixed wrong output of color-package when
11079         using interface colors for certain fonts in certain environments,
11080         which should not seen as that on the final output.
11081
11082 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11083
11084         * BufferView_pimpl.C:
11085         * Thesaurus.h:
11086         * Thesaurus.C:
11087         * Makefile.am:
11088         * commandtags.h:
11089         * LyXAction.C: add thesaurus support
11090
11091         * lyxfind.h:
11092         * lyxfind.C: add "once" parameter, for thesaurus, to not
11093           move to the next match
11094
11095 2001-07-26  Juergen Vigna  <jug@sad.it>
11096
11097         * lyxfont.C (realize): honor ignore_language too!
11098         (resolved): ditto.
11099
11100         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11101
11102         * text.C (draw): one place more for ignore_language to not draw
11103         itself!
11104
11105 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11106
11107         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11108
11109 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11110
11111         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11112         the minipage conversion problem.
11113
11114 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11115
11116         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11117         insert an inset.
11118
11119 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11120
11121         * BufferView.h: don't forward declare WorkArea
11122
11123         * BufferView.C: don't include WorkArea.h
11124
11125 2001-07-25  André Pönitz <poenitz@gmx.net>
11126
11127         * commandtags.h:
11128         * LyXAction.C:
11129         * lyxfunc.C:  new LFUN 'math-space'
11130
11131         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11132
11133 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11134
11135         * text2.C (toggleInset): call open/close
11136
11137 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11138
11139         * lyxfunc.C (dispatch): add debug for the disabled case
11140
11141         * font.C (buttonText): make similar to rectText
11142
11143         * buffer.C (readInset): comment out parsing of insetlist and
11144         insttheorem
11145
11146         * PainterBase.C (rectText): small correction
11147
11148         * BufferView_pimpl.C: comment out insettheorem and insetlist
11149         * LyXAction.C: ditto
11150         * commandtags.h: ditto
11151
11152 2001-07-24  Juergen Vigna  <jug@sad.it>
11153
11154         * text.C (draw): honor the ignore_language.
11155
11156         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11157
11158 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11159
11160         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11161         char inset.
11162
11163 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11164
11165         * lyxtext.h: remove unused (and unimplemented) methods
11166
11167 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11168
11169         * text.C (getVisibleRow): honor background color
11170
11171         * PainterBase.h:
11172         * Painter.h: remove default color argument for fillRectangle
11173
11174         * text.C (backgroundColor): new method
11175
11176 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11177
11178         * text.C (getVisibleRow): adjust
11179
11180         * font.[Ch] (rectText): new method, metrics
11181         (buttonText): new method, metrics
11182
11183         * PainterBase.[hC]: make rectText and buttonText always draw and take
11184         fewer paramteres.
11185
11186 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11187
11188         * ToolbarDefaults.C (read):
11189         * MenuBackend.C (read): allow escaping in all strings
11190
11191         * BufferView_pimpl.C (insertAndEditInset): new method.
11192         (Dispatch): use insertAndEditInset whenever appropriate.
11193
11194         * BufferView_pimpl.C (insertNote): removed
11195
11196         * BufferView_pimpl.C (smartQuote): new method, moved from
11197         BufferView; if an insetquote cannot be inserted, insert a '"'
11198         character instead.
11199
11200         * BufferView2.C: remove insertCorrectQuote();
11201
11202         * lyxfunc.C (getStatus): Add support for all remaingin
11203         inset-insert lfuns.
11204
11205         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11206
11207         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11208         command (necessary to pass " as parameter of self-insert.
11209
11210         * text.C (selectWordWhenUnderCursor):
11211         (selectWord): add word_location parameter
11212         (selectWordWhenUnderCursor): same + remove special code for word
11213         boundary.
11214         (selectNextWord): use kind() to guess type of insetspecialchar,
11215         not latex().
11216
11217         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11218         (insertErtContents): create ert insets as collapsed.
11219         (readInset): better compatibility code for Info inset.
11220
11221 2001-07-20  Juergen Vigna  <jug@sad.it>
11222
11223         * lyxfunc.C (dispatch): use always LyXFind now!
11224
11225         * text2.C (init): add a reinit flag so that the LyXText can be
11226         reinited instead of deleted and reallocated (used in InsetText).
11227
11228         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11229
11230         * text.C: ditto
11231
11232         * text2.C: ditto
11233
11234 2001-07-18  Juergen Vigna  <jug@sad.it>
11235
11236         * text.C (selectNextWord): handle insets inside inset by calling
11237         always the bv->text functions so that we can go up the_locking_inset!
11238
11239         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11240         in strange locations when inside an inset!
11241
11242         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11243         handling to include insets.
11244
11245         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11246
11247 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11248
11249         * LyXAction.C (init):
11250         * commandtags.h:
11251         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11252         LIGATURE_BREAK, since the name is so stupid.
11253
11254 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11255
11256         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11257         InsetInfos.
11258
11259         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11260
11261         * sp_form.[Ch]: remove.
11262
11263         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11264
11265         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11266         InsetInfo.
11267
11268         * src/buffer.C (readInset): ditto.
11269
11270 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11271
11272         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11273         menuSeparator(), endOfSentenceDot(), ldots() and
11274         hyphenationPoint(), which are therefore removed.
11275         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11276
11277         * LyXAction.C (init):
11278         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11279
11280         * paragraph.C (getWord): removed.
11281
11282         * BufferView_pimpl.C (Dispatch): use last word or selection for
11283         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11284
11285         * lyx_main.C (queryUserLyXDir): do not ask before creating
11286         user_dir, except if it has been named explicitely.
11287
11288 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11289
11290         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11291         a document of zero size.
11292
11293 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11294
11295         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11296         approriately in the c-tor and in require().
11297         (getPackages): output the appropriate LaTeX for natbib support.
11298
11299         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11300         variables "use_natbib" and "use_numerical_citations" when reading the
11301         LyX file.
11302         (readInset): read the various natbib cite commands.
11303         (validate): white-space change.
11304
11305         * bufferparams.[Ch]: new variables "bool use_natbib" and
11306         "bool use_numerical_citations".
11307         (writeFile): output them in the LyX file.
11308
11309 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11310
11311         * lyxfunc.C (getStatus): add support for all the inset insertion
11312         commands.
11313
11314         * text2.C (insertInset):
11315         * paragraph.C (insetAllowed):
11316         * BufferView_pimpl.C (insertInset): update to take in account the
11317         renaming of insertInsetAllowed
11318
11319         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11320
11321         * text2.C (getInset): new method. returns inset at cursor position.
11322
11323         * BufferView_pimpl.C (Dispatch): changes because of this.
11324
11325         * LyXAction.C (init): rename open-stuff to inset-toggle.
11326
11327         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11328
11329         * text2.C (toggleInset): renamed from openStuff; use
11330         Inset::open().
11331
11332 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11333
11334         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11335
11336         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11337
11338 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11339
11340         * buffer.C (readLyXformat2): Add filename to the error dialog
11341
11342 2001-07-18  Juergen Vigna  <jug@sad.it>
11343
11344         * tabular.C (GetCellNumber): put an assert here instead of the check!
11345
11346 2001-07-17  Juergen Vigna  <jug@sad.it>
11347
11348         * BufferView_pimpl.C (toggleSelection): adapted too.
11349
11350         * text.C (selectNextWord): adapted for use with insets.
11351         (selectSelectedWord): ditto
11352
11353 2001-07-17  Juergen Vigna  <jug@sad.it>
11354
11355         * sp_spell.C (PSpell): fix initialitation order.
11356
11357 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11358
11359         * paragraph.C: spacing
11360
11361 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11362
11363         * sp_spell.C: repair language selection for pspell
11364
11365 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11366
11367         * lyxfunc.h: change more methods to begin with lower char.
11368
11369 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11370
11371         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11372         for unknown layouts.
11373
11374 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11375
11376         * buffer.C (readLyXformat2): Generate an error dialog if there are
11377         unknown layouts.
11378
11379 2001-07-16  Juergen Vigna  <jug@sad.it>
11380
11381         * sp_spell.C: always compile ISpell part.
11382
11383         * lyxrc.C: added use_pspell entry and it's handling.
11384
11385 2001-07-13  Juergen Vigna  <jug@sad.it>
11386
11387         * sp_spell.C: removed double includes.
11388
11389 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11390
11391         Consistent use of Lsstream.h:
11392         * Lsstream.h: added using std::stringstream for consistencies sake.
11393
11394         * buffer.C: removed using std::stringstream
11395
11396         * lyxfont.C (stateText):
11397         * paragraph.C (asString):
11398         * text.C (selectNextWord, selectSelectedWord):
11399         * text2.C (setCounter):
11400         * vspace.C (asString, asLatexString):
11401         std::ostringstream -> ostringstream.
11402
11403 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11404
11405         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11406         * commandtags.h: add LFUN_HELP_ABOUTLYX
11407         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11408
11409 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11410
11411         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11412         cursorToggle()
11413         * lyx_gui_misc.C: remove spellchecker
11414         * lyxfunc.C: showSpellchecker
11415         * sp_base.h: added
11416         * sp_ispell.h: added
11417         * sp_pspell.h: added
11418         * sp_spell.C: added
11419         * sp_form.[Ch]: removed
11420         * spellchecker.[Ch]: removed
11421
11422 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11423
11424         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11425         is set.
11426         (simpleTeXSpecialChars): Simply print the input character without
11427         any special translation if pass_thru is set.
11428
11429         * layout.h: Added bool pass_thru to layout class for being able to
11430         implement pass through of a paragraph for Literate Programming.
11431
11432         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11433         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11434         * layout.C (Read): add "passthru" to list of layout tags and add
11435         code to set the pass_thru boolean when it is read.
11436
11437 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11438
11439         * trans_decl.h: remove allowed from KmodInfo
11440
11441         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11442         remove allowed code
11443         (Load): adjust
11444
11445         * paragraph_pimpl.C (erase): use boost::prior
11446
11447         * Painter.C (text): use data() instead of c_str() when length is
11448         also provided.
11449         * WorkArea.C (putClipboard): ditto
11450         * font.h (width): ditto
11451
11452         * BufferView2.C: use it-> instead of (*it). for iterators
11453         * texrow.C: ditto
11454         * paragraph_pimpl.C: ditto
11455         * paragraph.C: ditto
11456         * minibuffer.C: ditto
11457         * language.C: ditto
11458         * kbmap.C: ditto
11459         * encoding.C: ditto
11460         * counters.C: ditto
11461         * converter.C: ditto
11462         * chset.C: ditto
11463         * Variables.C: ditto
11464         * TextCache.C: ditto
11465         * MenuBackend.C: ditto
11466         * LyXAction.C: ditto
11467         * LColor.C: ditto
11468         * FloatList.C: ditto
11469         * DepTable.C: ditto
11470         * ColorHandler.C (LyXColorHandler): ditto
11471
11472 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11473
11474         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11475
11476         * text2.C (openStuff): reintroduce this method (which had been
11477         nuked in NEW_INSETS frenzy).
11478
11479         * lyxfunc.C (Dispatch): when an action has not been handled, use
11480         its name in the error message, not its number.
11481
11482         * paragraph.C (inInset): change method name to begin with lowercase.
11483
11484         * undo_funcs.C:
11485         * text2.C: updates because of this.
11486
11487 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11488
11489         * ToolbarDefaults.C (add): add spaces in error message
11490
11491 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11492
11493         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11494         (readLyXformat2): rename return_par to first_par, use lyxlex's
11495         pushToken and remove the manual push handling.
11496         (parseSingleLyXformat2Token): add another ert comp. variable:
11497         in_tabular, rename return_par to first_par. handle newlines better
11498
11499 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11500
11501         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11502
11503 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11504
11505         * text2.C (getParFromID): removed
11506
11507         * buffer.C (getParFromID): new method moved form lyxtext.
11508         * BufferView2.C (insertErrors): adjust
11509         (setCursorFromRow): adjust
11510         * BufferView_pimpl.C (restorePosition): adjust
11511         * lyxfunc.C (Dispatch): adjust
11512         * undo_funcs.C (textUndo): adjust
11513         (textRedo): adjust
11514         (textHandleUndo): adjust
11515         (textHandleUndo): adjust
11516
11517 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11518
11519         * buffer.C: up' the LYX_FORMAT
11520
11521         * lyxfont.h: turn NO_LATEX on as default
11522
11523         * buffer.C (insertErtContents): new methods of tex style compability.
11524         (parseSingleLyXformat2Token): use it several places.
11525         * tabular.C (OldFormatRead): and here
11526
11527 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11528
11529         * text2.C: remove some commented code.
11530         reindent file.
11531
11532         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11533         * trans.C: changes because of the above.
11534
11535 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11536
11537         * text2.C (setCounter): Fix counters bug with bibliography layout.
11538
11539 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11540
11541         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11542         own member functions
11543         (simpleTeXSpecialChars): ditto
11544
11545 2001-07-06  Juergen Vigna  <jug@sad.it>
11546
11547         * a lot of files: changed the access to LyXText::status and the
11548         call of undo-functions.
11549
11550         * undo.[Ch]: added a inset_id to the undo informations.
11551
11552         * undo_funcs.[Ch]: added and moved here all undo functions.
11553
11554         * lyxtext.h: give the status enum a weight, made status_ a private
11555         variable and made accessor functions for it, removed the whole bunch
11556         of undo-functions as they are now in their own file, make some
11557         functions publically available. Added function ownerParagraph with
11558         int parameter.
11559
11560         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11561         made InInset() a const function, added getParFromID() function.
11562
11563         * buffer.[Ch]: added const version for inset_iterator functions,
11564         added getInsetFromID() function.
11565
11566         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11567         changed undo functions for new version.
11568
11569 2001-07-05  Juergen Vigna  <jug@sad.it>
11570
11571         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11572         unknow mechanism does not call the proper constructor but only this
11573         one also if I request the other!?
11574
11575 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11576
11577         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11578
11579         * text2.C (LyXText): use initialization lists.
11580
11581         * lyxtext.h (Selection): initialize set_ and mark_
11582         (init): remove method
11583
11584 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11585
11586         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11587
11588 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11589
11590         * screen.[Ch]: change method names to begin with lowercase
11591
11592         * BufferView_pimpl.C (updateScrollbar): simplify further and
11593         hopefully make it a bit faster.
11594
11595 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11596
11597         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11598         calling directly xforms functions.
11599
11600         * Painter.C (Painter):
11601         * lyx_cb.C (MenuWrite):
11602         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11603         fl_display.
11604
11605         * lyx_gui.C: remove bogus guiruntime extern declaration.
11606
11607 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11608
11609         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11610         in NEW_INSETS
11611         (redoDrawingOfParagraph): ditto
11612         (redoParagraphs): ditto
11613         (cutSelection): don't create a object for CutAndPaste use the
11614         static method directly
11615         (pasteSelection): ditto
11616
11617         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11618         LyXview (+ rename)
11619
11620 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11621
11622         * modifications to some other files because of this.
11623
11624         * Makefile.am (lyx_SOURCES): add XFormsView
11625
11626         * XFormsView.[Ch]: new files
11627
11628         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11629         the main window. Move the gui dependent stuff to XFormsView
11630
11631 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11632
11633         * tabular.C (GetCellInset): update cur_cell also in the row/col
11634         version of this function.
11635
11636         * lyxfunc.C: no need to include figure_form.h here.
11637
11638         * FontLoader.h:
11639         * lyxfunc.h:
11640         * lyxscreen.h:
11641         * text2.C:
11642         * lyxvc.C: no need to include forms.h here.
11643
11644 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11645
11646         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11647
11648         * lyxfunc.C (Dispatch):
11649         * Spacing.C (set):
11650         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11651         constructor argument.
11652
11653 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11654
11655         * paragraph.C (Paragraph): dont't clear, and just set layout.
11656         (makeSameLayout): use params's copy contructor.
11657
11658         * ParagraphParameters.[Ch] (makeSame): delete method
11659
11660 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11661
11662         * Variables.[Ch]: fix indentation, rename set to isSet
11663
11664 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11665
11666         * lyxfunc.C (Dispatch): fix typo
11667
11668 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11669
11670         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11671         upper_bound.
11672
11673         * bufferlist.C: include assert.h for emergencyWrite().
11674
11675 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11676
11677         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11678           give up at last (bug #425202) !
11679
11680 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11681
11682         * lyx_gui_misc.C:
11683         * sp_form.h:
11684         * sp_form.C:
11685         * spellchecker.h:
11686         * spellchecker.C: strip spellchecker options and bring up
11687           preferences tab instead
11688
11689 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11690
11691         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11692         the istringstream constructor
11693
11694 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11695
11696         * paragraph.C (getLayout): fix return value
11697
11698         * paragraph.h: do not declare getLayout as inline.
11699
11700         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11701
11702 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11703
11704         * lyxcursor.h (operator<): new func
11705         (operator>): new func
11706         (operator>=): new func
11707         (operator<=): new func
11708
11709         * text.C (changeCase): use selection.start and selection.end
11710         (changeRegionCase): require from to be <= to. Require par to be a
11711         valid paragraph.
11712
11713         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11714
11715 2001-06-27  Juergen Vigna  <jug@sad.it>
11716
11717         * text.C (cursorLeftOneWord): changed to return the cursor and added
11718         overlay with BufferView * parameter which calls this one.
11719         (getWord): added
11720         (selectWord): use new getWord function.
11721         (changeCase): renamed from changeWordCase as and extended to work
11722         also on selections.
11723
11724         * lyxtext.h: added enum word_location
11725
11726         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11727         changeCase as this operates now also on selections.
11728
11729 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11730
11731         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11732
11733         * many files: send debug output to Debug::INFO instead of
11734         Debug::ANY.
11735
11736         * converter.C (View):
11737         (Convert):
11738         (Move): send debug output to Debug::FILES instead of console.
11739
11740 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11741
11742         * lyxfunc.C (getStatus): use func_status
11743
11744         * func_status.h: new header, describing the results of
11745         LyXFunc::getStatus;
11746
11747         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11748         LFUN_MATH_HALIGN.
11749
11750 2001-06-25  The LyX Project  <jug@sad.it>
11751
11752         * buffer.C (sgmlOpenTag):
11753         (sgmlCloseTag):
11754         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11755
11756 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11757
11758         * text2.C: remove some dead code
11759
11760         * tabular.C (GetCellInset): store the last cell checked (gotten)
11761
11762         * tabular.h: add the helper for the speedup
11763
11764         * lyxtext.h: remove some dead code
11765
11766 2001-06-26  The LyX Project  <Asger>
11767
11768         * paragraph.C: Change export to LaTeX of alignment to
11769         \begin{center} and family for better roundtrip work with reLyX.
11770
11771         * Tune the math drawing a bit.
11772
11773 2001-06-25  The LyX Project  <Asger>
11774
11775         * LColor.C (LColor): New color for math background. New color
11776         for buttons.
11777
11778 2001-06-25  The LyX Project  <jug@sad.it>
11779
11780         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11781
11782         * lyxfunc.C (Open):
11783         * bufferlist.C (newFile): do not restrict to files ending with
11784         .lyx
11785
11786         * BufferView_pimpl.C (MenuInsertLyXFile):
11787
11788 2001-06-24  The LyX Project  <jug@sad.it>
11789
11790         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11791         of compare_no_case
11792
11793 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11794
11795         * lyxtext.h: rename most methods to begin with a small char.
11796         Lots of changes because of this.
11797
11798         * paragraph.C (Paragraph): do not call fitToSize
11799         (erase): call Pimpl::erase
11800         (insertChar): call Pimpl::insertChar
11801         (insertInset): call Pipl::insertInset
11802         (breakParagraph): do not call fitToSize
11803         (breakParagraphConservative): do not call fitToSize
11804         (fitToSize): remove method
11805
11806         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11807
11808 2001-06-24  The LyX Project  <Asger>
11809
11810         * Fix Qt compilation^2
11811
11812 2001-06-24  The LyX Project  <jug@sad.it>
11813
11814         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11815         depthHook(getDepth()-1).
11816
11817         * paragraph.h:
11818         * ParagraphParameters.h:
11819         * ParameterStruct.h: change type of depth to unsigned int ==
11820         depth_type. Many adaptations to other files before of that.
11821
11822 2001-06-24  The LyX Project  <Asger>
11823
11824         * Fix Qt compilation.
11825
11826 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11827
11828         * paragraph.h: renamed several methods to begin with small letter.
11829         several changes to many parts of the code because of this.
11830
11831 2001-06-23  The LyX Project  <jug@sad.it>
11832
11833         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11834         rewritten to discard all double spaces when KeepEmpty is off
11835         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11836         to only handle newlines but not fiddle with spaces and friends.
11837
11838         * lyxfunc.C (MenuNew): when doing 'new from template', use
11839         template_path as default directory
11840
11841 2001-06-23  The LyX Project  <Asger>
11842
11843         * Clean-up of header file includes all over
11844         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11845
11846 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11847
11848         * paragraph.h: renamed from lyxparagraph.h
11849
11850 2001-06-23  Asger  <lyx@violet.home.sad.it>
11851
11852         * Buffer.h: Removed Buffer::resize
11853         * BufferList.h: Removed BufferList::resize
11854         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11855         the document lazily when we change the width, or the font settings.
11856
11857 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11858
11859         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11860
11861 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11862
11863         * buffer.h: remove out of date comment
11864
11865 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11866
11867         * lyxscreen.h:
11868         * screen.C: fix "theoretical" GC leak
11869
11870 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11871
11872         * LaTeX.C (scanAuxFile):
11873         (deplog): remove trailing \r when reading stream (useful under
11874         win32)
11875
11876 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11877
11878         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11879         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11880         and BufferView::theLockingInset(Inset*), so should use them and not
11881         access bv_->text->the_locking_inset directly.
11882
11883         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11884
11885 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11886
11887         * Makefile.am:
11888         * tex-defs.h: remove old unused file
11889
11890 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11891
11892         * BufferView_pimpl.C: fix typo, remove minibuffer message
11893           when buffer has loaded
11894
11895 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11896
11897         * lyxfunc.C (Dispatch): use stringstream
11898         (MenuNew): use stringstream
11899         (Open): use stringstream
11900
11901         * importer.C (Import): use stringstream
11902
11903         * bufferview_funcs.C (CurrentState): use stringstream
11904
11905         * LaTeX.C (run): use stringstream
11906
11907         * BufferView_pimpl.C (savePosition): use stringstream
11908         (restorePosition): use stringstream
11909         (MenuInsertLyXFile): use stringstream
11910
11911 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11912
11913         * BufferView.C:
11914         * Bullet.C:
11915         * ColorHandler.C:
11916         * FontInfo.C:
11917         * FontLoader.C:
11918         * LColor.C:
11919         * LaTeXFeatures.C:
11920         * Painter.C:
11921         * gettext.C:
11922         * lyx_gui_misc.C:
11923         * lyxserver.C:
11924         * vspace.C: removed // -*- C++ -*- as first line.
11925
11926         * lyxfind.h:
11927         * version.h: added // -*- C++ -*- as first line.
11928
11929 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11930
11931         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11932
11933         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11934         of string
11935
11936 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11937
11938         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11939         of floats.
11940
11941 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11942
11943         * gettext.C: include LString.h even when --disable-nls is on.
11944
11945 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11946
11947         * converter.h (Get): changed argument type from int to
11948         FormatList::size_type to avoid unnecessary conversion.
11949
11950         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11951         before using it.
11952
11953 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11954
11955         * gettext.h: include LString.h even when --disable-nls is on.
11956
11957 2001-06-07  Juergen Vigna  <jug@sad.it>
11958
11959         * text.C (BreakAgain): subst spaces with tabs.
11960
11961         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11962         (resizeInsetsLyXText): set force on resizeLyXText.
11963
11964 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11965
11966         * gettext.h (gettext_init):
11967         (locale_init): use a real definition instead of a macro
11968
11969 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11970
11971         * Bufferview_pimpl.C:
11972         * LColor.h:
11973         * LColor.C: further lcolor tidies
11974
11975 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11976
11977         * BufferView_pimpl.C (updateScrollbar): simplify.
11978
11979         * BufferView2.C: don't include insets/insetinfo.h, change
11980         prototype for insertInset and call the Pimpl version. let
11981         updateInset call Pimpl version.
11982
11983         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11984         gotoInset to BufferView::Pimpl
11985
11986 2001-06-01  Juergen Vigna  <jug@sad.it>
11987
11988         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11989         inside a LockingInset (is the update needed at all?).
11990
11991 2001-05-31  Juergen Vigna  <jug@sad.it>
11992
11993         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11994         here not the old one otherwise how should we compare it afterwards
11995         if it's the same!
11996
11997 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11998
11999         * lyxfont.C:
12000         * tabular.C:
12001         * tabular-old.C:
12002         * FontInfo.C: bring C functions into global namespace when
12003         necessary
12004
12005 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12006
12007         * LString.h: make sure config.h has been loaded before LString.h.
12008
12009         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12010         (one for each char read by EatLine!).
12011
12012         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12013         variables.
12014
12015 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12016
12017         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12018         to the same as the par we break from
12019
12020 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12021
12022         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12023
12024         * MenuBackend.C (expand): also create menu entries for wide
12025         versions of the floats.
12026
12027         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12028
12029         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12030
12031         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12032         frontends/Makefile.am
12033
12034         * text2.C: adjust
12035         * text.C: adjust
12036
12037
12038         * tabular.C (getTokenValue): add std::
12039
12040         * tabular-old.C (getTokenValue): add std::
12041         (getTokenValue): ditto
12042         (getTokenValue): ditto
12043
12044         * screen.C (ToggleSelection): adjust
12045
12046         * lyxtext.h: put selection cursors inside a Selection struct.
12047
12048         * lyxfunc.C (moveCursorUpdate): adjust
12049
12050         * lyxfont.C (latexWriteStartChanges): add std::
12051
12052         * lyxfind.C: adjust
12053
12054         * font.h: delete with(char const *, LyXFont const &)
12055
12056         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12057
12058         * FontInfo.C (getFontname): add std::
12059
12060         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12061         (workAreaButtonPress): adjust
12062         (tripleClick): adjust
12063         (update): adjust
12064         (moveCursorUpdate): adjust
12065         (Dispatch): adjust
12066
12067         * BufferView2.C (gotoInset): adjust
12068
12069 2001-05-30  Juergen Vigna  <jug@sad.it>
12070
12071         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12072         to check pspell I add this as default as I now have new pspell
12073         libraries and they seem to use this.
12074
12075 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12076
12077         * text2.C (CutSelection): make the cursor valid before the call to
12078         ClearSelection.
12079
12080 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12081
12082         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12083         relied on 0 terminated strings and other horrors. Bug found due to
12084         the new assert in lyxstring!
12085
12086         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12087         KP_ keys.
12088
12089 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12090
12091         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12092         to latinkeys.bind.
12093
12094         * lyxfunc.C (processKeySym): change method of getting to the
12095         self-insert char.
12096
12097         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12098         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12099         * BufferView_pimpl.[Ch]: here as private methods.
12100
12101 2001-05-28  Juergen Vigna  <jug@sad.it>
12102
12103         * text.C (SetHeightOfRow): added the update() call again as it is
12104         needed to initialize inset dimensions!
12105
12106 2001-05-16  Juergen Vigna  <jug@sad.it>
12107
12108         * text2.C (SetCharFont): Add new function with BufferView * and
12109         bool toggleall parameters for setting insets internal fonts.
12110         (SetFont): Freeze the undo as we may change fonts in Insets and
12111         all this change should be inside only one Undo!
12112
12113         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12114         setting font's in insets as for them we have the SetFont function!
12115
12116 2001-05-15  Juergen Vigna  <jug@sad.it>
12117
12118         * text2.C (ClearSelection): to be sure we REALLY don't have any
12119         selection anymore!
12120
12121         * tabular.C (TeXCellPreamble): fixed the left border problem for
12122         multicolumn cells.
12123
12124 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12125
12126         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12127         dependancy file
12128
12129 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12130
12131         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12132         LFUN_BREAKPARAGRAPH.
12133
12134         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12135         help test to "internal only", similar for LFUN_INSERT_URL
12136
12137         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12138         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12139         auto_region_delete and deadkeys.
12140
12141 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12142
12143         * LColor.h:
12144         * LColor.C: remove some dead entries, tidy a little
12145
12146 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12147
12148         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12149         commented code.
12150         (Dispatch): implement LFUN_ESCAPE
12151
12152         * commandtags.h: add LFUN_ESCAPE
12153
12154         * LyXAction.C (init): add entry for LFUN_ESCAPE
12155
12156         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12157         Remove commented code.
12158         (insertNote): moved here
12159         (open_new_inset): moved here
12160
12161         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12162         BufferView_pimpl
12163
12164 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12165
12166         * kbmap.C (findbinding): clean it up and make it work correctly.
12167
12168         * lyx_main.C (init): do not pass argc and argv as parameters
12169
12170 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12171
12172         * buffer.C: fix path for OS/2 & Win32
12173
12174         * lyx_gui.C:
12175         * lyx_main:
12176         * lyx_main.C: Added os:: class.
12177
12178         * os2_defines.h: update
12179
12180 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12181
12182         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12183         better by trying again with reduced state.
12184
12185 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12186
12187         * lyxrc.C (read): print error about invalid key sequence only when
12188         debugging (because not all latinX keysyms are known to some X
12189         servers)
12190
12191         * kbsequence.C (getiso): add a few std:: qualifiers
12192         (getiso): comment out extra return statement.
12193
12194 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12195
12196         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12197         handling.
12198         (Dispatch): enhance the accent inset a bit. (not perfect)
12199
12200 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12201
12202         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12203
12204 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12205
12206         * bufferlist.C (emergencyWrite): fix assert() call
12207
12208 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12209
12210         * text.C (InsertChar): Added trivial patch to only send the "you
12211         can not do multiple spaces this way" message once during a
12212         session.
12213
12214 2001-05-08  Baruch Even  <baruch@lyx.org>
12215
12216         * Makefile.am: Changed order of libraries to get LyX to link properly
12217         with the gnome frontend.
12218
12219 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12220
12221         * LaTeXFeatures.h: add a std:: qualifier
12222
12223 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12224
12225         * paragraph.C (String): use stringstream
12226
12227 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12228
12229         * paragraph.C (writeFile): remove footflag arg
12230
12231         * buffer.C (makeLaTeXFile): use stringstream
12232         (latexParagraphs): remove footnot gurba
12233
12234         * LaTeXFeatures.C (getPackages): use stringstream
12235         (getMacros): likewise
12236         (getTClassPreamble): likewise
12237         (getFloatDefinitions): new method
12238
12239         * paragraph.C (writeFile): reindent
12240         (Erase): reindent
12241
12242         * WorkArea.h: revert the xpos + etc changes.
12243
12244         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12245
12246         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12247
12248         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12249         (pasteSelection): likewise
12250         * text2.C (CreateUndo): likewise
12251
12252 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12253
12254         * minibuffer.C (peek_event): temporarily reduce the functionality
12255         of the minibuffer (to allow args on lfuns)
12256
12257         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12258         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12259
12260         * buffer.C (readInset): add compability reading of old float
12261         lists, add reading of new style float list.
12262         (readInset): avoid reevaluation of inscmd.getCmdName()
12263         (getLists): reindent
12264
12265         * MenuBackend.C (MenuItem): implement parsing of
12266         md_floatlistinsert and md_floatinsert.
12267         (expand::LastFiles): move initalizaton of iterators out of loop,
12268         avoid reevaluation.
12269         (expand::Documents): introduce typdedef vector<string> Strings,
12270         and use it.
12271         (expand::ExportFormats): introduce typedef vector<Format const *>
12272         Formats, and use it.
12273         (expand): implement FloatListInsert and FloatInsert.
12274
12275         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12276         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12277         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12278
12279         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12280         handling.
12281         (Dispatch::LFUN_FLOAT_LIST): implement
12282
12283 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12284
12285         * LaTeX.C (run): Fix problem with --export code.
12286
12287 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12288
12289         * BufferView.[Ch] (workarea): removed.
12290         (getClipboard) new method; wrapper for workarea()->getClipboard()
12291
12292         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12293         bug.
12294
12295         * WorkArea.h (width, height, xpos, ypos): These methods all
12296         returned the dimensions of the work_area sub-area of WorkArea,
12297         resulting in a position error if the WorkArea were resized. Now
12298         return the dimensions of the entire WorkArea.
12299
12300         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12301
12302 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12303
12304         * LaTeX.C (deplog): correct the syntax of regex reg1
12305
12306 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12307
12308         * undo.C: remove !NEW_INSETS cruft
12309
12310 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12311
12312         * text2.C: remove !NEW_INSETS cruft
12313
12314         * text.C: remove !NEW_INSETS cruft
12315
12316         * tabular.C: remove !NEW_INSETS cruft
12317
12318         * spellchecker.C: remove !NEW_INSETS cruft
12319
12320         * lyxtext.h: remove !NEW_INSETS cruft
12321
12322         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12323
12324         * lyxfunc.C: remove !NEW_INSETS cruft
12325
12326         * lyxfind.C: remove !NEW_INSETS cruft
12327
12328         * lyx_cb.C: remove !NEW_INSETS cruft
12329
12330         * figureForm.C: remove  !NEW_INSETS cruft
12331
12332         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12333
12334         * buffer.[Ch]: remove !NEW_INSETS cruft
12335
12336         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12337
12338         * CutAndPaste.C: remove !NEW_INSETS cruft
12339
12340         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12341
12342         * BufferView2.C: remove !NEW_INSETS cruft
12343
12344         * BufferView.h: remove !NEW_INSETS cruft
12345
12346 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12347
12348         * Lsstream.h: include LString.h before the sstream headers to
12349         fix problem with gcc 2.95.3 and lyxstring
12350
12351 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12352
12353         * lyx_main.C: add using directives when needed for C functions
12354         declared in std:: namespace.
12355
12356 2001-04-27  Juergen Vigna  <jug@sad.it>
12357
12358         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12359         (SetHeightOfRow): comment out the update call should not be needed!
12360
12361 2001-04-13  Juergen Vigna  <jug@sad.it>
12362
12363         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12364         (LyXTabular): tried to minimize operator= operations (and realized
12365         hopfully Lars wish).
12366
12367 2001-04-27  Juergen Vigna  <jug@sad.it>
12368
12369         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12370
12371 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12372
12373         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12374
12375         * buffer.C (readInset): hack to make listof algorithm work
12376
12377         * BufferView_pimpl.C: hack to make listof algorithm work
12378
12379 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12380
12381         * LyXAction.C: removed all !NEW_INSETS cruft
12382         (init): moved lfun_item in method
12383
12384         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12385
12386 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12387
12388         * BufferView2.C (theLockingInset): white space.
12389
12390 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12391
12392         * minibuffer.C: include <iostream>
12393
12394         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12395
12396         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12397
12398         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12399
12400         * text.[Ch] (TransposeChars): new method
12401
12402 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12403
12404         * call message directly through LyXView instead of through LyXFunc
12405         * BufferView2.C: adjust
12406         * BufferView_pimpl.C: adjust
12407         * FontLoader.C: adjust
12408         * buffer.C: adjust
12409         * bufferview_funcs.C: adjust
12410         * converter.C: adjust
12411         * figureForm.C: adjust
12412         * importer.C: adjust
12413         * lyx_cb.C: adjust
12414         * lyx_gui_misc.C: adjust
12415         * lyxfunc.C: adjust
12416         * lyxvc.C: adjust
12417         * text2.C: adjust
12418         + more files in subdirs
12419
12420         * lyxparagraph.h (size): move up int file
12421         (GetLayout): ditto
12422
12423         * adjust all uses of Assert to lyx::Assert.
12424
12425         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12426         lyxfunctional in namespace lyx
12427         * layout.C (hasLayout): ditto
12428         (GetLayout): ditto
12429         (GetLayout): ditto
12430         (delete_layout): ditto
12431         (NumberOfClass): ditto
12432         * converter.C (GetFormat): ditto
12433         (GetNumber): ditto
12434         (Add): ditto
12435         (Delete): ditto
12436         (SetViewer): ditto
12437         * bufferlist.C (getFileNames): ditto
12438         (emergencyWriteAll): ditto
12439         (exists): ditto
12440         (getBuffer): ditto
12441         * MenuBackend.C (hasSubmenu): ditto
12442         (hasMenu): ditto
12443         (getMenu): ditto
12444         * BufferView_pimpl.C (getInsetByCode): ditto
12445
12446 2001-04-18  Juergen Vigna  <jug@sad.it>
12447
12448         * vspace.C (asLatexString): fixed the 100% problem.
12449
12450 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12451
12452         * lyxfunc.C (Dispatch):
12453         * minibuffer.C:
12454         * minibuffer.h: add a few std:: qualifiers
12455
12456 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12457
12458         * minibuffer.[Ch]: reimplement so that commands is initiated and
12459         run from lyxfunc, simplified som handling, and made the completion
12460         and history code for complete. wip.
12461
12462         * lyxfunc.C (processKeySym): call message
12463         (miniDispatch): new temporary method
12464         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12465         (LFUN_MESSAGE): implement
12466         (LFUN_MESSAGE_PUSH): implement
12467         (LFUN_MESSAGE_POP): implement
12468         (initMiniBuffer): the initial/defualt minibuffer message.
12469
12470         * lyxfont.[Ch]: inline some more getters
12471
12472         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12473
12474         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12475
12476         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12477         (AutoSave): use LFUN_MESSAGE
12478         (Reconfigure): ditto
12479
12480         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12481
12482         * figureForm.C: use LFUN_MESSAGE
12483
12484         * converter.C (runLaTeX): use LFUN_MESSAGE
12485
12486         * bufferview_funcs.C: use LFUN_MESSAGE
12487         (Melt): ditto
12488         (changeDepth): ditto
12489
12490         * bufferparams.h: use boost::
12491
12492         * bufferlist.h: inherit privately from noncopyable
12493
12494         * bufferlist.C (loadLyXFile): remove some commented code.
12495
12496         * buffer.C (runChktex): use LFUN_MESSAGE
12497
12498         * ShareContainer.h: inherit privately from noncopyable
12499
12500         * ParagraphParameters.[hC] (depth): inline it.
12501
12502         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12503         methods.
12504         (message): new method
12505         (messagePush): ditto
12506         (messagePop): ditto
12507         (show): init minibuffer
12508         (showState): direct call
12509
12510         * LaTeX.[Ch]: inherit privately from noncopyable
12511         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12512         instead of WriteStatus.
12513
12514         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12515
12516         * BufferView_pimpl.C (buffer): don't init minibuffer
12517         (workAreaButtonPress): use LFUN_MESSAGE
12518         (workAreaButtonRelease): ditto
12519         (savePosition): ditto
12520         (restorePosition): ditto
12521         (MenuInsertLyXFile): ditto
12522         (workAreaExpose): don't init minibuffer
12523         (update): remove commented code, simplify
12524
12525         * BufferView2.C (openStuff): use LFUN_MESSAGE
12526         (toggleFloat): ditto
12527         (menuUndo): ditto
12528         (menuRedo): ditto
12529         (copyEnvironment): ditto
12530         (pasteEnvironment): ditto
12531         (copy): ditto
12532         (cut): ditto
12533         (paste): ditto
12534         (gotoInset): ditto
12535         (updateInset): remove some commented code
12536
12537         * lastfiles.h: inherit privately from noncopyable
12538         * layout.h: ditto
12539         * lyx_gui.h: ditto
12540         * lyx_main.h: ditto
12541         * lyxlex.h: ditto
12542         * lyxlex_pimpl.h: ditto
12543
12544         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12545         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12546         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12547
12548         * LyXAction.h: inherit privately from noncopyable, add methods
12549         func_begin, func_end, returning iterators to the func map.
12550
12551         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12552         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12553         (func_begin): new method
12554         (func_end): new method
12555
12556         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12557         and not)
12558         (copySelection): ditto
12559         (pasteSelection): ditto
12560
12561         * BufferView.C: whitespace change
12562         * BufferView.h: inherit privately from noncopyable
12563
12564 2001-04-16  Allan Rae  <rae@lyx.org>
12565
12566         * tabular-old.C (l_getline):
12567         * spellchecker.C (sc_check_word):
12568         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12569         an unrecognised preprocessor directive.  So ensure they're wrapped.
12570
12571 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12572
12573         * src/exporter.C (Export): Give an error message when path to file
12574         contains spaces.
12575
12576 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12577
12578         * LaTeX.C (deplog): Always check that foundfile exists.
12579
12580 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12581
12582         * lyx_main.h:
12583         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12584
12585 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12586
12587         * tabular.[Ch] (getLabelList): implement new method
12588
12589         * minibuffer.h: comment ouf setTiimer
12590
12591         * minibuffer.C (ExecutingCB): constify res
12592         (peek_event): constify s
12593         (Set): constify ntext
12594         (Init): constify nicename
12595
12596         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12597
12598         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12599         (savePosition): use two params to Minibuffer::Set
12600         (restorePosition): ditto
12601
12602 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12603
12604         * lyx_main.C: include language.h
12605
12606         * Makefile.am (lyx_main.o): add language.h
12607
12608 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12609
12610         * exporter.C:
12611         * paragraph.C:
12612         * screen.C:
12613         * tabular.C:
12614         * CutAndPaste.C: include gettext.h
12615
12616         * lyxfont.h: remove old hack with ON and OFF.
12617
12618         * lyxparagraph.h:
12619         * lyxfont.h: do not include language.h...
12620
12621         * BufferView2.C:
12622         * LaTeXFeatures.C:
12623         * Painter.C:
12624         * bufferview_funcs.C:
12625         * font.C:
12626         * lyxfont.C:
12627         * text.C:
12628         * text2.C:
12629         * trans_mgr.C:
12630         * paragraph.C: ... but do it here instead
12631
12632 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12633
12634         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12635
12636         * tabular.C: small reformat
12637
12638         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12639         NEW_INSETS version
12640         (GetChar): ditto
12641         (BreakParagraph): ditto
12642         (SetOnlyLayout): ditto
12643         (SetLayout): ditto
12644
12645         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12646         with one arg less.
12647
12648         * lastfiles.C: removed most using decl, add std:: where needed
12649
12650         * buffer.C: ws changes
12651
12652         * MenuBackend.C (class compare_format): put into anon namespace
12653         (expand): constify label, names, action, action2
12654         (expand):
12655
12656         * text.C (SingleWidth): constify font
12657         (IsBoundary): constify rtl2
12658         (GetVisibleRow): constify ww
12659
12660         * LaTeX.C (deplog): constify logfile
12661
12662         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12663         start_x, end_x
12664         (workAreaExpose): constify widthChange, heightChange
12665
12666         * lyxrow.C (par): moved
12667         (height): moved
12668         (next): moved
12669         * lyxrow.h: as inlines here
12670
12671         * lyxfont.h (shape): moved from lyxfont.C
12672         (emph): moved from lyxfont.C
12673
12674         * lyxfont.C (LyXFont): use initialization list for all
12675         constructors
12676         (shape): move to lyxfont.h as inline
12677         (emph): move to lyxfont.h as inline
12678
12679
12680 2001-04-04  Juergen Vigna  <jug@sad.it>
12681
12682         * vspace.C: had to include stdio.h for use of sscanf
12683
12684 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12685
12686         * BufferView.h:
12687         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12688         independent of xforms.
12689
12690 2001-04-02  Juergen Vigna  <jug@sad.it>
12691
12692         * spellchecker.C: fixed namespace placing!
12693
12694 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12695
12696         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12697         the LyXParagraph * is 0.
12698
12699 2001-03-29  Juergen Vigna  <jug@sad.it>
12700
12701         * vspace.C: added support for %, c%, p%, l%.
12702         (stringFromUnit): added helper function.
12703         (asLatexString): changed to give right results for the %-values.
12704
12705         * buffer.C: convert the widthp in a width%.
12706
12707 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12708
12709         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12710         figureForm.[Ch].
12711
12712         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12713         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12714
12715         * lyx_cb.[Ch]: see above.
12716
12717         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12718         form1.[Ch].
12719
12720         * form1.[Ch]:
12721         * lyx.[Ch]: replaced by figure_form.[Ch].
12722
12723         * lyx_gui.C:
12724         * lyx_gui_misc.C:
12725         * lyxfunc.C: changed headers associated with above changes.
12726
12727 2001-03-27  Juergen Vigna  <jug@sad.it>
12728
12729         * BufferView_pimpl.C: set the temporary cursor right!
12730
12731 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12732
12733         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12734
12735 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12736
12737         * LString.h: removed "using std::getline"!
12738
12739         * BufferView_pimpl.C (Dispatch): changes due to changes in
12740         InsetInclude::Params.
12741
12742         * buffer.C (tag_name): removed redundant break statements as they were
12743         producing lots of warnings with my compiler.
12744
12745 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12746
12747         * LString.h: add "using std::getline" when using the real <string>.
12748
12749 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12750
12751         * buffer.C: removed bitset usage.
12752         PAR_TAG moved to an anonymous name space.
12753         (tag_name): new funtion, also in the anonymous namespace.
12754         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12755         (makeDocBookFile): clean code. Completed transition from string arrays
12756         to string vectors.
12757         (SimpleDocBookOnePar): code clean.
12758
12759 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12760
12761         * tabular.C: add some comments.
12762
12763 2001-03-22  Juergen Vigna  <jug@sad.it>
12764
12765         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12766         compatibility read a bit and fixed bug with minipage in different
12767         depth.
12768
12769 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12770
12771         * buffer.C (pop_tag): removed.
12772         (push_tag): removed.
12773         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12774         array replaced with vector. Added support for CDATA sections.
12775         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12776         at any nest level.
12777         (makeDocBookFile): XML conformant declaration of CDATA section,
12778         fixed bug related to <emphasis> in the first paragraph char.
12779         (sgmlOpenTag): exclude empty tags.
12780         (sgmlCloseTag): ditto.
12781
12782         * buffer.h (pop_tag): removed.
12783         (push_tag): removed.
12784
12785 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12786
12787         * language.h (Languages): added size_type and size().
12788
12789 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12790
12791         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12792         response on compability reading of minipages. One probliem is that
12793         the old usage of minipages was «flertydig»
12794
12795         * several files here and in subdirs: don't use static at file
12796         scope use anon namespaces instead.
12797
12798 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12799
12800         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12801         LaTeX output. This is necessary for Literate document
12802         processing.
12803
12804 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12805
12806         * buffer.C: insert hfill when needed.
12807
12808         * tabular.C (l_getline): use string::erase, small whitespace change.
12809
12810         * BufferView_pimpl.C: try the anon namespace.
12811         * WorkArea.C: ditto
12812
12813 2001-03-16  Juergen Vigna  <jug@sad.it>
12814
12815         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12816         otherwise it won't open options-dialogs.
12817
12818         * buffer.C: honor pextraWidth(p) on converting minipages.
12819
12820         * tabular.C (l_getline): changed the functions to strip trailing \r.
12821
12822 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12823
12824         * BufferView_pimpl.C:
12825         * minibuffer..C: added "using SigC::slot" declaration.
12826
12827 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12828
12829         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12830
12831         * text2.C: ditto
12832
12833         * text.C: ditto
12834
12835         * paragraph.C: ditto
12836
12837         * lyxtext.h: NO_PEXTRA
12838
12839         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12840
12841         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12842         * ParameterStruct.h: ditto
12843         * ParagraphParameters.h: ditto
12844         * lyxparagraph.h: ditto
12845
12846 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12847
12848         * buffer.C: add compability for minipage alignment.
12849         (latexParagraphs): remove unwanted pextra check.
12850
12851         * several files: remove CXX_WORKING_NAMESPACES
12852
12853         * buffer.C (pop_tag): tie is in namespace boost
12854
12855         * BufferView.h: noncopyable is in namespace boost
12856         * lyxlex.h: ditto
12857         * lyx_main.h: ditto
12858         * lyx_gui.h: ditto
12859         * layout.h: ditto
12860         * lastfiles.h: ditto
12861         * bufferlist.h: ditto
12862         * ShareContainer.h: ditto
12863         * LyXView.h: ditto
12864         * LyXAction.h: ditto
12865         * LaTeX.h: ditto
12866
12867 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12868
12869         * Merging changes from BRANCH_MVC back into HEAD.
12870
12871         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12872
12873 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12874
12875         * BufferView_pimpl.C: change from intl.C
12876
12877         * combox.h:
12878         * combox.C:
12879         * Makefile.am: move combox.*
12880
12881         * form1.h:
12882         * form1.C:
12883         * lyx_gui.C:
12884         * intl.h:
12885         * intl.C: remove dialog (covered by prefs)
12886
12887 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12888
12889         * lyxfunc.C (Dispatch): removed redundant break statement.
12890
12891 2001-03-14  Juergen Vigna  <jug@sad.it>
12892
12893         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12894
12895 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12896
12897         * buffer.C: add hack to fix compability reading of minipages.
12898
12899 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12900
12901         * buffer.C (getLists): Cleanup.
12902
12903 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12904
12905         * lyxfont.C (update): don't honor toggleall on font size.
12906
12907 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12908
12909         * bmtable.c:
12910         * bmtable.h:
12911         * Makefile.am: moved to frontends/xforms/
12912
12913         * lyx_gui_misc.C:
12914         * lyxfunc.C:
12915         * BufferView_pimpl.C: changes for moved mathpanel
12916
12917 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12918
12919         * gettext.h: fix gettext_init() in --disable-nls
12920
12921 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12922
12923         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12924
12925 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12926
12927         * lyx.C:
12928         * lyx.h: strip external form
12929
12930 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12931
12932         * BufferView_pimpl.C: add comment, destroySplash()
12933
12934 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12935
12936         * BufferView_pimpl.C:
12937         * LyXAction.C:
12938         * buffer.C:
12939         * commandtags.h:
12940         * lyxfunc.C: use re-worked insetinclude
12941
12942 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12943
12944         * buffer.C: add using std::stringstream.
12945
12946         * lyx_cb.C: readd using std::ios.
12947
12948         * buffer.C: add using std::map.
12949
12950         * BufferView_pimpl.C: add using std::vector.
12951
12952         * ShareContainer.h: add std:: to swap.
12953
12954         * buffer.h: add some typedefs
12955         * buffer.C (getLists): use them
12956         (getLists): renamed from getTocList.
12957         add a counter for the different float types and use it in the
12958         generated string.
12959         (getLists): use the same counter for the NEW_INSETS and the "non"
12960         NEW_INSETS
12961
12962         * lyx_cb.h: remove unused items, includes, using etc.
12963
12964         * ShareContainer.h: remove some commented code, add more comments
12965         and "documentation".
12966
12967 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12968
12969         * buffer.C (getTocList): make the list also when NEW_INSETS is
12970         defined.
12971
12972         * buffer.h: remove TocType
12973
12974         * buffer.C (getTocList): change to return a map<string,
12975         vector<TocItem> >, implement for dynamic number of list.
12976
12977         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12978         * text2.C (PasteSelection): adjust
12979         * CutAndPaste.C (pasteSelection): adjust
12980
12981         * FloatList.C (FloatList): update from the new_insets branch.
12982         * Floating.[Ch]: ditto
12983         * LaTeXFeatures.C: ditto
12984         * buffer.C: ditto
12985         * lyxlex_pimpl.C: ditto
12986
12987         * paragraph.C (Last): remove when NEW_INSETS is defined.
12988
12989         * other file: changes because of the above.
12990
12991 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12992
12993         * lyxparagraph.h: rename next to next_, previous to previous_,
12994         make them private for NEW_INSETS. Rename Next() to next(),
12995         Previous() to previous().
12996
12997         * other files: changes because of the above.
12998
12999 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13000
13001         * BufferView.h:
13002         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13003         problem.
13004
13005 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13006
13007         * main.C (main): pass lyx_localedir to gettext_init().
13008
13009         * gettext.h: remove locale_init and gettext_init macros
13010
13011         * gettext.C (locale_init): new function
13012         (gettext_init): new function
13013
13014         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13015         setlocale().
13016
13017 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13018
13019         * Moved credits to frontends:
13020         * credits.[Ch]: removed
13021         * credits_form.[Ch]: removed
13022         * lyx_gui_misc.C: remove credits stuff
13023         * Makefile.am:
13024
13025 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13026
13027         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13028
13029         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13030         unneeded destructor.
13031
13032         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13033         a standalone pointer again.
13034
13035         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13036
13037 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13038
13039         * Makefile.am:
13040         * filedlg.h:
13041         * filedlg.C:
13042         * LyXAction.C:
13043         * ToolbarDefaults.C:
13044         * bufferlist.C:
13045         * commandtags.h:
13046         * form1.C:
13047         * form1.h:
13048         * lyx_cb.C:
13049         * lyx_cb.h:
13050         * lyxfunc.h:
13051         * lyxfunc.C:
13052         * BufferView_pimpl.C: use new file dialog in GUII
13053
13054         * lyx_cb.h:
13055         * lyx_cb.C: remove LayoutsCB to Toolbar
13056
13057 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13058
13059         * ShareContainer.h (get): add std:: qualifier
13060
13061 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13062
13063         * ShareContainer.h: define a proper ShareContainer::value_type
13064         type (and use typename to please compaq cxx)
13065
13066 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13067
13068         * lyxparagraph.h: move serveral local vars to
13069         ParameterStruct/ParagraphParameters., use ShareContainer in
13070         FontTable., make vars in FontTable private and add getter and
13071         setter.
13072
13073         * paragraph.C: changes because of the above.
13074
13075         * lyxfont.h: remove copy constructor and copy assignment. (the
13076         default ones is ok), move number inside FontBits. move inlines to
13077         lyxfont.C
13078
13079         * lyxfont.C: add number to initializaton of statics, move several
13080         inlines here. constify several local vars. some whitespace
13081         cleanup. Dont hide outerscope variables.
13082
13083         * Spacing.h: add two new constructors to match the set methods.
13084
13085         * ShareContainer.h: new file, will perhaps be moved to support
13086
13087         * ParameterStruct.h: new file
13088
13089         * ParagraphParameters.h: new file
13090
13091         * ParagraphParameters.C: new file
13092
13093         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13094         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13095
13096         * BufferView_pimpl.C: ParagraphParameter changes.
13097         * buffer.C: Likewise.
13098         * bufferview_funcs.C: Likewise.
13099         * text.C: Likewise.
13100         * text2.C: Likewise.
13101
13102 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13103
13104         * lyxfind.C (LyXReplace): do not redefine default argument in
13105         implementation.
13106         (IsStringInText): ditto
13107         (SearchForward): ditto
13108         (SearchBackward): ditto
13109
13110 2001-03-06  Juergen Vigna  <jug@sad.it>
13111
13112         * lyxfind.C (IsStringInText): put parentes around expressions.
13113
13114 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13115
13116         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13117
13118 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13119
13120         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13121
13122         * stl_string_fwd.h: add comment
13123
13124         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13125
13126         * tabular.h:
13127         * tabular.C: remove unused DocBook methods
13128
13129         * intl.C:
13130         * language.C:
13131         * paragraph.C:
13132         * buffer.C:
13133         killed DO_USE_DEFAULT_LANGUAGE
13134
13135 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13136
13137         * lyx_gui.C: do not include language.h.
13138
13139         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13140         arguments in function implementation.
13141
13142 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13143
13144         * BufferView_pimpl.C: add <ctime>
13145
13146 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13147
13148         * BufferView_pimpl.C: add using std::find_if
13149
13150 2001-02-27  José Matos  <jamatos@fep.up.pt>
13151
13152         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13153         by OnlyPath.
13154
13155 2001-02-11  José Matos  <jamatos@fep.up.pt>
13156
13157         * buffer.C (makeDocBookFile): command styles now have a parameter as
13158         "title" by default.
13159
13160 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13161
13162         * layout_forms.[Ch]: removed
13163         * lyx_cb.[Ch]: out character
13164         * lyx_gui.C: out character
13165         * lyx_gui_misc.C: out character
13166         * bufferview_funcs.C: : out character,
13167         added toggleall as parameter in ToggleAndShow
13168
13169 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13170
13171         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13172
13173         * text2.C (SetCurrentFont): Disable number property at boundary.
13174
13175 2001-02-26  Juergen Vigna  <jug@sad.it>
13176
13177         * lyxfunc.C (getStatus): added a string argument override function so
13178         that this is correctly called from LyXFunc::Dispatch if it contains a
13179         do_not_use_argument which is used!
13180         (Dispatch): added check for "custom" export and call appropriate func.
13181
13182 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13183
13184         * lyxrc.C: Add language_command_local, language_use_babel and
13185         language_global_options.
13186
13187         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13188
13189         * buffer.C (makeLaTeXFile): Use language_use_babel and
13190         language_global_options.
13191
13192 2001-02-23  Juergen Vigna  <jug@sad.it>
13193
13194         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13195         which works with LyXText and putted it inside BufferView. Here now we
13196         only call for that part the BufferView::Dispatch() function.
13197
13198         * BufferView.C (Dispatch): added.
13199
13200         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13201         functions which needs to use a LyXText over from LyXFunc.
13202         (MenuInsertLyXFile): added
13203         (getInsetByCode): added
13204         (moveCursorUpdate): added
13205         (static TEXT): added
13206
13207 2001-02-22  Juergen Vigna  <jug@sad.it>
13208
13209         * BufferView_pimpl.C (update): call a status update to see if LyXText
13210         needs it.
13211
13212 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13213
13214         * vc-backend.C (revert): implement for CVS
13215         (getLog): implement for CVS
13216
13217 2001-02-20  Juergen Vigna  <jug@sad.it>
13218
13219         * text2.C (ClearSelection): added BufferView param for inset_owner call
13220
13221         * lyxfunc.C (TEXT): added this function and use it instead of
13222         directly owner->view()-text of getLyXText().
13223
13224 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13225
13226         * src/layout_forms.C: out preamble
13227         * src/layout_forms.h: out preamble
13228         * src/lyx_cb.C: out preamble
13229         * src/lyx_cb.h: out preamble
13230         * src/lyx_gui.C: out preamble
13231         * src/lyx_gui_misc.C: out preamble
13232         * src/lyxfunc.C: connect with guii preamble
13233
13234 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13235
13236         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13237
13238 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13239
13240         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13241         whether to run bibtex.
13242
13243 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13244
13245         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13246
13247 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13248
13249         * Makefile.am (lyx_SOURCES): removed bibforms.h
13250
13251         * vspace.h: doxygen
13252
13253         * text.C (GetVisibleRow): make several local vars const
13254
13255         * tabular.C: small cleanup.
13256
13257         * lyxserver.C (callback): use compare instead of strncmp
13258
13259         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13260         inlines to after class or to paragraph.C
13261
13262         * lyxfont.h: remove friend operator!=
13263
13264         * converter.h: move friend bool operator< to non friend and after
13265         class def.
13266
13267         * combox.h: small cleanup
13268
13269         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13270         to inlines after class def.
13271
13272         * buffer.C (pop_tag): use string operations instead of strcmp
13273
13274         * bmtable.c: doxygen, small cleanup
13275
13276         * LaTeX.h: remove friend operator==
13277
13278 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13279
13280         * screen.C:
13281         * lyxrc.[Ch]:
13282         * lyxfunc.C:
13283         * lyxfont.[Ch]:
13284         * lyx_cb.C:
13285         * intl.[Ch]:
13286         * commandtags.h:
13287         * buffer.C:
13288         * WorkArea.[Ch]:
13289         * LyXAction.C:
13290         * BufferView_pimpl.C:
13291         * BufferView.[Ch]: remove cruft
13292
13293 2001-02-14  Juergen Vigna  <jug@sad.it>
13294
13295         * lyxfunc.C: removed #if 0 unused code
13296
13297         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13298
13299         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13300
13301         * text2.C (SetSelection): added a BufferView * parameter
13302
13303 2001-02-13  Juergen Vigna  <jug@sad.it>
13304
13305         * lyxfunc.C (Dispatch): fixed protected blank problem.
13306         * BufferView2.C (protectedBlank): added LyxText * parameter.
13307
13308         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13309         (AppendColumn): same as above for column_info.
13310
13311         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13312         (moveCursorUpdate): use a LyXText param for support of InsetText.
13313
13314         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13315         (tripleClick): ditto
13316
13317         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13318
13319         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13320
13321         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13322
13323         * text2.C (SetSelection): set correct update status if inset_owner
13324         (ToggleFree): ditto
13325
13326 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13327
13328         * tabular.C: remove some commented code.
13329
13330 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13331
13332         * BufferView_pimpl.C: call hideSplash()
13333
13334         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13335
13336         * include_form.h:
13337         * bibforms.h: remove
13338
13339         * lyxfunc.C:
13340         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13341           add LFUN_CHILD_CREATE
13342
13343         * counters.h: fix tiny typo
13344
13345         * lyx_cb.C:
13346         * lyx.h:
13347         * lyx_gui.C:
13348         * lyx.C: move splash to frontends/xforms/
13349
13350         * lyx_gui_misc.C: move Include and Bibform to frontends
13351
13352         * lyxvc.h: clarify comment
13353
13354         * vspace.C: tiny housekeeping
13355
13356 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13357
13358         * text.C (PrepareToPrint): RTL Fix.
13359
13360         * paragraph.C (GetUChar): New method.
13361         (String):  Use GetUChar.
13362
13363         * buffer.C (asciiParagraph): Use GetUChar.
13364
13365 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13366
13367         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13368
13369 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13370
13371         * buffer.h:
13372         * buffer.C: rename to getLogName(), handle
13373           build log / latex log nicely
13374
13375 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13376
13377         * MenuBackend.C:
13378         * MenuBackend.h: remove support for reference menuitem type.
13379
13380 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13381
13382         * BufferView_pimpl.C: housekeeping
13383         * BufferView_pimpl.h:
13384         * LyXView.h:
13385         * Makefile.am:
13386         * Timeout.C:
13387         * Timeout.h:
13388         * minibuffer.h: move Timeout GUI-I
13389
13390 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13391
13392         * lyxrc.C (read): Update converters data-structures.
13393
13394 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13395
13396         * LaTeX.h (operator!=): add operator != for Aux_Info
13397
13398 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13399
13400         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13401
13402         * LaTeXLog.C: deleted, useful code moved to Buffer
13403
13404         * buffer.h:
13405         * buffer.C: new function getLatexLogName()
13406
13407         * lyx_gui_misc.C:
13408         * lyx_gui.C:
13409         * lyxvc.C:
13410         * lyxvc.h:
13411         * lyxfunc.C: use frontends for LaTeX and VC logs
13412
13413 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13414
13415         * LaTeX.h: yet another std:: that Allan forgot.
13416
13417         * Variables.C (set): renamed from isset(), because this clashes
13418         with some HP-UX macros (grr).
13419
13420 2001-02-06  Allan Rae  <rae@lyx.org>
13421
13422         * LaTeX.h: Another bug fix.  Missing std:: this time.
13423
13424 2001-02-04  Allan Rae  <rae@lyx.org>
13425
13426         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13427         floats problem. I've left it commented out because it's not quite
13428         correct.  It should also test that the current object is a table or
13429         figure inset.  But I haven't gotten around to figuring out how to do
13430         that.  I *think* it'll be something like: "table" == inset.type()
13431
13432         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13433         bool.
13434
13435 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13436
13437         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13438         all the citation/databases/styles in the auxilary file.
13439         (run): Rerun latex if there was a babel language error.
13440
13441 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13442
13443         * text.C (Backspace): Preserve the font when changing newline char
13444         with a space.
13445         (BreakParagraph): If the cursor is before a space, delete the space.
13446
13447         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13448
13449 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13450
13451         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13452         new argument (code).
13453         (ChangeCitationsIfUnique): New method.
13454
13455         * paragraph.C (GetPositionOfInset): Handle bibkey.
13456
13457 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13458
13459         * BufferView_pimpl.h: change type of Position::par_pos to
13460         LyXParagraph::size_type.
13461
13462 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13463
13464         * BufferView_pimpl.C (savePosition, restorePosition): Write
13465         messages to minibuffer.
13466
13467 2001-01-28  José Matos  <jamatos@fep.up.pt>
13468
13469         * buffer.C (makeDocBookFile): adds support for document language.
13470         A silly restriction on the name of LatexCommand types where removed.
13471         Added support for CDATA sections, allows to chars unescaped, used
13472         among others in code, to avoid escape < and >.
13473
13474 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13475
13476         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13477         saved positions instrad of a stack. Furthermore, a position is
13478         stored using paragraph id/paragraph position.
13479
13480         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13481         Remove LFUN_REF_BACK.
13482
13483 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13484
13485         * converter.C (dvipdfm_options): New method.
13486
13487 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13488
13489         * vspace.C (isValidLength): Fix for empty input string.
13490
13491 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13492
13493         * LyXAction.C (init): change description of LFUN_FIGURE to
13494         "Insert Graphics"
13495
13496 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13497
13498         * LaTeX.C: add using directive
13499
13500 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13501
13502         * MenuBackend.C (expand): Fix the sorting of the formats.
13503
13504 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13505
13506         * lyx_main.C: tiny error message fix
13507
13508 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13509
13510         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13511         calling fl_initialize(). This fixes the problem with ',' as
13512         decimal separator in text files.
13513
13514 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13515
13516         * trans.C (process): Fix the keymap bug.
13517
13518 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13519
13520         * LaTeX.C (scanAuxFiles): New method. Provides support for
13521         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13522         (scanLogFile) Scan for "run BibTeX" messages.
13523
13524         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13525         OT1 font encoding. Also, load the aecompl package if the ae
13526         package is loaded.
13527
13528         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13529
13530 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13531
13532         * texrow.C (increasePos): turn two error messages into debug
13533         messages.
13534
13535 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13536
13537         * LaTeX.C (scanAux): Handle the \@input macro.
13538         (runBibTeX): Use scanAux().
13539
13540         * language.C (latex_options_): New field.
13541
13542         * LaTeXFeatures.C (getMacros): Add language macros.
13543
13544         * buffer.C (makeLaTeXFile): Small fix.
13545
13546 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13547
13548         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13549
13550         * text2.C: add a using directive.
13551
13552 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13553
13554         * BufferView2.C:
13555         * lyx_gui_misc.h:
13556         * lyxfr1.C:
13557         * lyxfunc.C: kill LyXBell.
13558
13559 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13560
13561         * text.C (IsBoundary): Remove the error message
13562
13563         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13564
13565         * lyxrc.C (setDefaults): Correct initialization value for
13566         font_norm_type.
13567
13568 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13569
13570         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13571         gotoError().
13572
13573         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13574         and GotoNextNote().
13575
13576         * src/LyXAction.C: Added reference-next.
13577
13578         * text.C (InsertChar): Use contains instead of strchr.
13579
13580         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13581
13582 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13583
13584         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13585         alignment commands (when needed).
13586
13587         * text.C (InsertChar): Add ':' to number separator chars.