]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
0b60ab4ff03cb3f56a7525275e5d30bf99d98fda
[lyx.git] / src / ChangeLog
1 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * lyxfunc.C (dispatch): remove the verbose argument
4         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
5         instead
6
7         * kbmap.C (defkey): set the origin of func to KEYBOARD
8
9         * MenuBackend.C (MenuItem): 
10         * ToolbarBackend.C (add): set the origin of func to UI
11
12         * funcrequest.[Ch]: add origin member, which indicates which part
13         of LyX requests an action
14
15 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
16
17         * converter.C (move): don't lie in the error message
18         * converter.h (isReachable, move): document
19
20 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
21
22         * buffer.C: remove unused using lyx::support::atoi
23         * paragraph_funcs.C: ditto
24
25 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
26
27         * bufferlist.C (exists): use bind and equal_to instead of
28         compare_memfun
29         (getBuffer): ditto
30         * lyxtextclasslist.C (NumberOfClass): ditto
31
32         * cursor.C (insert): use for_each instead of explicit for loop
33
34         * bufferlist.C (getFileNames): use std::transform and
35         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
36
37         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
38         for loop
39
40         * buffer.C (changeLanguage): use for_each instead of explicit for
41         loop
42         (hasParWithID): implement using getParFromID
43
44         * LaTeXFeatures.C: ws change only
45
46         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
47         to cleanup a bit.
48
49         * BufferView_pimpl.C (trackChanges): use for_each instead of
50         expilicit for loop
51
52 2004-11-04  André Pönitz  <poenitz@gmx.net>
53
54         * undo.h:
55         * undo.C (textUndoOrRedo): fix crash when creating undo information.
56
57         * dociterator.C (asDocIterator): use hard assert again.
58
59 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
60
61         * lyxlength.C (asLatexString): rewrite so that it does not use
62         snprintf anymore
63
64 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
65
66         * text3.C (specialChar, dispatch): make sure cursor moves to the
67         right after inserting an inset
68
69 2004-11-02  José Matos  <jamatos@lyx.org>
70
71         * output_docbook.C (docbook):
72         * paragraph.C (getID):
73         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
74         garantee that the output is always legal.
75
76         * tabular.C (docbook):
77         * outputprams.[Ch]: remove mixed contents.
78
79 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
80
81         * text2.C (setCounter): prevent endless loop
82
83 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
84
85         * exporter.C (copyFile): use the mover instead of support::copy()
86         * exporter.C (Export): pass format and latex name to copyFile()
87         * exporter.h (addExternalFile): document
88         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
89
90 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
91
92         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
93
94 2004-10-30  José Matos  <jamatos@lyx.org>
95
96         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
97         text and no inset or font change. This allows to use CDATA
98         sections just for the whole paragraph.
99
100 2004-10-30  José Matos  <jamatos@lyx.org>
101
102         * paragraph.C (getFirstWord): remove unused variable.
103
104 2004-10-30  José Matos  <jamatos@lyx.org>
105
106         * paragraph.C (getFirstWord): the content should always be escaped
107         there.
108         (simpleDocBookOnePar):
109         * output_docbook.C (makeEnvironment): replace reference to CDATA
110         to style pass_thru.
111
112 2004-10-30  José Matos  <jamatos@lyx.org>
113
114         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
115
116 2004-10-30  José Matos  <jamatos@lyx.org>
117
118         * output_docbook.C (makeParagraphs):
119         * paragraph.[Ch] (emptyTag): for docbook and company, if the
120         standard paragraph has only a given type of content drop the wrapper.
121
122 2004-10-29  José Matos  <jamatos@lyx.org>
123
124         * output_docbook.C (makeEnvironment):
125         * sgml.C (openTag):
126         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
127
128 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
129
130         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
131         (cleanID): sanitize any id.
132
133 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
134
135         * buffer.C, lyxlex_pimpl.C:
136         * lyxlex_pimpl.C (setFile):
137         s/getExtFromContents/getFormatFromContents/
138
139 2004-10-28  José Matos  <jamatos@lyx.org>
140
141         * output_docbook.C (makeEnvironment): move id to broadest possible
142         scope.
143
144         * sgml.C (openTag): apply substitution of <> for all attributes.
145
146 2004-10-28  José Matos  <jamatos@lyx.org>
147
148         * buffer.C (makeLinuxDocFile, makeDocBookFile):
149         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
150         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
151
152         * sgml.[Ch]: new version for open and closeTag for paragraph and
153         for strings. Now they handle the ids of paragraphs.
154
155 2004-10-26  Angus Leeming  <leeming@lyx.org>
156
157         * Makefile.am: add mover.[Ch].
158
159         * converter.C (convert, move): use the new Movers to move external
160         files to the temp directory.
161
162         * lyx_main.C (init): ensure that the global system_movers data
163         is initialised.
164
165         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
166         preferences file.
167
168         * mover.[Ch]: new files, defining a Mover as a utility to move an
169         external file between directories and, if necessary, manipulate this
170         file using a helper script.
171
172 2004-10-25  José Matos  <jamatos@lyx.org>
173
174         * output_docbook.C (makeCommand): merge two if's that tested the
175         same condition.
176
177 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
178
179         * sgml.C (escapeString): fix warning in a better way
180
181 2004-10-25  José Matos  <jamatos@lyx.org>
182
183         * sgml.C (escapeString): import the require boosts header file for
184         tie, and avoid a signed unsigned comparison.
185
186 2004-10-25  José Matos  <jamatos@lyx.org>
187
188         * sgml.h: add #include <string>
189
190 2004-10-25  José Matos  <jamatos@lyx.org>
191
192         * sgml.[Ch] (escapeString): new function to escape all the string.
193
194 2004-10-24  José Matos  <jamatos@lyx.org>
195
196         * paragraph.[Ch] (getFirstWord): new function to get the first
197         word. Useful for description.
198         (simpleDocBookOnePar): remove depth argument, add another that
199         says where to start the paragraph.
200
201         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
202         use the new functions to fix cleanly the support for descriptions.
203
204 2004-10-24  José Matos  <jamatos@lyx.org>
205
206         * buffer.C (makeLinuxDocFile, makeDocBookFile):
207         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
208         * output_linuxdoc.C (linuxdocParagraphs):
209         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
210         add buffer as argument.
211
212 2004-10-24  José Matos  <jamatos@lyx.org>
213
214         * output_docbook.C (makeEnvironment, searchEnvironment): place
215         CDATA inside paragraphs and fix scope for listitems.
216
217 2004-10-24  José Matos  <jamatos@lyx.org>
218
219         * output_docbook.C: remove using statement for stack.
220
221 2004-10-23  José Matos  <jamatos@lyx.org>
222
223         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
224         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
225         docbook. The new scheme is recursive and makes use of iterators, the
226         same as latex export works.
227         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
228         directly with the paragraph contents. This code was moved up to
229         output_docbook.C (docbookParagraphs).
230         * sgml.C (openTag, closeTag): removed unneeded newlines.
231         (closeEnvTags) removed.
232
233 2004-10-23  André Pönitz  <poenitz@gmx.net>
234
235         * undo.C (textUndoOrRedo):
236         * dociterator.C (asDocIterator): work around crash
237
238         * cursor.C (getStatus): replace ASSERT by more verbose error message
239           and manual correction of the problem. Should increase stability
240           while providing more sensible information.
241
242 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
243
244         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
245
246         * bufferlist.C (previous, next): new methods
247
248         * lfuns.h:
249         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
250
251 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
252
253         * buffer.C (makeDocBookFile): add dsssl stylesheet control
254         entities to preamble.
255
256 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
257
258         * messages.C (Pimpl): strip off translation context information
259
260 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
261
262         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
263         the cursor is correct (bug 1694)
264
265 2004-10-13  José Matos  <jamatos@lyx.org>
266
267         * output_docbook.C (docbookParagraphs): fix closing tags in the
268         end of the document.
269
270 2004-10-09  José Matos  <jamatos@lyx.org>
271
272         * buffer.C: format up to 237.
273         * bufferparams.C (write): use tostr to convert booleans to strings.
274
275 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
276
277         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
278
279 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
280
281         * LaTeX.C: implement use of babel language in xindy.
282
283 2004-10-05  José Matos  <jamatos@lyx.org>
284
285         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
286         Add new translators to help reading and writing the lyx file.
287
288 2004-10-05  José Matos  <jamatos@lyx.org>
289
290         * ParagraphParameters.C (read):
291         * text.C (readParToken): replace nexToken by more appropriate lex
292         methods.
293
294 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
295
296         * LaTeX.C (runMakeIndex):
297         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
298         (usually 'makeindex') configurable.
299
300         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
301         with a variable rather than with a number.
302
303 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
304
305         * output_latex.C (TeXOnePar): make sure font setting is the first
306         thing that gets output (and the last at the end). Should fix bug
307         1404.
308
309 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
310
311         * pch.h: use proper signal include
312
313         * LaTeX.h: Use preferred calling of Boost.Signal
314         * buffer.h: ditto
315
316 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
317
318         * pch.h: dont include <boost/function/function0.hpp>
319
320         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
321
322         * paragraph_pimpl.h: remove usage of ShareContainer
323
324         * paragraph_pimpl.C: remove initialization of ShareContainer.
325
326 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         Fix bug #1666
329
330         * BufferView.C (putSelectionAt): change the semantics when
331         backwards == true: now, this just swaps cursor and anchor wrt the
332         forward case
333
334         * BufferView.h (putSelectionAt): add some documentation
335
336         * lyxfind.C (findBackwards): rewrite using while(). In particular,
337         make sure backwardChar is done at least once (to avoid getting
338         stuck)
339         (findNextChange): use putSelectionAt in the forward direction
340         (operator()): use Paragraph::isWord
341
342 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
343
344         * Spacing.C (set): c_str fix
345
346 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
347
348         * lyx_cb.C (Reconfigure): quote the name of configure script in
349         case it contains spaces
350
351 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
352
353         * client: new dir
354
355         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
356         (BOOST_LIBS): use top_buildir when looking for the file
357
358 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
359
360         * pch.h: do not use include boost/format.hpp, multiple symbols
361                 will result (gcc bug)
362
363
364 2004-08-23  José Matos  <jamatos@lyx.org>
365
366         * bufferparams.C (readToken): fix reading of the author field.
367
368 2004-08-20  José Matos  <jamatos@lyx.org>
369
370         * lyxrc.C: remove support/translator.h inclusion since it is not used.
371
372 2004-08-20  José Matos  <jamatos@lyx.org>
373
374         * lyxlex.[Ch] (findToken): remove function.
375
376         * ParagraphParameters.C (findToken):
377         * bufferparams.C (findToken): replace call for previous function
378         with local copy. This local function has one more argument, the
379         read string argument.
380
381 2004-08-16  José Matos  <jamatos@lyx.org>
382
383         * ParagraphParameters.C (write):
384         * Spacing.C (writeFile):
385         * bufferparams.C (writeLaTeX):
386         * lyx_cb.C (Reconfigure):
387         * paragraph.C (write):
388         * tabular.C (write): remove unnecessary space at end of line.
389
390
391 2004-08-16  José Matos  <jamatos@lyx.org>
392
393         * text.C (readParagraph): remove debug message.
394
395 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
396
397         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
398         crash
399
400         * output_plaintext.C (asciiParagraph): set depth correctly
401
402         * outputparams.h: add member depth
403
404         * paragraph_funcs.C (ownerPar): remove.
405
406         * text2.C (setCounter): remove first_pit; comment out some
407         non-working code that uses ownerPar
408
409         * BufferView.C (getParentLanguage): remove. Not used anymore, and
410         uses ownerPar
411
412 2004-08-16  José Matos  <jamatos@lyx.org>
413
414         * text.C (readParToken, readParagraph, read): report all unknown tokens.
415         For the same level of importance use the same chanel to report problems.
416         (read): add code to deal with \begin_body and \end_body.
417
418
419 2004-08-15  José Matos  <jamatos@lyx.org>
420
421         * lyxlex.C (getString): fix comment, buffer::readBody is now
422         buffer:readDocument.
423
424         * tex-strings.C (string_papersize): Default -> default,
425         Custom -> custom, for consistency with other options.
426
427 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
428
429         * pch.h: new file
430
431         * Makefile.am: support pch
432
433 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
434
435         * text.C (readParToken): remove the static LyXFont variable and
436         pass it as a parameter instead. This fixes a nasty bug where an
437         inset will be inserted with a bad font in some situations
438         (readParagraph): adapt
439
440         * text2.C (setCounter): reduce number of calls to pars_[pit]
441
442         * text.C (singleWidth): add an assert, fix a test
443
444         * rowpainter.C (paintText): reduce number of calls to singleWidth
445
446         * paragraph.C (isHfill):
447         (isNewline): ws only
448
449 2004-08-14  André Pönitz  <poenitz@gmx.net>
450
451         * text.C:
452         * text2.C:
453         * rowpainter.C:
454         * lyxtext.h (several functions): use a Paragraph & argument
455         instead of par_type
456
457 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
458
459         * metricsinfo.h: add a new field ltr_pos to PainterInfo
460
461         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
462
463         * text.C (singleWidth): remove useless test
464
465 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
466
467         * tabular.h: remove bogus comments
468
469         * tabular.C (getDescentOfRow):
470         (isPartOfMultiColumn): add assertions
471
472         * lyxlength.C (inPixels): remove #warning
473
474 2004-08-14  André Pönitz  <poenitz@gmx.net>
475
476         * paragraph.h: inline getChar()
477
478         * BufferView.h: remove unused declarations
479
480 2004-08-14  José Matos  <jamatos@lyx.org>
481
482         * Buffer.[Ch] (readDocument): new name for old readBody.
483         * Buffer.C: new file format, new keywords: \begin_document,
484         \begin_header, \begin_body, \end_body.
485
486         * bufferparams.C (readToken): replace all calls to lex.nextToken
487         by lex.next(). Do the same to eatLine except where really needed.
488
489         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
490         line when writing to the lyx file.
491
492         * output_plaintext.C (asciiParagraph): fix Bibliography style
493         handling.
494
495         * text.C (read): fix end of file handling.
496
497 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
498
499         * MenuBackend.C (Menu::operator[]): new method to access
500         individual menu items
501         (Menu::hasFunc): new method. search for an item that corresponds
502         to a given func
503         (MenuBackend::specialMenu): new method
504         (MenuBackend::expand): if a special menu has been set, skip
505         entries whose func() appears in this menu
506
507 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
508
509         * text3.C: use Debug::DEBUG a bit more
510
511         * text.C (leftMargin): try to simplify a tiny bit change var x to
512         l_margin. Dont output the wide margins always.
513         (rightMargin): no margin in inner texts
514
515         * rowpainter.h (nestMargin): new func
516         (changebarMargin): new func
517         (rightMargin): new func
518
519         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
520         now functions.
521         (paintLast): ditto
522
523         * factory.C (createInset): modify setDrawFrame
524
525         * cursor.C: use Debug::DEBUG a bit more
526
527 2004-08-14  André Pönitz  <poenitz@gmx.net>
528
529         * coordcache.[Ch]:
530         * Makefile.am: new files to accomodate an 'external' (x,y)-position
531         cache for all insets in (at least partially) visible (top-level)
532         paragraphs.
533
534         * BufferView_pimpl.C: reset external coord cache before every update.
535         This means the coord cache only contains valid entries.
536
537 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
538
539         bug 1096
540         * BufferView_pimpl.C (getInsetByCode): move function out of class
541         and change in to a template in anon namespace. Also fix to do what
542         suits us better.
543
544 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
545
546         bug 1305
547         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
548         of char
549         (breakParagraph): rename par to par_offset and use a local
550         reference. Add code to keep the language over a rebreak.
551         (breakParagraphConservative): rename par to par_offset, use a
552         local reference
553         (mergeParagraph): ditto
554         (outerHook): ditto
555         (isFirstInSequence): ditto
556         (outerFont): rename pit to par_offset
557
558         * paragraph.C: ws change
559         * paragraph.h: ditto
560         * text3.C: ditto
561         * text.C: ditto
562
563 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
564
565         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
566         treatment for ']'
567
568         * paragraph.C (simpleTeXOnePar): when we have a \item with
569         optional argument, enclose the argument with curly brackets (in
570         case it contains a closing square bracket)
571
572         * text2.C (editXY):
573         * text2.C (editXY):
574         * text3.C (checkInsetHit): constify
575
576 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
577
578         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
579         documents (bug 1629)
580
581 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
582
583         Fix toggling of collapsable insets with the mouse (bug 1558)
584
585         * lyxfunc.C (dispatch): adapt to LCursor changes
586
587         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
588         make sure that dispatch is not invoked twice
589
590         * cursor.C (needsUpdate): new method
591         (dispatch): return void
592         (result): new method, to access the DispatchResult of the cursor.
593
594 2004-08-13  José Matos  <jamatos@lyx.org>
595
596         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
597
598 2004-08-13  André Pönitz  <poenitz@gmx.net>
599
600         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
601
602         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
603           multiple cells
604
605 2004-08-12  André Pönitz  <poenitz@gmx.net>
606
607         * text3.C: take out the 'cursor right' form insertInset and only
608         do it in those places when it is really needed. Fixes crash on
609         C-m...
610
611 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
612
613         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
614
615         * BufferView_pimpl.C (setBuffer): initialize the current font of
616         the underlying LyXText
617
618 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
619
620         * kbsequence.C (print): use UI native formatting for menu
621         shortcuts
622
623         * text.C (insertChar): call Paragraph::insertChar with a font
624         argument (cosmetic)
625
626         * paragraph.C (insertInset, insertChar): the version that takes a
627         LyXFont argument is now a wrapper around the other one (the
628         opposite used to be true).
629
630         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
631         argument. Font setting is done in Paragraph now.
632
633 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
634
635         * outputparams.h: add new members intitle and lang.
636
637         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
638         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
639
640 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
641
642         * text3.C (dispatch): remove special handling of button 4 and 5,
643         it is now taken care of in the frontend code.
644
645 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
646
647         * Spacing.h: add <string> (STLPort compile fix)
648
649 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
650
651         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
652
653 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
654
655         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
656         to bool.
657
658         * converter.C (showMessage): inherit from unary_function, make
659         operator() const.
660
661         * buffer.C (writeFile): initialize retval
662
663         * InsetList.h: rename private variable list to list_
664         * InsetList.[Ch]: adjust accordingly.
665
666 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
667
668         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
669         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
670         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
671         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
672         * ParagraphParameters.C, LaTeXFeatures.C: replace
673         "support/std_sstream.h" with <sstream>
674
675 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
676
677         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
678         * lyxsocket.C (LyXServerSocket): ditto
679         (serverCallback): ditto
680
681 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
682
683         * LaTeXFeatures.C: check release date when loading jurabib.
684
685 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
686
687         * lyxserver.C (startPipe): call register_socket_callback
688         (endPipe): call unregister_socket_callback
689
690 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
691
692         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
693         (LyXServerSocket): register the callback
694         (LyXServerSocket): unregister the callback
695         (fd): delete function
696         (serverCallback): improve error checking and setup the callbacks.
697         (dataCallback): change arg to fd.
698         (writeln): new func (copied fro the client socket) used for server
699         write to client.
700         (LyXDataSocket): simplify
701         (~LyXDataSocket): close ann unregiser callback
702         (server): delete function
703         (fd): delete function
704         (readln): small changes, improve some std::string usage
705         (writeln): constify a bit
706
707 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
708
709         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
710         Qt frontend
711
712 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
713
714         * BufferView_pimpl.C (setBuffer): set the layout combox value only
715         after it has been populated
716
717 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
718
719         * text2.C (insertInset): move cursor when inserting inset.
720
721 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
722
723         * kbmap.C (findbindings): a couple of new methods. returns a
724         container of kb_sequence objects. The real work is done by the
725         private recursive version
726         (printbindings): uses findbindings to print out a bracketed list
727         of bindings (renamed from findbinding).
728
729         * MenuBackend.C (binding): use kb_keymap::findbindings
730
731         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
732
733 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
734
735         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
736
737 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
738
739         * paragraph.C (isWord): return true on insets that report
740         isLetter().
741
742         * text.C (getWord): use Paragraph::isWord to decide what is in a
743         word and what is not; fix bug 1609.
744
745 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
746
747         * tex-strings.C: add "none" to string_paperpackages[], fixes
748         off-by-one-error in the paperpackage selection.
749
750         * lyxlex.[Ch]:
751         * tex-strings.[Ch]: char const * string[n]
752         -> char const * const string[]
753
754 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
755
756         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
757         command, return early.
758
759 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
760
761         * debug.h: add DEBUG to enum and fix size of ANY.
762
763         * debug.C: add support for Debug::DEBUG
764         (showTags): cast errorTags.level to unsigned int
765
766         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
767         (redoCurrentBuffer): ditto
768         (updateScrollbar): ditto
769         * cursor.C (dispatch): ditto
770         * text2.C (setLayout): ditto
771         (setFont): ditto
772         (updateCounters): ditto
773         (editXY): ditto
774         (deleteEmptyParagraphMechanism): ditto
775
776 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
777
778         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
779         annotations to cleanup the Makefile slightly.
780
781 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
782
783         * lyxrc.C: do not set user_email to a default value but use empty
784         instead. The entry used to be translated, which does not work
785         since at the point where lyxrc is constructed there is no
786         translation service available
787
788         * messages.C (getLocaleDir): remove and use directly
789         lyx_localedir() instead
790
791 2004-06-02  Angus Leeming  <leeming@lyx.org>
792
793         Fix crash caused by dereferencing null pointer 'exportdata' in
794         OutputParams by creating a new ExportData variable on the heap,
795         storing it in a boost::shared_ptr.
796         The crash was triggered when generating an Instant Preview
797         of an external inset.
798
799         * Makefile.am: add outputparams.C
800
801         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
802         (c-tor): allocate memory to it.
803
804         * exporter.C (c-tor): associated changes.
805
806 2004-06-01  Angus Leeming  <leeming@lyx.org>
807
808         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
809         contains data before calling isInset(0). (Bug 1513.)
810
811 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
812
813         * exporter.C (checkOverwrite): new method
814         * exporter.C (copyFile): new method
815         * exporter.C (Export): copy referenced files to the document dir
816         * exporter.[Ch]: new class ExportedFile
817         * exporter.[Ch]: new class ExportData. Contains currently the
818         names of referenced external files
819         * outputparams.h: add exportdata member.
820
821 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
822
823         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
824         version.C-tmp
825
826 2004-05-19  Angus Leeming  <leeming@lyx.org>
827
828         * LaTeXFeatures.C:
829         * ToolbarBackend.C:
830         * bufferparams.C:
831         * lyxfunc.C: small changes due to the introduction of namespace
832         lyx::frontend and the moving of namespace biblio to lyx::biblio.
833
834 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
835
836         * text3.C (dispatch): supress update when only moving the cursor
837         * cursor.C (selHandle): remove commented code
838
839 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
840
841         * paragraph.C (startTeXParParams): correct column count
842         * CutAndPaste.C (pasteSelection): remove const_cast
843         * output_docbook.C (docbookParagraphs): remove const_cast
844         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
845         const_cast and return ParagraphList::const_iterator
846         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
847         * output_plaintext.C (writeFileAscii): remove const_cast
848         * paragraph.[Ch] (simpleTeXOnePar): make const
849         * paragraph_funcs.C (outerPar): use const iterators
850         * paragraph_pimpl.C (validate): use const iterators
851         * text.C (setHeightOfRow): use const iterators
852
853 2004-05-17  Angus Leeming  <leeming@lyx.org>
854
855         * lfuns.h:
856         * LyXAction.C (init): new LFUN_INSET_REFRESH.
857
858         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
859         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
860         if the citation engine has changed.
861
862 2004-05-14  José Matos  <jamatos@lyx.org>
863
864         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
865         if the textclass does not provide it. Have it different for sgml and
866         xml.
867         support the language of document.
868         * output_docbook.C (docbookParagraphs):
869         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
870         first anchor as the id of the paragraph, remove special case code.
871         * sgml.C (escapeChar): escape only < & >.
872
873 2004-05-14  Angus Leeming  <leeming@lyx.org>
874
875         * bufferparams.h: move biblio::CiteEngine enum here to minimize
876         dependencies on src/frontends/controllers/biblio.h. Define a
877         CiteEngine_enum wrapper class to enable the enum to be forward
878         declared.
879
880 2004-05-12  Angus Leeming  <leeming@lyx.org>
881
882         * buffer.C: up LYX_FORMAT to 234.
883         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
884         use_numerical_citations with a single biblio::CiteEngine cite_engine
885         variable.
886         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
887
888 2004-05-13  José Matos  <jamatos@lyx.org>
889
890         * converter.h:
891         * converter.C (Converter, readFlags): add xml member.
892         * outputparams.h: add XML flavor.
893         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
894
895 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
896
897         * lyxfunc.C (dispatch):
898         (getStatus): fix handling of LFUN_SEQUENCE
899
900 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
901
902         * debug.C (showLevel): do not forget the end-of-line marker
903
904 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
905
906         * kbmap.C (read): do not stop parsing a bind file when an error
907         occurs (bug 1575)
908
909 2004-04-29  Angus Leeming  <leeming@lyx.org>
910
911         * cursor.C:
912         * factory.C:
913         * pariterator.C:
914         * text2.C: wrap a bunch of #warning statements
915         inside #ifdef WITH_WARNINGS blocks.
916
917 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
918
919         * buffer.C: increment format to 233.
920
921 2004-04-28  Angus Leeming  <leeming@lyx.org>
922
923         * BufferView_pimpl.C:
924         * lyxfunc.C:
925         * text3.C:
926         s/updateToolbar()/updateToolbars()/
927         s/Toolbar.h/Toolbars.h/
928
929 2004-04-28  Angus Leeming  <leeming@lyx.org>
930
931         * BufferView.[Ch] (c-tor):
932         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
933         No longer passes these data to the WorkArea generator.
934
935 2004-04-28  Angus Leeming  <leeming@lyx.org>
936
937         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
938
939 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
940
941         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
942
943 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
944
945         * output_latex.C (TeXEnvironment): make sure that there is a line
946         break before \end{foo} for the last paragraph of a document
947         (TeXOnePar): if the paragraph is at the end of the document (or
948         inset) and the language has to be reset, then make sure that the
949         line break is _before_ the language command, not after (fixes bug
950         1225); also make sure that the language reset command is the first
951         thing after the paragraph (to ensure proper nesting of
952         environments and thus fix bug 1404)
953
954 2004-04-21  John Levon  <levon@movementarian.org>
955
956         * ToolbarBackend.h:
957         * ToolbarBackend.C: make "name" be a programmatic name
958         and a gui_name field.
959
960         * lyxfunc.C: display the minibuffer on M-x
961
962 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
963
964         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
965         (bug 1526)
966
967 2004-04-19  Angus Leeming  <leeming@lyx.org>
968
969         * BufferView_pimpl.C (setBuffer): changed preview interface.
970
971         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
972         possible values.
973
974 2004-04-19  John Levon  <levon@movementarian.org>
975
976         * BufferView_pimpl.C:
977         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
978
979 2004-04-05  Angus Leeming  <leeming@lyx.org>
980
981         * text.C (redoParagraphs): add call to updateCounters(), thereby
982         fixing the missing "Figure #:" label from the caption of a
983         figure float.
984
985 2004-04-13  Angus Leeming  <leeming@lyx.org>
986
987         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
988         cursor is clicked out of an inset.
989
990 2004-04-13  Angus Leeming  <leeming@lyx.org>
991
992         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
993         than an InsetOld one.
994
995 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
996
997         * format.[Ch]: add editor to Format
998         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
999         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1000
1001 2004-04-08  André Pönitz  <poenitz@gmx.net>
1002
1003         * metricsinfo.h: remove PainterInfo::width member
1004
1005 2004-04-08  Angus Leeming  <leeming@lyx.org>
1006
1007         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1008         "\providecommand" rather than "\newcommand", thereby preventing
1009         clashes with packages that define "\boldsymbol" themselves.
1010         Eg, beamer.
1011
1012 2004-04-08  Angus Leeming  <leeming@lyx.org>
1013
1014         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1015         thereby squashing an unnecessary warning.
1016
1017 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1018
1019         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1020         setBuffer()
1021
1022 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1023
1024         * BufferView.C (setCursor): call redoParagraph (some insets could
1025         have been opened)
1026         (putSelectionAt): remove the 'double update' trick
1027
1028         * BufferView_pimpl.C (fitCursor): call refreshPar
1029         (workAreaDispatch): remove an uneeded update call
1030         (dispatch): remove some manual update calls
1031
1032         * cursor.[Ch]: remove cached_y_, updatePos
1033         (selHandle): set noUpdate when appropriate
1034
1035         * lyxfunc.C (dispatch): track if we need an update
1036
1037         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1038
1039         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1040         (paintSelection): cheap optimization, do not call cursorX when not
1041         needed
1042         (paintPars): change signature
1043         (refreshPar): add
1044         (paintText): adjust
1045         (paintTextInset): adjust
1046
1047         * text.C: adjust
1048
1049 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1050
1051         * lengthcommon.C: compilation fix: remove explicit array size from
1052         unit_name[] and friends
1053
1054 2004-04-05  Angus Leeming  <leeming@lyx.org>
1055
1056         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1057
1058         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1059         present only for the preferences dialog.
1060         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1061
1062 2004-04-05  Angus Leeming  <leeming@lyx.org>
1063
1064         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1065         to enable the frontends to export changes to lyxrc correctly.
1066
1067         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1068
1069 2004-04-07  André Pönitz  <poenitz@gmx.net>
1070
1071         * cursor.[Ch] (selClear, adjust): remove math
1072
1073         * cursor_slice.C: more agressive assert
1074
1075         * lyxfunc.C:
1076         * BufferView_pimpl.C: rework mouse event dispatch
1077
1078         * dociterator.C:
1079         * paragraph.C:
1080         * text2.C:
1081         * text3.C: adjust
1082
1083 2004-04-05  André Pönitz  <poenitz@gmx.net>
1084
1085         * cursor.[Ch] (valign, halign...): remove unneeded functions
1086
1087 2004-04-05  Angus Leeming  <leeming@lyx.org>
1088
1089         * lyxlength.[Ch] (unit_name et al.): const-correct.
1090
1091 2004-04-05  Angus Leeming  <leeming@lyx.org>
1092
1093         * BufferView_pimpl.C:
1094         * buffer.C:
1095         * counters.C:
1096         * cursor.C:
1097         * lyxfunc.C
1098         * paragraph.C:
1099         * pariterator.C:
1100         * text.C:
1101         * text2.C:
1102         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1103
1104 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1105
1106         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1107
1108 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1109
1110         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1111         * BufferView_pimpl.[Ch] (getStatus)
1112         * BufferView.[Ch] (getStatus): add
1113         * lyxfunc.C (getStatus): move lfuns handled in
1114         BufferView::dispatch to te function above
1115         * Cursor.C (setSelection): set selection() = true
1116
1117 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1118
1119         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1120
1121 2004-03-31  Angus Leeming  <leeming@lyx.org>
1122
1123         * lyxfunc.C (dispatch): Fall through to the generic
1124         Dialogs::show("preamble").
1125
1126 2004-03-31  Angus Leeming  <leeming@lyx.org>
1127
1128         * lyxfunc.C (dispatch): Fall through to the generic
1129         Dialogs::show("spellchecker").
1130
1131 2004-03-31  Angus Leeming  <leeming@lyx.org>
1132
1133         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1134         preferences dialog.
1135
1136 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1137
1138         * BufferView.C
1139         * cursor.[Ch]
1140         * dociterator.[Ch]:
1141         * insetiterator.[Ch]:
1142         * lyxfind.C:
1143         * lyxfunc.C:
1144         * pariterator.[Ch]:
1145         * text2.C:
1146         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1147
1148 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1149
1150         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1151         insets where we are putting the cursor.
1152
1153 2004-03-31  Angus Leeming  <leeming@lyx.org>
1154
1155         * lfuns.h:
1156         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1157
1158         * lyxrc.[Ch] (read, write): overloaded member functions taking
1159         a std::[io]stream arguments.
1160
1161         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1162
1163 2004-03-31  Angus Leeming  <leeming@lyx.org>
1164
1165         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1166         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1167
1168         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1169         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1170
1171 2004-03-31  Angus Leeming  <leeming@lyx.org>
1172
1173         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1174         the LFUN_ALL_INSETS_TOGGLE code.
1175
1176 2004-03-30  Angus Leeming  <leeming@lyx.org>
1177
1178         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1179         has died. Fall through to the generic Dialogs::show("document").
1180
1181 2004-03-30  Angus Leeming  <leeming@lyx.org>
1182
1183         * lfuns.h:
1184         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1185         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1186
1187         * lyxfunc.C (getStatus, dispatch): define the actions for these
1188         lfuns. Little more than a cut and pste job from ControlDocument.C
1189
1190         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1191
1192 2004-03-30  Angus Leeming  <leeming@lyx.org>
1193
1194         * lfuns.h:
1195         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1196         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1197
1198         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1199         open/closed state of ollapsable insets. Usage:
1200
1201         all-inset-toggle <state> <name>, where
1202         <state> == "open" || "closed" || "toggle" and
1203         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1204
1205         * lyxtext.h, text2.C (toggleInset): removed.
1206
1207         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1208         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1209         now passes LFUN_INSET_TOGGLE to the found inset.
1210
1211         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1212         is now invoked as "all-insets-toggle toggle branch".
1213
1214 2004-03-30  Angus Leeming  <leeming@lyx.org>
1215
1216         * dociterator.C:
1217         * insetiterator.C:
1218         * pariterator.[Ch]: added/corrected header blurb.
1219
1220 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1221
1222         * dociterator.[Ch]: add an inset_ member
1223         (backwardPos): implemented
1224         (backwardPos, forwardPos): use inset_ when the stack is empty.
1225         (doc_iterator_begin, doc_iterator_end): implemented
1226         * pariterator.[Ch]: adjust, add begin, end
1227         * insetiterator.[Ch]: adjust, add begin, end
1228         * cursor.C:
1229         * document.C:
1230         * BufferView.C:
1231         * BufferView_pimpl.C:
1232         * CutAndPaste.C: adjust
1233
1234 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1235
1236         * buffer.C: increment file format to 232.
1237         * LaTeXFeatures.C: add bibtopic package.
1238         * bufferparams.[Ch]: param \use_bibtopic.
1239
1240         * lyxrc.[Ch]: add lyxrc bibtex_command
1241         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1242
1243         * buffer.C: increment file format to 231.
1244
1245 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1246
1247         * dociterator.C: implement forwardPar
1248         * iterators.[Ch]: remove, replaced by
1249         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1250         * BufferView.C:
1251         * BufferView_pimpl.C:
1252         * CutAndPaste.C:
1253         * buffer.C:
1254         * bufferview_funcs.C:
1255         * cursor.C:
1256         * lyxfind.C
1257         * lyxfunc.C
1258         * paragraph_funcs.C
1259         * toc.C:
1260         * Makefile.am: adjust
1261
1262 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1263
1264         * CutAndPaste.C (pasteSelection): fix 2 crashes
1265         (eraseSelection): fix a crash
1266         * paragraph_funcs.C: remove a warning
1267
1268 2004-03-28  Angus Leeming  <leeming@lyx.org>
1269
1270         * lfuns.h:
1271         * LyXAction.C (init): new LFUN_PRINT.
1272
1273         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1274
1275 2004-03-27  Angus Leeming  <leeming@lyx.org>
1276
1277         * lfuns.h:
1278         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1279
1280         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1281
1282 2004-03-27  Angus Leeming  <leeming@lyx.org>
1283
1284         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1285         insetlist always contains non-null pointers to insets.
1286
1287 2004-03-26  Angus Leeming  <leeming@lyx.org>
1288
1289         * src/BufferView_pimpl.C:
1290         * src/CutAndPaste.C:
1291         * src/buffer.C:
1292         * src/iterators.C:
1293         * src/output_plaintext.C:
1294         * src/outputparams.h:
1295         * src/paragraph_funcs.C:
1296         * src/rowpainter.C:
1297         * src/text.C:
1298         * src/text2.C:
1299         * src/frontends/controllers/ControlErrorList.C:
1300         * src/frontends/gtk/FileDialogPrivate.C:
1301         * src/frontends/gtk/GPainter.C:
1302         * src/frontends/gtk/GToolbar.C:
1303         * src/frontends/qt2/QRef.C:
1304         * src/mathed/math_scriptinset.C: squash compiler warnings.
1305
1306 2004-03-26  Angus Leeming  <leeming@lyx.org>
1307
1308         * ispell.C (LaunchIspell::start):
1309         * lyx_cb.C (AutoSaveBuffer::start):
1310         invoke run(DontWait) rather than runNonBlocking().
1311
1312 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1313
1314         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1315
1316 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1317
1318         * kbsequence.C (print): adjust
1319
1320         * kbmap.C (printKeySym): rename and change signature
1321         (printKey): use LyXKeySym::print()
1322
1323 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1324
1325         * undo.C: add using std::advance to compile for stlport
1326
1327 2004-03-24  Angus Leeming  <leeming@lyx.org>
1328
1329         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1330         it leads to a crash when no buffer is present.
1331
1332 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1333             Martin Vermeer  <martin.vermeer@hut.fi>
1334
1335         * lyxfunc.C (dispatch):
1336         * bufferparams.C (readToken): use the new LColor::setColor
1337
1338         * LColor.[Ch] (setColor): new version that takes two strings as
1339         argument and creates a new color entry if necessary
1340
1341 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1342
1343         * buffer.C (makeLaTeXFile): if the main latex file that is
1344         processed is usually a subdocument of some master, then pretend
1345         for a while that it is actually the master
1346
1347 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1348
1349         * buffer.C (getLabelList):
1350         (getBibkeyList): use getMasterBuffer()
1351         (getMasterBuffer): new method. Returns the main document in the
1352         case where one is using included documents.
1353
1354 2004-03-25  André Pönitz  <poenitz@gmx.net>
1355
1356         * Makefile.am:
1357         * iterators.[Ch]:
1358         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1359
1360         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1361
1362         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1363         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1364
1365         * ParameterStruct.h: merge with ParagraphParameters
1366
1367         * lyxtext.h: remove LyXText::parOffset() and getPar()
1368
1369         * text3.C: Remove all 'manual' update calls. We do now one per user
1370         interaction which is completely sufficient.
1371
1372         * Bidi.C:
1373         * BufferView.[Ch]:
1374         * BufferView_pimpl.C:
1375         * FontIterator.[Ch]:
1376         * MenuBackend.C:
1377         * ParagraphParameters.[Ch]:
1378         * buffer.C:
1379         * buffer.h:
1380         * bufferlist.C:
1381         * cursor.[Ch]:
1382         * cursor_slice.[Ch]:
1383         * dociterator.[Ch]:
1384         * errorlist.[Ch]:
1385         * factory.C:
1386         * lfuns.h:
1387         * lyxfind.C:
1388         * lyxfunc.C:
1389         * output_docbook.[Ch]:
1390         * output_latex.[Ch]:
1391         * output_linuxdoc.[Ch]:
1392         * output_plaintext.[Ch]:
1393         * paragraph.[Ch]:
1394         * paragraph_funcs.[Ch]:
1395         * paragraph_pimpl.[Ch]:
1396         * rowpainter.C:
1397         * tabular.[Ch]:
1398         * text.C:
1399         * text2.C:
1400         * toc.C:
1401         * undo.[Ch]: adjust
1402
1403         * frontends/controllers/ControlDocument.C:
1404         * frontends/controllers/ControlErrorList.C:
1405         * frontends/controllers/ControlSpellchecker.C:
1406         * insets/inset.C:
1407         * insets/inset.h:
1408         * insets/insetbase.h:
1409         * insets/insetbibitem.C:
1410         * insets/insetbox.C:
1411         * insets/insetbranch.C:
1412         * insets/insetcaption.C:
1413         * insets/insetcharstyle.C:
1414         * insets/insetcharstyle.h:
1415         * insets/insetcollapsable.C:
1416         * insets/insetcollapsable.h:
1417         * insets/insetert.C:
1418         * insets/insetfloat.C:
1419         * insets/insetfoot.C:
1420         * insets/insetmarginal.C:
1421         * insets/insetnote.C:
1422         * insets/insetoptarg.C:
1423         * insets/insettabular.C:
1424         * insets/insettext.C:
1425         * insets/insettext.h:
1426         * insets/insetwrap.C:
1427         * mathed/math_mboxinset.C:
1428         * mathed/math_nestinset.C:
1429         * mathed/math_scriptinset.C:
1430         * mathed/math_scriptinset.h:
1431         * support/types.h:
1432
1433 2004-03-24  Angus Leeming  <leeming@lyx.org>
1434
1435         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1436         deal with any child processes that have finished but are waiting to
1437         communicate this fact to the rest of LyX.
1438
1439 2004-03-24  Angus Leeming  <leeming@lyx.org>
1440
1441         64-bit compile fixes.
1442
1443         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1444         (c-tor): pass lyx::pos_types rather than ints.
1445
1446         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1447         lyx::pos_type.
1448
1449         * text.C (Delete): compile fix.
1450         (getPar): ensure that function declaration is the same as that in
1451         the header file.
1452
1453 2004-03-23  Angus Leeming  <leeming@lyx.org>
1454
1455         * ispell.C (LaunchIspell):
1456         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1457         a boost::shred_ptr rather than a std::auto_ptr.
1458
1459 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1460
1461         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1462         handle LFUN_FILE_INSERT_*
1463
1464         * lyxrc.C (setDefaults, getDescription, output, read):
1465         * lyxrc.h: remove ps_command
1466
1467 2004-03-22  Angus Leeming  <leeming@lyx.org>
1468
1469         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1470         Ensure that error_handler is processed once only and that all data
1471         is saved before attempting to output any warning messages.
1472
1473         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1474
1475 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1476
1477         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1478
1479 2004-03-19  André Pönitz  <poenitz@gmx.net>
1480
1481         * cursor.[Ch] (reset): take main text inset as argument
1482
1483         * BufferView: adjust
1484         * BufferView_pimpl.C: adjust
1485
1486         * paragraph.[Ch]: fix completely broken operator=()
1487
1488 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1489
1490         * LColor.C (getFromLyXName): make sure that the color name is used
1491         as lowercase.
1492
1493 2004-03-17  Angus Leeming  <leeming@lyx.org>
1494
1495         * lfuns.h:
1496         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1497
1498         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1499         dialog and to kill a forked process.
1500
1501 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1502
1503         * text2.C (setCursorFromCoordinates): fix font problem
1504
1505 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1506
1507         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1508         bogus "rebuild cursor" code
1509
1510 2004-03-11  André Pönitz  <poenitz@gmx.net>
1511
1512         * buffer.[Ch]: use InsetText instead of LyXText as container for
1513         the main lyx text.
1514
1515         * dociterator.[Ch]: drop the BufferView * member which is not needed
1516         anymore after the change to buffer.C
1517
1518         * paragraph_funcs.C:
1519         * text.C:
1520         * text2.C:
1521         * BufferView.[Ch]:
1522         * BufferView_pimpl.[Ch]:
1523         * cursor.[Ch]:
1524         * cursor_slice.[Ch]: adjust
1525
1526         * text3.C: fix bug in mathDispatch
1527
1528 2004-03-08  André Pönitz  <poenitz@gmx.net>
1529
1530         * undo.[Ch]: use 'StableDocumentIterator' as base for
1531         the Undo struct.
1532
1533 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1534
1535         * LaTeXFeatures.C:
1536         * bufferparams.[Ch]: add jurabib support and param.
1537
1538         * LaTeX.C: add FIXME/comment.
1539
1540 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1541
1542         * buffer.C: increment file format to 230.
1543
1544 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1545
1546         * cursor.C (dispatch): avoid infinite loops
1547
1548 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1549
1550         * rowpainter.C (paintSelection): fix x coordinates
1551
1552 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1553
1554         * text.C (rowBreakPoint): fix breaking before displayed insets
1555
1556 2004-03-01  André Pönitz  <poenitz@gmx.net>
1557
1558         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1559
1560         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1561
1562         * Makefile.am:
1563         * BufferView.C:
1564         * BufferView_pimpl.C:
1565         * buffer.C:
1566         * lyxfind.C:
1567         * lyxfunc.C:
1568         * text.C:
1569         * text2.C:
1570         * text3.C: adjust
1571
1572 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1573
1574         * lyxtext.h:
1575         * text.C:
1576         * text2.C:
1577         * rowpainter.C:
1578         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1579         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1580
1581 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1582
1583         * Bidi.[Ch] (computeTables): const correctness
1584         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1585         fill_hfill, fill_label_hfill and x from Row
1586         * lyxtext.h: prepareToPrint returns a RowMetrics
1587         * rowPainter.C: adjust
1588         * text.C (prepareToPrint): use width, not textWidth. adjust
1589         (redoParagraphInternal, cursorX): adjust
1590         * text2.C (getColumnNearX): adjust
1591         (init): put a default value to the top LyXText::width
1592
1593 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1594
1595         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1596
1597 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1598
1599         * lyxtext.h: add FontIterator class
1600
1601         * text.C (FontIterator, operator*, operator->, operator++): add
1602         (rowBreakPoint, setRowWidth): adjust (fixing a
1603         rebreaking bug)
1604
1605 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1606
1607         * BufferView_pimpl.C (workAreaDispatch): allow also
1608         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1609
1610 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1611
1612         * text.C (rowBreakPoint): fix a bug showing with very large insets
1613
1614 2004-02-25  André Pönitz  <poenitz@gmx.net>
1615
1616         * text3.C:
1617         * cursor.[Ch]: move some mathed specific code to mathed
1618
1619 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1620
1621         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1622         use_tempdir in preferences
1623         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1624         tempfile creation
1625         * lyx_main.C: ensure that tempdir is valid
1626         * lyxlex.h: correct typo
1627         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1628         * paragraph.[Ch] (isMultiLingual): make const
1629         * cursor.[Ch] (openable): make const
1630
1631 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1632
1633         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1634
1635 2004-02-20  André Pönitz  <poenitz@gmx.net>
1636
1637         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1638
1639         * cursor.[Ch]: prepare for localized getStatus()
1640
1641         * lyxtext.h:
1642         * tabular.C:
1643         * text.C:
1644         * text2.C:
1645         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1646
1647 2004-02-20  André Pönitz  <poenitz@gmx.net>
1648
1649         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1650
1651 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1652
1653         * text2.C (setCursorFromCoordinates): switch to absolute coords
1654         (cursorUp): adjust
1655         (cursorDown): adjust
1656         * text3.C (dispatch): adjust
1657
1658 2004-02-16  André Pönitz  <poenitz@gmx.net>
1659
1660         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1661           insets/ChangeLog)
1662
1663         * cursor_slice.[Ch]: remove unneeded acessor function
1664
1665         * lyxtext.h: rename rtl() to isRTL()
1666
1667         * rowpainter.C:
1668         * tabular.C:
1669         * text.C:
1670         * text2.C:
1671         * text3.C: adjust
1672
1673 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1674
1675         * rowpainter.C (paintSelection): coord fix
1676
1677 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1678
1679         * Spacing.C: compile fix
1680
1681 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1682
1683         * cursor.C (dispatch): restore current_ before returning
1684
1685 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1686
1687         * text2.C (cursorUp, cursorDown): fix coords
1688         (moveUp): fix crash
1689
1690 2004-02-12  André Pönitz  <poenitz@gmx.net>
1691
1692         * lyxtext.h:
1693         * text.C:
1694         * text2.C:
1695         * text3.C: add LCursor & parameter to most cursor movement functions
1696           remove usage of LyXText::cursorRow() and cursorPar()
1697
1698         * cursor.[Ch]: add textRow() needed members
1699
1700         * BufferView.C:
1701         * BufferView_pimpl.C:
1702         * paragraph.[Ch]:
1703         * BufferView.C:
1704         * BufferView_pimpl.C: adjust
1705
1706 2004-02-11  André Pönitz  <poenitz@gmx.net>
1707
1708         * lyxfunc.C:
1709         * BufferView.[Ch]:
1710         * BufferView_pimpl.C: shift undo/redo handling
1711
1712         * cursor.[Ch]: fix mathed crash
1713
1714         * lyxfind.C:
1715         * lyxtext.h: move selectionAsText to LCursor
1716
1717         * output_latex.C:
1718         * paragraph.C:
1719         * text.C:
1720         * text2.C:
1721         * text3.C: adjust
1722
1723         * rowpainter.C: fix excessive drawing
1724
1725 2004-02-06  André Pönitz  <poenitz@gmx.net>
1726
1727         * BufferView.[Ch]:
1728         * BufferView_pimpl.[Ch]:
1729         * text3.C: move some text specific LFUN handling
1730
1731 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1732
1733         * text3.C (checkInsetHit): adjust coords
1734         * text2.C (getColumnNearX): adjust coords
1735         (edit): adjust coords
1736         * text.C (getRowNearY): add two asserts
1737
1738 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1739
1740         * converter.C:
1741         * format.C: add using std::distance to compile on gcc 2.95/stlport
1742
1743 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1744
1745         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1746
1747 2004-02-04  André Pönitz  <poenitz@gmx.net>
1748
1749         * BufferView.[Ch] (insertInset):
1750         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1751
1752         * text2.C:
1753         * text3.C: adjust
1754
1755 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1756
1757         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1758         on the default clause of the switch
1759         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1760         wasn't catched by LCursor::dispatch
1761
1762 2004-02-03  André Pönitz  <poenitz@gmx.net>
1763
1764         * BufferView.C:
1765         * cursor.[Ch]: some additional asserts
1766
1767         * undo.[Ch]: remove LyXText dependency in interface
1768
1769         * lyxfunc.C: adjust
1770
1771         * lyxtext.h (firstPar, lastPar): remove dead functions
1772
1773         * text.C:
1774         * text2.C:
1775         * text3.C:
1776         * paragraph.[Ch]: adjust
1777
1778 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1779
1780         * lyxfind.C (find): fix argument order in call to ::find
1781
1782 2004-02-02  André Pönitz  <poenitz@gmx.net>
1783
1784         * cursor.[Ch]: remove direct access to anchor
1785
1786         * text.C: remove findText() hack
1787
1788 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1789
1790         * iterators.[Ch] (lockPath): remove in favour of...
1791         * BufferView.[Ch] (setCursor): this addition
1792         * BufferView.C (putSelectionAt): adjust
1793         * undo.C (performUndoOrRedo): adjust
1794         * lyxfunc.C (dispatch): adjust
1795
1796 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1797
1798         * iterators.C (lockPath): add a missing slice
1799         * undo.C (performUndoOrRedo): remove redundant positioning code
1800
1801 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1802
1803         * vc-backend.C (scanMaster): ";" -> ';'
1804
1805 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1806
1807         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1808         std::binary_function
1809
1810         * lyxtextclass.C (compare_name): rename to...
1811         (LayoutNamesEqual): ...this
1812
1813         * lyxlex_pimpl.C (compare_tags): inherit from
1814         std::binary_function, put back into anon namespace
1815
1816         * lyxfind.C (MatchString): inherig from std::binary_function
1817         (findChange): use empty() istead of !size()
1818
1819         * format.C (FormatNamesEqual): new functor
1820         (getFormat): use it
1821         (getNumber): use it
1822         (add): use it
1823         (erase): use it
1824         (setViewer): use it
1825
1826         * converter.C (compare_Converter): rename to...
1827         (ConverterEqual): ...this, and fixup a bit.
1828         (getConverter): use it, and make function const
1829         (getNumber): use it, and make function const
1830         (add): use it
1831         (erase): use it:
1832
1833         * bufferlist.C: add using boost::bind
1834
1835         * MenuBackend.C (MenuNamesEqual): new functor
1836         (hasMenu): use it, and make function const
1837         (hasSubmenu): use nested bind to get rid of compare_memfun.
1838
1839 2004-01-30  André Pönitz  <poenitz@gmx.net>
1840
1841         * BufferView_pimpl.C:
1842         * cursor.C:
1843         * cursor.h:
1844         * cursor_slice.[Ch]:
1845         * lyxfunc.C:
1846         * lyxtext.h:
1847         * paragraph_funcs.C:
1848         * paragraph_funcs.h:
1849         * rowpainter.C:
1850         * text.C:
1851         * text2.C:
1852         * text3.C: move some of the edit(x,y) handling to the insets
1853         some coordinate changes.
1854
1855 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1856
1857         * text.C: add using statements for std::advance and std::distance
1858
1859         * paragraph.C: add using statement for std::distance
1860
1861         * lyxfind.C: add using statement for std::advance
1862
1863         * cursor.C (region): remove std:: from swap
1864         (openable): use nucleus in stead of operator->
1865
1866         * BufferView.C: add using statements for std::distance and std::swap
1867
1868 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1869
1870         * iterators.C: Remove the pimple, move the needed structures to
1871         the header file. Create accessor for the positions stack.
1872         (asPosIterator): remove function
1873
1874         * PosIterator.C (PosIterator): move constructors to top of file
1875         (PosIterator): reimplement the constructor taking a ParIterator in
1876         terms of setFrom.
1877         (setFrom): new function
1878         (operator!=): inline it
1879
1880 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1881
1882         * lyxfind.C (replaceAll): use std::advance
1883
1884         * iterators.h: inherit from std::iterator.
1885
1886         * PosIterator.C (advance, distance): remove
1887         * PosIterator.h: interit from std::iterator.
1888
1889 2004-01-26  André Pönitz  <poenitz@gmx.net>
1890
1891         * BufferView.[Ch]:
1892         * BufferView_pimpl.[Ch]:
1893         * InsetList.[Ch]:
1894         * PosIterator.[Ch]:
1895         * buffer.h:
1896         * bufferview_funcs.C:
1897         * cursor.[Ch]:
1898         * cursor_slice.h:
1899         * factory.[Ch]:
1900         * iterators.[Ch]:
1901         * lyxfind.C:
1902         * lyxfunc.C:
1903         * lyxtext.h:
1904         * output_docbook.C:
1905         * output_latex.C:
1906         * output_linuxdoc.C:
1907         * output_plaintext.C:
1908         * paragraph.[Ch]:
1909         * paragraph_funcs.[Ch]:
1910         * paragraph_pimpl.[Ch]:
1911         * rowpainter.C:
1912         * tabular.C:
1913         * tabular.h:
1914         * text.C:
1915         * text2.C:
1916         * text3.C: more IU:  dumps most of the rest of the mathcursor
1917     implementation into cursor.[Ch]; "globalize" a bit of it.
1918
1919 2004-01-25  Angus Leeming  <leeming@lyx.org>
1920
1921         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1922
1923 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1924
1925         * LaTeXFeatures.h: add nice_ and nice() const
1926         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1927
1928 2004-01-20  André Pönitz  <poenitz@gmx.net>
1929
1930         * BufferView.[Ch]:
1931         * BufferView_pimpl.C:
1932         * PosIterator.C:
1933         * bufferview_funcs.C:
1934         * cursor.[Ch]:
1935         * cursor_slice.[Ch]:
1936         * factory.C:
1937         * iterators.C:
1938         * lyx_cb.C:
1939         * lyxfind.C:
1940         * lyxfunc.C:
1941         * lyxtext.h:
1942         * rowpainter.C:
1943         * text.C:
1944         * text2.C:
1945         * text3.C:
1946         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1947           LCursor and mathcursor parts to LCursor and InsetBase.
1948
1949 2004-01-15  André Pönitz  <poenitz@gmx.net>
1950
1951         * cursor_slice.[Ch]: add a few covienience functions
1952
1953         * funcrequest.[Ch]: remove BufferView * member
1954
1955         * BufferView_pimpl.C:
1956         * cursor.C:
1957         * factory.[Ch]:
1958         * lyxfind.[Ch]:
1959         * lyxfunc.C:
1960         * lyxtext.h:
1961         * text3.C:
1962         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1963
1964 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1965
1966         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1967         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1968
1969 2004-01-13  André Pönitz  <poenitz@gmx.net>
1970
1971         * textcursor.[Ch]:
1972         * lyxtext.h: hide cursor and selection anchor behind accessor function
1973
1974         * BufferView.C:
1975         * BufferView_pimpl.[Ch]:
1976         * PosIterator.C:
1977         * bufferview_funcs.C:
1978         * cursor.h:
1979         * lyxfind.C:
1980         * lyxfunc.C:
1981         * text.C:
1982         * text2.C:
1983         * text3.C:
1984         * undo.C: adjust
1985
1986         * cursor.h:
1987         * cursor_slice.[Ch]: some integer type changes for inset unification
1988
1989         * lyxcursor.[hC]: remove, it's CursorSlice now.
1990
1991         * Makefile.am:
1992         * BufferView_pimpl.[Ch]:
1993         * bufferview_funcs.C:
1994         * cursor_slice.C:
1995         * lyxtext.h:
1996         * text.C:
1997         * text2.C:
1998         * text3.C:
1999         * textcursor.[Ch]: adjust
2000
2001 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2002
2003         * text2.C (undoSpan): add and use
2004         * text.C (breakParagraph): use undoSpan (fix bug 578)
2005         * lyxtext.h: adjust
2006
2007 2004-01-08  Angus Leeming  <leeming@lyx.org>
2008
2009         * BufferView_pimpl.C (MenuInsertLyXFile):
2010         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2011         * lyxfunc.C (menuNew, open, doImport):
2012         FileFilterList change to the FileDialog open and save functions.
2013
2014 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2015
2016         * ShareContainer.h: make isEqual and isUnique adaptable
2017
2018         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2019
2020 2004-01-07  Angus Leeming  <leeming@lyx.org>
2021
2022         * LyXAction.C:
2023         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2024
2025         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2026
2027         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2028         functions replacing find, replace and replaceAll.
2029
2030         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2031         LFUN_WORDFIND(FORWARD|BACKWARD).
2032
2033 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2034
2035         * text.C (breakParagraph): remove an outdated #warning
2036
2037 2004-01-07  André Pönitz  <poenitz@gmx.net>
2038
2039         * lyxfind.C: somewhat clearer logic
2040
2041         * text.C: prevent crash in cursorX on unitialized row cache
2042
2043 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2044
2045         * lyxcursor.[Ch] (operator>): add
2046         * textcursor.C (selStart, selEnd): use std::min and std::max
2047
2048 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2049
2050         * Chktex.C: include boost/format.hpp
2051
2052 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2053
2054         * InsetList.C: replace functor MathcIt with adaptable functor
2055         InsetTablePosLess
2056         (insetIterator): modify accordingly
2057
2058         * BranchList.h: move the BranchNamesEqual functor here from...
2059         * BranchList.C: ... to here
2060
2061         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2062         SameName and match.
2063         (add): replace a finding loop with std::find_if.
2064
2065 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2066
2067         * output_docbook.C: moving LatexParam functionality into
2068         .layout files
2069
2070 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2071
2072         * buffer.C: increment format to 229.
2073
2074 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2075
2076         * LaTeXFeatures.C:
2077         * lyx_sty.[Ch]: remove minipageindent_def
2078
2079         * LyXAction.C:
2080         * factory.C:
2081         * lfuns.h:
2082         * lyxfunc.C:
2083         * text3.C: remove LFUN_INSET_MINIPAGE
2084
2085 2003-12-28  Angus Leeming  <leeming@lyx.org>
2086
2087         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2088
2089 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2090
2091         * text2.C (setParagraph): fix off-by-one crash
2092
2093 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2094
2095         * output_docbook.C: header stuff for AGU
2096
2097 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2098
2099         * text2.C (redoCursor): remove
2100         * text.C:
2101         * text3.C:
2102         * BufferView_pimpl.C: remove calls to redoCursor and
2103         setCursor(cursor.par(), cursor.pos()) all around
2104
2105 2003-12-15  Angus Leeming  <leeming@lyx.org>
2106
2107         * buffer.C: up the format to 228.
2108
2109 2003-12-15  André Pönitz  <poenitz@gmx.net>
2110
2111         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2112         slices
2113
2114         * Makefile.am:
2115
2116         * BufferView_pimpl.C:
2117         * cursor.[Ch]:
2118         * lyxcursor.[Ch]:
2119         * rowpainter.[Ch]:
2120         * lyxtext.h:
2121         * text.C:
2122         * text2.C:
2123         * text3.C: adjust
2124
2125 2003-12-15  Angus Leeming  <leeming@lyx.org>
2126
2127         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2128         than getFromGUIName to manipulate the color.
2129
2130 2003-12-14  Angus Leeming  <leeming@lyx.org>
2131
2132         * BranchList.[Ch]: minimize the API.
2133         (Branch::getBranch, getColor): now return a 'const &'.
2134         (Branch::setSelected) now returns a bool set to true if the
2135         selection status changes.
2136         (BranchList::clear, size, getColor, setColor, setSelected,
2137         allBranches, allSelected, separator): removed.
2138         (BranchList::find): new functions, returning the Branch with
2139         the given name.
2140         (BranchList::add, remove): return a bool indicating that
2141         the operation was successful.
2142
2143         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2144         new InsetBranch::isBranchSlected member function.
2145
2146         * LColor.[Ch]: mimimize the API.
2147         (fill): renamed as addColor and made private.
2148         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2149         versions of these functions taking a string arg have been removed.
2150
2151         * bufferparams.C (readToken):
2152         * lyxfunc.C (dispatch):
2153         * lyxrc.C (read): changes due to the altered BranchList and
2154         LColor APIs.
2155
2156         * factory.C (createInset, readInset): changes due to altered
2157         InsetBranch c-tor.
2158
2159 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2160
2161         * factory.C:
2162         * lyxfunc.C: remove insetminipage. "minipage-insert"
2163         now produces a frameless minipage box inset.
2164
2165 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2166
2167         * textcursor.[Ch] (selStart,selEnd): add new methods
2168         remove selection::start, end, use LyXCursor::operator<
2169         * lyxcursor.[Ch] (operator<): add
2170         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2171         * BufferView.[Ch] (unsetXSel): add
2172         * text2.C (clearSelection): use unsetXSel,adjust
2173         * text.C: adjust
2174         * text3.C: adjust
2175         * rowpainter.C: adjust
2176         * bufferview_funcs.C (put_selection_at): adjust
2177
2178 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2179
2180         * BufferView_pimpl.C: small coord. correction
2181
2182 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2183
2184         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2185         dragging over the splash screen.
2186
2187 2003-12-11  Angus Leeming  <leeming@lyx.org>
2188
2189         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2190         as it is now handled in LyXText::dispatch.
2191
2192         * text3.C (doInsertInset): remove a level of nesting.
2193
2194 2003-12-11  Angus Leeming  <leeming@lyx.org>
2195
2196         * factory.C (createInset): changes due to the changed interface to
2197         InsetCommandMailer::string2params.
2198
2199 2003-12-10  Angus Leeming  <leeming@lyx.org>
2200
2201         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2202         'dialog-show-new-inset <inset name>'
2203
2204 2003-12-10  Angus Leeming  <leeming@lyx.org>
2205
2206         * buffer.C: up the format to 227.
2207
2208         * factory.C: the box inset is now identified simply by 'Box'.
2209
2210 2003-12-10  Angus Leeming  <leeming@lyx.org>
2211
2212         * buffer.C: up the format to 226.
2213
2214         * factory.C: the note inset is now identified simply by 'Note'.
2215
2216 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2217
2218         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2219         when a pit is enough. Standarize a couple of loops.
2220
2221 2003-12-05  Angus Leeming  <leeming@lyx.org>
2222
2223         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2224         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2225         data to the re-worked "log" dialog.
2226
2227 2003-12-03  André Pönitz  <poenitz@gmx.net>
2228
2229         * PosIterator.C:
2230         * iterators.C:
2231         * lyxtext.h:
2232         * output_latex.C:
2233         * paragraph_funcs.C:
2234         * text.C:
2235         * text2.C: use Inset::getText instead of Inset::getParagraph
2236
2237 2003-12-03  André Pönitz  <poenitz@gmx.net>
2238
2239         * buffer.[Ch]:
2240         * lyxtext.h:
2241         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2242         InsetText::read() as LyXText::read()
2243
2244 2003-12-02  Angus Leeming  <leeming@lyx.org>
2245
2246         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2247         type. Add a comment in the implementation that the function uses
2248         the stream's bad() function rather than fail() as the std::streams
2249         would do.
2250
2251 2003-12-02  André Pönitz  <poenitz@gmx.net>
2252
2253         * lyxlex.[Ch]: make interface more similar to std::stream
2254
2255         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2256
2257 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2258
2259         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2260
2261 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2262
2263         * vspace.[Ch]: remove VSpace::NONE
2264
2265 2003-12-01  André Pönitz  <poenitz@gmx.net>
2266
2267         * buffer.[Ch]:
2268         * lyxtext.h: move ParagraphList member to LyXText
2269         rename LyXText::ownerParagraphs to LyXText::paragraph
2270
2271         * CutAndPaste.C:
2272         * bufferview_funcs.C:
2273         * iterators.[Ch]:
2274         * lyx_cb.C:
2275         * paragraph.C:
2276         * rowpainter.C:
2277         * tabular.C:
2278         * text.C:
2279         * text2.C:
2280         * text3.C: adjust
2281
2282         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2283
2284         * undo.C: fix cursor positioning
2285
2286 2003-12-01  John Levon  <levon@movementarian.org>
2287
2288         * BufferView_pimpl.C: fix a crash on exit with
2289         a buffer open
2290
2291 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2292
2293         * BranchList.C: fix setSelected() method.
2294
2295 2003-11-28  André Pönitz  <poenitz@gmx.net>
2296
2297         * ParagraphParameters.[Ch]:
2298         * ParameterStruct.h: remove space above/below from Paragraph to
2299          InsetVSpace
2300
2301         * BufferView_pimpl.C:
2302         * factory.C:
2303         * lyxfunc.C:
2304         * lyxtext.h:
2305         * output_latex.C:
2306         * paragraph.C:
2307         * paragraph_funcs.C:
2308         * rowpainter.[Ch]:
2309         * text.C:
2310         * text2.C:
2311         * text3.C: adjust
2312
2313 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2314
2315         * factory.C: Syntax change for CharStyles
2316
2317 2003-11-28  André Pönitz  <poenitz@gmx.net>
2318
2319         * BufferView.[Ch]:
2320         * BufferView.[Ch]:
2321         * buffer.[Ch]:
2322         * buffer.[Ch]: move LyXText member
2323
2324 2003-11-28  André Pönitz  <poenitz@gmx.net>
2325
2326         * BufferView.[Ch]: make LyXText * text a private member
2327
2328         * BufferView_pimpl.C:
2329         * cursor.C:
2330         * iterators.C:
2331         * lyx_cb.C:
2332         * lyxfind.C:
2333         * lyxtext.h:
2334         * rowpainter.[Ch]:
2335         * text.C:
2336         * text2.C:
2337         * undo.C: adjust
2338
2339         * output_plaintext.C: cleanup
2340
2341 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2342
2343         * buffer.C:
2344         * lyxtextclass.[Ch]: parametrize SGML document header
2345
2346 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2347
2348         * converter.[Ch]:
2349         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2350         getFlavor().
2351
2352 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2353
2354         * text2.C (setFont): rework using PosIterator (no more recursive)
2355         (setCharFont): no more needed
2356         (setLayout): no more selection cursors fiddling (done by redoCursor)
2357         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2358         destroy remaining ones)
2359
2360 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2361
2362         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2363         * lyxtext.h: ditto
2364         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2365         selection cursors
2366         * lyxfunc.C: adjust
2367         * text3.C: adjust + re-allow multi par depth changes
2368         * textcursor.C: simplify a bit
2369
2370 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2371
2372         * src/buffer.C:
2373         * src/lyxlayout.C:
2374         * src/lyxlayout.h:
2375         * src/lyxtext.h:
2376         * src/output_docbook.C:
2377         * src/output_latex.C:
2378         * src/paragraph.C:
2379         * src/paragraph.h:
2380         * src/sgml.C:
2381         * src/sgml.h:
2382         * src/text2.C: Introducing a number of tags parametrizing various
2383         XML formats that we may want to support
2384
2385 2003-11-25  André Pönitz  <poenitz@gmx.net>
2386
2387         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2388
2389         * lyxtext.h (leftMargin/rightMargin): simplify interface
2390
2391         * rowpainter.C:
2392         * text.C:
2393         * text2.C:
2394         * text3.C: adjust
2395
2396 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2397
2398         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2399         master file to any child files. Fixes bug 546.
2400
2401 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2402
2403         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2404
2405 2003-11-24  André Pönitz  <poenitz@gmx.net>
2406
2407         * rowpainter.C: simplification
2408
2409         * text2.C (updateCounters): remove call to redoParagraph on
2410         changed labels as this is far too expensive.
2411
2412 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2413
2414         * converter.C (convert): fix a crash: this function gets
2415         called with buffer == 0 from importer code.
2416
2417 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2418
2419         * text3.C (cursorPrevious): make sure that we do not compare
2420         iterators form different containers.
2421         (cursorNext): ditto
2422
2423         * rowpainter.C (paintSelection): make sure that we do not compare
2424         iterators from different containers.
2425
2426         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2427         iterators from different ParagraphList containers.
2428         [NEXT] ditto
2429
2430         * text2.C (LyXText): change order of initialization slightly
2431         (operator=): new function. copy all variables except cache_par_
2432         (moveUp): make sure that we do not compare iterators from
2433         different ParagraphList constainers.
2434         (moveDown): ditto
2435
2436         * text.C (firstPar): new function
2437         (lastPar): new function
2438         (endPar): new function
2439
2440         * lyxtext.h: move things around and group public functions, public
2441         variables, private functions, private variables
2442
2443 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2444
2445         * factory.C: change call to InsetERT constructor to avoid
2446         additional invocation of method status
2447         * text2.C (toggleInset): remove redundant update() call
2448         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2449         instead of a Bufferview pointer
2450
2451 2003-11-21  André Pönitz  <poenitz@gmx.net>
2452
2453         * rowpainter.C: simplification
2454
2455 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2456
2457         * text3.C (dispatch): make possible to extend a word/row selection
2458         with the mouse
2459
2460 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2461
2462         * lyxtext.h: x0_,y0_ -> xo_,yo_
2463         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2464         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2465         * rowpainter.C (paintRows): paint full paragraphs
2466
2467 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2468
2469         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2470         screen coordinates)
2471
2472 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2473
2474         * lyxtext.h: add x0_, y0_
2475         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2476         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2477
2478 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2479
2480         * text2.C (setCursorIntern): move the x_target update here *
2481         * text3.C: change some bv() to true/false in calls to
2482         cursorUp/Down/Right/Left
2483         * cursor.C: use helper function.
2484
2485 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2486
2487         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2488         * paragraph_funcs.[Ch]: correct comment
2489         * rowpainter.C: do not paint selections away from bv->cursor()
2490         Fix a long standing selection painting bug.
2491         * text3.C: generalize mouse-selection code to LyXTexts other that
2492         top one
2493         * textcursor.C: do not use y coords if we can use par offsets
2494
2495 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2496
2497         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2498         cursor position after e.g. inset insert)
2499
2500 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2501
2502         * lyxfind.C (replace): adjust to locking removal + some
2503         code simplification
2504
2505 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2506
2507         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2508         of the path
2509
2510 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2511
2512         * lyxlayout.[Ch]:
2513         * output_docbook.C: XML sanitation: new layout
2514         parameters InnerTag and CommandDepth
2515
2516 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2517
2518         * BufferView_pimpl.C:
2519         * factory.C:
2520         * text3.C: Fix the insertion and modification of button-style
2521         insets
2522
2523 2003-11-13  André Pönitz  <poenitz@gmx.net>
2524
2525         * InsetList.[Ch]: remove deleteLyXText
2526
2527         * paragraph.[Ch]: cache beginOfBody position
2528
2529         * Bidi.C:
2530         * text.C:
2531         * text2.C:
2532         * text3.C: remove superfluous update() calls
2533
2534         * vspace.C: cleanup
2535
2536 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2537
2538         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2539         * BufferView.C (fitLockedInsetCursor): remove
2540         * cursor.[Ch] (getDim): add
2541         * text.C (getRowNearY): add faster version
2542         * text3.C: remove some update calls
2543
2544 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2545
2546         * LaTeXFeatures.C:
2547         * LyXAction.C:
2548         * MenuBackend.C:
2549         * MenuBackend.h:
2550         * dispatchresult.h:
2551         * factory.C:
2552         * lfuns.h:
2553         * lyxfunc.C:
2554         * lyxtextclass.C:
2555         * lyxtextclass.h:
2556         * text3.C: The Character Style /XML short element patch.
2557
2558 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2559
2560         * text3.C:
2561         * factory.C: Small step to solving 'unable to insert some insets'
2562         problem
2563
2564 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2565
2566         * cursor.[Ch] (updatePos): new function for updating the y
2567         position of the tip inset
2568         * bufferview_funcs.C (put_selection_at):
2569         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2570
2571 2003-11-11  André Pönitz  <poenitz@gmx.net>
2572
2573         * text.C: remove big comment on invalid Paragraph pointers as it is
2574         not valid anymore
2575
2576 2003-11-11  André Pönitz  <poenitz@gmx.net>
2577
2578         * text_funcs.[Ch]: merge with ...
2579
2580         * text.C: ... this
2581
2582         * lyxtext.h:
2583         * text2.C:
2584         * text3.C: adjust
2585
2586         * Makefile.am: remove text_funcs.[Ch]
2587
2588 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2589
2590         * cursor.C (getPos): return absolute cached y coord
2591
2592         * BufferView_pimpl.C (fitCursor): new simplistic code
2593         (workAreaDispatch): add a fitCursor call
2594
2595 2003-11-10  André Pönitz  <poenitz@gmx.net>
2596
2597         * BufferView.[Ch]:
2598         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2599
2600 2003-11-10  André Pönitz  <poenitz@gmx.net>
2601
2602         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2603         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2604         indicate that the cursor needs to leave an inset
2605
2606         * lyxtext.h: remove inset locking
2607
2608         * cursor.[Ch]: re-implement functionality provided by inset locking
2609
2610         * BufferView.[Ch]:
2611         * BufferView_pimpl.[Ch]:
2612         * LyXAction.C:
2613         * bufferview_funcs.[Ch]:
2614         * factory.C:
2615         * funcrequest.[Ch]:
2616         * iterators.C:
2617         * lyx_cb.C:
2618         * lyxfind.C:
2619         * lyxfunc.C:
2620         * text.C:
2621         * text2.C:
2622         * text3.C:
2623         * undo.C: adjust
2624
2625 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2626
2627         * PosIterator.[Ch]: replace the stack with a vector, add inset
2628         accesor
2629         * iterators.[C]: adjust
2630
2631 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2632
2633         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2634         replaced
2635         * paragraph_funcs.C (readParToken): put the correct id in the
2636         error item, not the id of the top paragraph
2637
2638 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2639
2640         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2641         * bufferview_funcs.C (put_selection_at): use the above
2642
2643 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2644
2645         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2646
2647 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2648
2649         * output_linuxdoc.h:
2650         * output_plaintext.h:
2651         * output.h:
2652         * output_docbook.h: add #include statements
2653
2654 2003-11-05  José Matos  <jamatos@lyx.org>
2655
2656         * output_docbook.[Ch]:
2657         * output_latex.[Ch]:
2658         * output_linuxdoc.[Ch]:
2659         * output_plaintext.[Ch]: New files for output formats.
2660         * output.[Ch]: New file for helper functions.
2661
2662         * buffer.[Ch]:
2663         * paragraph_funcs.[Ch]: output functions moved to new files.
2664
2665         * outputparams.h: rename of latexrunparams.h
2666
2667         * LaTeX.[Ch]:
2668         * buffer.[Ch]:
2669         * bufferlist.[Ch]:
2670         * converter.[Ch]:
2671         * exporter.C:
2672         * paragraph.[Ch]:
2673         * paragraph_funcs.[Ch]:
2674         * paragraph_pimpl.[Ch]:
2675         * tabular.[Ch]: rename ascii to plaintext
2676         and LatexRunParams to OutputParams.
2677
2678 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2679
2680         * iterators.[Ch] (text): require bv argument
2681         * undo.C (recordUndo):
2682         * lyxfunc.C (dispatch):
2683         * bufferview_funcs.C (put_selection_at): adjust
2684
2685 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2686
2687         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2688
2689 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2690
2691         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2692         nestings
2693
2694 2003-11-04  André Pönitz  <poenitz@gmx.net>
2695
2696         * cursor.[Ch]: restructure
2697
2698         * BufferView.[Ch]:
2699         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2700
2701         * iterators.[Ch] (asCursor): remove
2702
2703         * lfuns.h: remove LFUN_INSET_EDIT
2704
2705         * lyxfunc.C:
2706         * tabular.C:
2707         * text.C:
2708         * text2.C:
2709         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2710
2711 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2712
2713         * lyxfind.[Ch]: complete overhaul
2714         * BufferView_pimpl.C:
2715         * lyxfunc.C: adjust
2716         * paragraph.[Ch] (insert): add
2717
2718 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2719
2720         * BufferView.[Ch]:
2721         * lyxtext.h:
2722         * text.C: remove dead spellcheck code
2723
2724 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2725
2726         * dispatchresult.h: add a val setter
2727
2728         * cursor.C (dispatch): use a tempvar for data_[i]
2729
2730 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2731
2732         * PosIterator.[Ch]: compile fix
2733
2734 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2735
2736         * text.C (cursorPar): deactivate the cursor cache
2737
2738 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2739
2740         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2741
2742 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2743
2744         * text3.C (dispatch): adjust for new DisptchResult semantics.
2745
2746         * lyxfunc.C (dispatch): handle update when return from
2747         Cursor::dispatch, adjust for new DispatchResult semantics.
2748
2749         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2750         DispatchResult(true) mean to not update. Add class functions for
2751         setting dispatched and update, as well as reading.
2752
2753         * cursor.C (dispatch): don't handle update here
2754
2755 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2756
2757         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2758         * trans_mgr.C: adjust
2759
2760         * paragraph_funcs.C (readParToken): exception safety
2761
2762         * lyxvc.h: store the vcs pointer in a scoped_ptr
2763         * lyxvc.C: adjust
2764
2765         * lyxsocket.C (serverCallback): exception safety
2766
2767         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2768
2769         * ispell.C (clone): make it return a auto_ptr
2770
2771         * factory.C (createInset): exception safety
2772         (readInset): exception safety
2773
2774         * bufferlist.C (newBuffer): exception safety
2775
2776         * Thesaurus.C (Thesaurus): use initialization for aik_
2777
2778         * MenuBackend.C (expandToc): exception safety.
2779
2780 2003-11-03  André Pönitz  <poenitz@gmx.net>
2781
2782         * buffer.C:
2783         * buffer.h:
2784         * bufferview_funcs.C: remove getInsetFromId()
2785
2786         * lyxcursor.[Ch]:
2787         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2788
2789         * lyxfunc.C:
2790         * text2.C:
2791         * text3.C: adjust
2792
2793 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2794
2795         * PosIterator.C (distance, advance): new
2796         * bufferview_funcs.[Ch] (put_selection_at): new
2797         * iterators.[Ch] (lockPath): new
2798
2799 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2800
2801         * iterators.[Ch] (asPosIterator): added
2802         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2803         * PosIterator.[Ch]: added
2804
2805 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2806
2807         * text3.C:
2808         * lyxfunc.C:
2809         * cursor.C (dispatch):
2810         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2811
2812         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2813         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2814         contructor, add a class function dispatched. Remove operator>=
2815
2816 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2817
2818         * debug.C: only use the default constructor for debugstream
2819         (lyxerr) here.
2820
2821         * main.C (main): include debug.h and setup the lyxerr streambuf
2822         here.
2823
2824 2003-10-31  José Matos  <jamatos@lyx.org>
2825
2826         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2827
2828         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2829         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2830         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2831         * paragraph_pimpl.C (simpleTeXSpecialC):
2832         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2833         add LatexRunParams argument.
2834
2835         * exporter.C (Export): change call accordingly.
2836
2837         * latexrunparams.h: add new member to take care of the other backends.
2838 2003-10-30  José Matos  <jamatos@lyx.org>
2839
2840         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2841         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2842         factorise code for paragraph output.
2843         * buffer.[Ch]:
2844         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2845         move functions.
2846
2847 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2848
2849         * text3.C (dispatch):
2850         * lyxfunc.C (dispatch):
2851         * cursor.C (dispatch):
2852         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2853
2854         * dispatchresult.h: make the dispatch_result_t ctor explicit
2855
2856 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2857
2858         * sgml.[Ch]:
2859         * buffer.C: small refactoring of docbook stuff
2860
2861 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2862
2863         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2864         meaning.
2865
2866 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2867
2868         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2869         operator dispatch_result_t, and operators for == != and >=
2870
2871         * cursor.C (dispatch): adjust for operator dispatch_result_t
2872         removal. comment out call to update
2873
2874         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2875
2876 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2877
2878         * text3.C:
2879         * text2.C:
2880         * text.C:
2881         * lyxtext.h:
2882         * lyxfunc.C:
2883         * cursor.C:
2884         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2885         (dispatch):
2886
2887         * dispatchresult.h: new file, DispatchResult broken out of
2888         insets/insetbase.h
2889
2890         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2891
2892 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2893
2894         * text.C (rowBreakPoint): put a hack inside #if 0
2895
2896 2003-10-28  André Pönitz  <poenitz@gmx.net>
2897
2898         * lyxtext.h:
2899         * metricsinfo.C:
2900         * paragraph_funcs.C:
2901         * rowpainter.C:
2902         * text.C:
2903         * text2.C: general cleanup (lots of small stuff)
2904
2905 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2906
2907         * text2.C (cursorEnd): simple fix to the "end key goes to one
2908         before the end on last row" bug
2909
2910 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2911
2912         * text.C (backspace): fix the "zombie characters"
2913
2914 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2915
2916         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2917
2918 2003-10-27  André Pönitz  <poenitz@gmx.net>
2919
2920         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2921
2922         * factory.C: handle new InsetPagebreak, InsetLine
2923
2924         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2925         and move handling into new InsetPagebreak, InsetLine
2926
2927         * BufferView_pimpl.C:
2928         * LyXAction.C:
2929         * ParagraphParameters.C:
2930         * ParameterStruct.h:
2931         * lyxfunc.C:
2932         * lyxtext.h:
2933         * paragraph.C:
2934         * paragraph.h:
2935         * paragraph_funcs.C:
2936         * paragraph_pimpl.C:
2937         * rowpainter.C:
2938         * text.C:
2939         * text2.C:
2940         * text3.C: adjust
2941
2942 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2943
2944         * text.C:
2945         * lyxrow_funcs.[Ch]:
2946         * Bidi.C:
2947         * paragraph.C:
2948         * lyxtext.h:
2949         * rowpainter.C:
2950         * text2.C:
2951         * text3.C: remove lastPos uses in favour of Row::endpos
2952
2953 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2954
2955         * undo.C (performUndoOrRedo): fix two crashes by setting a
2956         cursor by hand and reordering some calls. Use bv->lockInset instead
2957         of inset->edit because the latter loses cursor information
2958
2959 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2960
2961         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2962         by Martin
2963         (rowBreakPoint): fix width. change point to point + 1.
2964         Add a missing check.
2965
2966 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2967
2968         * MenuBackend.C:
2969         * lyxfunc.C: fix (at least partly) the problems
2970         with the Nav menu and headers inside branch insets
2971         reported by Kayvan
2972
2973 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2974
2975         * paragraph.C (getChar): add strong asserts
2976
2977         * lyxrow_funcs.C (lastPos): remove hideous hack
2978
2979         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2980         (fill): adjust to that (avoid an infinite loop)
2981
2982 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2983
2984         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2985
2986 2003-10-23  André Pönitz  <poenitz@gmx.net>
2987
2988         * RowList_fwd.h: change list<> to vector<> to gain speed
2989         after suggestion from Alfredo
2990
2991 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2992
2993         * lyxtext.h: move the bidi stuff from here...
2994         * text.C: and here
2995         * text2.C: and here
2996         * Bidi.[Ch]: ... to here
2997
2998 2003-10-23  André Pönitz  <poenitz@gmx.net>
2999
3000         * lyxtext.h:
3001         * text.C (isLastRow, isFirstRow): new functions
3002
3003         * paragraph.h: new width cache member
3004
3005         * rowpainter.C: replace RowList::iterator with Row & where possible
3006
3007         * lyxfunc.C: replace several view()->text with a single call
3008
3009         * toc.C: fix 'unused' warning
3010
3011 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3012
3013         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3014         when woring with stream::pos_type
3015         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3016
3017 2003-10-22  André Pönitz  <poenitz@gmx.net>
3018
3019         * lyxtext.h:
3020         * text.C: use Row & instead of RowList::iterator
3021
3022         * lyxrow.h: rename end() to endpos()
3023
3024         * rowpainter.C:
3025         * text.C:
3026         * text2.C: adjust
3027
3028 2003-10-22  Angus Leeming  <leeming@lyx.org>
3029
3030         * buffer.[Ch] (fully_loaded): new member function, returning true
3031         only when the file has been loaded fully.
3032         Used to prevent the premature generation of previews and by the
3033         citation inset to prevent computation of the natbib-style label.
3034
3035         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3036         templates are all set up.
3037
3038         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3039
3040 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3041
3042         * text.C: fixed an "oops" in the "is a bit silly"
3043         bug fix
3044
3045 2003-10-21  André Pönitz  <poenitz@gmx.net>
3046
3047         * FuncStatus.[Ch]: small stuff, whitespace
3048
3049         * lyxfont.[Ch]: operator<<() for debug reasons
3050
3051         * lyxfunc.C:
3052         * lyxrow_funcs.C:
3053         * lyxtext.h: whitespace, spelling
3054
3055         * paragraph.C: naming of variables
3056
3057         * text.C:
3058         * text2.C: small stuff
3059
3060
3061 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3062
3063         * text.C: (1) finish off the inset display() work;
3064         (2) fix the "is a bit silly" bug (accessing char
3065         past end of par).
3066
3067 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3068
3069         * text.C: re-introduce display() for insets, fixing the
3070         various bugs (stretch of line above, math inset
3071         positioning, ...)
3072
3073 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3074
3075         * text.C (rightMargin): remove spurious semicolon
3076
3077         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3078         1415)
3079
3080 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3081
3082         * text3.C: fix one crash due to wrong cursor def
3083
3084 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3085
3086         * vc-backend.C (scanMaster): make the regex static
3087
3088         * LaTeX.C (scanAuxFile): make the regexs static
3089
3090         * text3.C (doInsertInset, dispatch, dispatch):
3091         * text2.C (cursorUp, cursorDown):
3092         * text.C (selectNextWordToSpellcheck):
3093         * BufferView_pimpl.C (dispatch):
3094         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3095
3096 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3097
3098         * lyxsocket.C: include <cerrno>
3099
3100 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3101
3102         * lyxfunc.C (dispatch): remove textcache stuff
3103
3104         * bufferlist.C (release): remove textcache stuff
3105         (closeAll): ditto
3106
3107         * TextCache.C: delete file
3108         * TextCache.h: delete file
3109
3110         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3111
3112         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3113         delete of the bv_->text.
3114         (resizeCurrentBuffer): remove texcache stuff
3115         (workAreaResize): ditto
3116
3117 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3118
3119         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3120         action.
3121
3122 2003-10-16  André Pönitz  <poenitz@gmx.net>
3123
3124         * lyxrow.[Ch]:
3125         * paragraph.h:
3126         * rowpainter.C:
3127         * text.C:
3128         * text2.C:
3129         * text3.C: speed up by storing y positions per paragraph plus per-row
3130         offset instead of having a 'full' y position in the row.
3131
3132 2003-10-15  André Pönitz  <poenitz@gmx.net>
3133
3134         * iterators.[Ch]:
3135         * iterators.[Ch]:
3136         * undo.[Ch]: make undo aware of inner insets
3137
3138 2003-10-14  Angus Leeming  <leeming@lyx.org>
3139
3140         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3141         static member functions LyX::ref() and LyX::cref.
3142         (lastfiles): new accessor functions for the new lastfiles_ member var.
3143         (addLyXView, views_): add a new LyXView to the list of views_.
3144         (updateInset): loop over all LyXViews to call their own updateInset
3145         member function, returning a pointer to the Buffer owning the inset.
3146
3147         * BufferView_pimpl.C (loadLyXFile):
3148         * MenuBackend.C (expandLastfiles):
3149         * bufferlist.C (MenuWrite, QuitLyX):
3150         lastfiles is no longer a global variable.
3151         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3152
3153         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3154         static function. Access through LyX::cref().emergencyCleanup().
3155
3156 2003-10-14  André Pönitz  <poenitz@gmx.net>
3157
3158         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3159
3160         * undo.[Ch]: restoring part of 'undo in insets'
3161
3162         * Makefile.am:
3163         * undo_funcs.[Ch]: merge with undo.[Ch]
3164
3165         * tabular.C: small cleansing stuff
3166
3167 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3168
3169         * paragraph_funcs.C (readParToken): report unknown insets as error
3170         boxes. Use the outer paragraph as location (also for unknown
3171         tokens).
3172
3173         * factory.C (readInset): do not abort on reading an unknown inset.
3174         Eat it and return 0.
3175
3176 2003-10-13  Angus Leeming  <leeming@lyx.org>
3177
3178         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3179
3180         * lyxrc.C: displayTranslator is now a function,
3181         declared in GraphicsTypes.h.
3182
3183 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3184
3185         * format.C: new placeholder $$a to pass the socket address.
3186
3187         * bufferlist.[Ch]: new function getBufferFromTmp.
3188
3189         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3190           files in the temporary dir.
3191
3192 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3193
3194         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3195
3196         * Makefile.am: add lyxsocket.[Ch].
3197
3198         * lyx_main.C (error_handler): handle SIGPIPE.
3199
3200 2003-10-13  André Pönitz  <poenitz@gmx.net>
3201
3202         * BufferView_pimpl.C:
3203         * lyxtext.h:
3204         * text.C:
3205         * text2.C:
3206         * text3.C:
3207         * undo_funcs.[Ch]: use paroffset_type instead of
3208           ParagraphList::iterators to prevent multiple conversion
3209           (and get a more robust interface)
3210
3211 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3212
3213         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3214         * lyxtext.h: ditto
3215         * text3.C (dispatch): ditto
3216
3217 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3218
3219         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3220         move the onlyfile, use onlyfile instead of foundfile in a couple
3221         of places.
3222
3223         * DepTable.C (update): flush the error stream a bit more
3224
3225 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3226
3227         * lyxserver.C (callback): adjust
3228
3229         * lyxfunc.C (getStatus): add a missing brace in commented code
3230         (ensureBufferClean): reindent
3231         (dispatch): delete version taking a string
3232
3233 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3234
3235         * LaTeX.C (deplog): move found file handlig from here...
3236         (handleFoundFile): .. to new function here.
3237         (deplog): make sure to discover several files mentioned on the
3238         same log line.
3239
3240 2003-10-10  André Pönitz  <poenitz@gmx.net>
3241
3242         * lyxfunc.C:
3243         * lyxtext.h:
3244         * tabular.C:
3245         * text.C:
3246         * text2.C:
3247         * text3.C: fix some of the tabular crashes
3248
3249 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3250
3251         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3252
3253         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3254
3255 2003-10-09  André Pönitz  <poenitz@gmx.net>
3256
3257         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3258
3259         * BufferView.C:
3260         * BufferView_pimpl.C:
3261         * bufferview_funcs.C:
3262         * lyx_cb.C:
3263         * lyxcursor.C:
3264         * lyxfind.C:
3265         * lyxfunc.C:
3266         * lyxtext.h:
3267         * text.C:
3268         * text2.C:
3269         * text3.C:
3270         * text_funcs.[Ch]:
3271         * textcursor.[Ch]:
3272         * undo_funcs.C: adjust
3273
3274 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3275
3276         * text2.C (incrementItemDepth): new function, use a backtracking
3277         algorithm to discover the correct item depth.
3278         (resetEnumCounterIfNeeded): new function, use a backtracking
3279         algorithm to discover if counter reset is needed.
3280         (setCounter): use them. Simplify a bit. Add different labels for
3281         different item depths for itemize.
3282
3283         * paragraph.C (Paragraph): remove initialization of enumdepth
3284         (operator=): ditto
3285
3286         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3287         enumerate and itemize. Change the type of itemdepth to signed char.
3288
3289 2003-10-08  André Pönitz  <poenitz@gmx.net>
3290
3291         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3292           thing assignable.
3293         * text.C:
3294         * text2.C: adjust
3295
3296         * tabular.[Ch]: fix crash after 'row-insert'
3297
3298 2003-10-08  Angus Leeming  <leeming@lyx.org>
3299
3300         Fix doxygen warnings.
3301
3302         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3303         Remove CutAndPaste:: prefix from header file declaration.
3304
3305         * LColor.h (fill): remove LColor:: prefix from declaration.
3306
3307         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3308         use lyx::depth_type rather than Paragraph::depth_type so that
3309         header file and .C file match.
3310
3311         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3312
3313         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3314         * aspell.C: \file aspell_local.C -> \file aspell.C
3315         * gettext.C: \file gettext.C -> \file src/gettext.C
3316         * gettext.h: \file gettext.h -> \file src/gettext.h
3317         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3318         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3319         * text.C: \file text.C -> \file src/text.C
3320
3321         * toc.C: move comment so that doxygen is not confused.
3322
3323 2003-10-07  Angus Leeming  <leeming@lyx.org>
3324
3325         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3326
3327 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3328
3329         * aspell.C:
3330         * aspell_local.h: add forgotten std::string's.
3331
3332 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3333
3334         * LaTeXFeatures.C:
3335         * LyXAction.C:
3336         * factory.C:
3337         * lfuns.h:
3338         * lyxfunc.C:
3339         * text3.C: The Box patch. Fancybox support, minipage, parbox
3340
3341 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3342
3343         * CutAndPaste.h:
3344         * DepTable.h:
3345         * FloatList.h:
3346         * LaTeXFeatures.h:
3347         * ParagraphParameters.h:
3348         * TextCache.h:
3349         * Thesaurus.h:
3350         * bufferlist.h:
3351         * exporter.h:
3352         * importer.h:
3353         * lastfiles.h:
3354         * lyxfind.h:
3355         * lyxfont.h:
3356         * lyxlex.h:
3357         * lyxtextclasslist.h:
3358         * messages.h:
3359         * paragraph.h:
3360         * paragraph_pimpl.C:
3361         * textcursor.h: add <string> and other small fixes to make Lars'
3362         std::string patch compile with STLport.
3363
3364 2003-10-06  Angus Leeming  <leeming@lyx.org>
3365
3366         * LColor.h: Add missing #include <string>.
3367
3368 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3369
3370         * All most all file in all subdirs: Make <string> be the prefered
3371         way of getting to std::string, add using declarations.
3372
3373 2003-10-06  André Pönitz  <poenitz@gmx.net>
3374
3375         * metricsinfo.C: initialize LyXFont before changing attribute.
3376         (fixes the 'math in \emph is upright' bug)
3377
3378 2003-10-06  André Pönitz  <poenitz@gmx.net>
3379
3380         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3381
3382 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3383
3384         * graph.C:
3385         * paragraph_pimpl.C: Small fixes to build using STLport
3386
3387 2003-10-02  André Pönitz  <poenitz@gmx.net>
3388
3389         * lyxfunc.C:
3390         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3391
3392 2003-10-01  André Pönitz  <poenitz@gmx.net>
3393
3394         * factory.C: assert early
3395
3396 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3397
3398         * lyx_main.C: remove the global debug object
3399
3400         * debug.h: adjust for new debugstream
3401
3402         * debug.C: adjust for new debugstream and keep the global debug
3403         object here.
3404
3405 2003-09-22  Angus Leeming  <leeming@lyx.org>
3406
3407         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3408         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3409         an incomplete class LyXFont.
3410
3411 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3412
3413         * factory.C: bug fix in branches
3414
3415 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3416
3417         * lyxfunc.C (processKeySym): adjust
3418         (dispatch): adjust
3419         (dispatch): change arg name from ev to func, adjust
3420         (sendDispatchMessage): ditto
3421
3422         * lyx_main.C (defaultKeyBindings): adjust keybindings
3423         (deadKeyBindings): ditto
3424
3425         * kbsequence.C (addkey): return a FuncRequest
3426
3427         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3428
3429         * kbmap.C (bind): take a FuncRequest as arg, adjust
3430         (read): adjust
3431         (lookup): adjust
3432         (defkey): change to take a FuncRequest as arg, adjust
3433         (findbinding): take a FuncRequest as arg, adjust.
3434
3435         * funcrequest.h (operator=): added
3436
3437         * funcrequest.C (FuncRequest): default kb_action changed from
3438         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3439
3440         * buffer.C (dispatch): simplify
3441         (dispatch): adjust to take a FuncRequest as arg, adjust
3442
3443         * boost.C (assertion_failed): change assertion message slightly
3444
3445         * ToolbarBackend.C (read): simplify
3446
3447         * MenuBackend.C (binding): adjust call to findbinding, add a
3448         message if no binding is found.
3449         (read): simplify
3450         (expandToc): correct by adding a empty FuncRequest
3451
3452         * LyXAction.C: include <boost/assert.hpp>
3453         (isPseudoAction): delete function
3454         (LookupFunc): change name to...
3455         (lookupFunc): this. change return type to FuncRequest.
3456         (getActionName): take kb_action as arg, simplify
3457         (funcHasFlag): add an assert, simplify.
3458
3459 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3460
3461         * toc.C (action): return a FuncRequest, simplify
3462
3463         * lyxfunc.C (processKeySym): adjust
3464         (getStatus): delete version that takes an int.
3465         (getStatus): adjust
3466         (dispatch): delete version that takes action as int
3467         (dispatch): adjust
3468         (sendDispatchMessage): simplify and adjust
3469
3470         * funcrequest.C (getArg): take unsigned int as arg
3471
3472         * ToolbarBackend.C (read): adjust
3473         (add): delete version that takes func as a string.
3474         (getIton): take a FuncRequest as arg
3475
3476         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3477         action.
3478
3479         * MenuBackend.C (MenuItem): add a new construct that only takes a
3480         Kind, simplify the constructor use for submenus.
3481         (add): adjust
3482         (expandLastfiles): adjust
3483         (expandDocuments): adjust
3484         (expandFormats): adjust
3485         (expandFloatListInsert): adjust
3486         (expandFloatInsert): adjust
3487         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3488
3489         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3490         Remove class variables lyx_pseudo_map and lyx_arg_map
3491
3492         * LyXAction.C (searchActionArg): delete function
3493         (getPseudoAction): delete function
3494         (retrieveActionArg): delete function
3495         (LookupFunc): make it return kb_action, simplify.
3496         (getActionName): simplify
3497
3498         * factory.C (createInset): fix new bug
3499
3500 2003-09-19  Angus Leeming  <leeming@lyx.org>
3501
3502         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3503         masterFilename_ parameter in the include inset.
3504
3505         * factory.C (createInset): changes due to the changes to InsetInclude.
3506
3507 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3508
3509         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3510
3511 2003-09-18  Angus Leeming  <leeming@lyx.org>
3512
3513         * buffer.C:
3514         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3515         Inset::fillWithBibKeys.
3516         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3517
3518 2003-09-18  Angus Leeming  <leeming@lyx.org>
3519
3520         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3521         variables.
3522         (ctor): pass and store a 'Buffer const &'
3523         (buffer): new member function.
3524
3525         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3526         '*this' to the LaTeXFeatures ctor.
3527
3528 2003-09-18  Angus Leeming  <leeming@lyx.org>
3529
3530         * LColor.h:
3531         * lyxfont.C:
3532         * lyxfont.h:
3533         * lyxtext.h:
3534         * text.C: rename EnumLColor as LColor_color.
3535
3536 2003-09-18  Angus Leeming  <leeming@lyx.org>
3537
3538         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3539         remove #include "insets/insetbase.h" from cursor.h.
3540
3541 2003-09-18  Angus Leeming  <leeming@lyx.org>
3542
3543         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3544         InsetOld_code to remove #include "inset.h".
3545
3546         * iterators.C: add #include "insets/inset.h"
3547
3548 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3549
3550         * BufferView.C: remove more locking stuff that apparently doesn't
3551         do anything sensible.
3552
3553 2003-09-16  André Pönitz  <poenitz@gmx.net>
3554
3555         * paragraph.[Ch]:
3556         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3557           performance boost.
3558
3559 2003-09-16  Angus Leeming  <leeming@lyx.org>
3560
3561         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3562
3563         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3564         arg/return type.
3565
3566         * paragraph.h: remove #include "lyxfont.h". Forward declare
3567         LyXFont_size.
3568
3569 2003-09-16  Angus Leeming  <leeming@lyx.org>
3570
3571         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3572         of support/textutils.h.
3573         (isWord): move the contents of support/textutils.h's IsWordChar here.
3574
3575         * buffer.C:
3576         * lyxfind.C:
3577         * rowpainter.C:
3578         * text.C:
3579         * text2.C: add #include "paragraph.h".
3580
3581         * rowpainter.C:
3582         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3583
3584 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3585
3586         * main.C:
3587         * lyx_main.C:
3588         * lyx_cb.C:
3589         * buffer.C:
3590         * LaTeX.C: use namespace alias for lyx::support::os
3591
3592 2003-09-16  Angus Leeming  <leeming@lyx.org>
3593
3594         * bufferparams.C:
3595         * bufferview_funcs.C:
3596         * factory.C:
3597         * lyxfunc.C:
3598         * paragraph_pimpl.C:
3599         * rowpainter.C:
3600         * text.C: add #include "LColor.h".
3601
3602 2003-09-16  Angus Leeming  <leeming@lyx.org>
3603
3604         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3605         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3606         return LyXFont &.
3607         Store the FontBits::color variable as an int rather than as an
3608         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3609         file.
3610
3611         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3612         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3613         string calls together.
3614
3615         * lyxrc.C: add #include "LColor.h".
3616
3617 2003-09-15  Angus Leeming  <leeming@lyx.org>
3618
3619         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3620         a cow_ptr.
3621
3622 2003-09-15  Angus Leeming  <leeming@lyx.org>
3623
3624         * LColor.h: add an EnumLColor wrapper for LColor::color.
3625
3626         * lyxfont.[Ch] (color, setColor, realColor):
3627         * lyxtext.h, text.C (backgroundColor):
3628         pass EnumLColor args to/from the functions, rather than LColor::color
3629         ones.
3630
3631         * lyxfont.h:
3632         * lyxtext.h: forward declare EnumLColor.
3633
3634         * lyx_main.C: add #include "LColor.h".
3635
3636 2003-09-15  Angus Leeming  <leeming@lyx.org>
3637
3638         * .cvsignore: add lyx-gtk.
3639
3640 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3641
3642         * Chktex.C
3643         * LaTeX.C
3644         * LaTeXFeatures.C
3645         * ParagraphParameters.C
3646         * Spacing.C
3647         * buffer.C
3648         * bufferparams.C
3649         * bufferview_funcs.C
3650         * chset.C
3651         * counters.C
3652         * funcrequest.C
3653         * lyxfont.C
3654         * lyxgluelength.C
3655         * lyxlength.C
3656         * paragraph.C
3657         * paragraph_funcs.C
3658         * text3.C
3659         * vc-backend.C: remove usage of STRCONV
3660
3661 2003-09-15  Angus Leeming  <leeming@lyx.org>
3662
3663         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3664         explicitly define the color passed to the painter.
3665
3666 2003-09-15  Angus Leeming  <leeming@lyx.org>
3667
3668         * bufferparams.C (BufferParams): reorder member initializers to avoid
3669         compiler warning.
3670
3671 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3672
3673         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3674         * text.C (updateRowPositions): remove an unusual nop
3675
3676 2003-09-12  André Pönitz  <poenitz@gmx.net>
3677
3678         * BufferView_pimpl.C:
3679         * Bullet.C:
3680         * layout.h:
3681         * lyxfunc.C:
3682         * lyxlayout.[Ch]:
3683         * lyxtextclass.C:
3684         * rowpainter.C:
3685         * text.C:
3686         * text2.C:
3687         * Counters.[Ch]: finish the 'automatic counters' job
3688
3689 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3690
3691         * aspell.C: include <boost/assert.cpp> (compile fix)
3692
3693 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3694
3695         * boost.C (assertion_failed): use lyx::support::abort instead of
3696         assert.
3697
3698 2003-09-10  Angus Leeming  <leeming@lyx.org>
3699
3700         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3701         with their _fwd progeny.
3702
3703 2003-09-09  Angus Leeming  <leeming@lyx.org>
3704
3705         134 files throughtout the source tree: replace 'using namespace abc;'
3706         directives with the appropriate 'using abc::xyz;' declarations.
3707
3708 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3709
3710         * boost.C (emergencyCleanup): moved here from LAssert.c
3711         (assertion_failed): new function, called by BOOST_ASSERT
3712
3713         * several files: change Assert to BOOST_ASSERT
3714
3715 2003-09-09  Angus Leeming  <leeming@lyx.org>
3716
3717         * buffer.[Ch]: Add an Impl class and move Buffer's member
3718         variables into it. As a result move several header files out of
3719         buffer.h.
3720
3721         Add header files to lots of .C files all over the tree as a result.
3722
3723 2003-09-09  Angus Leeming  <leeming@lyx.org>
3724
3725         * buffer.[Ch]: make Buffer's member variables private. Add
3726         accessor functions.
3727
3728         Lots of changes all over the tree as a result.
3729
3730 2003-09-08  Angus Leeming  <leeming@lyx.org>
3731
3732         * graph.C: #include <config.h>.
3733
3734 2003-09-08  Angus Leeming  <leeming@lyx.org>
3735
3736         * BranchList.C:
3737         * BufferView.C:
3738         * BufferView_pimpl.C:
3739         * CutAndPaste.C:
3740         * DepTable.C:
3741         * LaTeX.C:
3742         * LaTeXFeatures.C:
3743         * LyXAction.C:
3744         * MenuBackend.C:
3745         * TextCache.C:
3746         * aspell.C:
3747         * buffer.C:
3748         * bufferlist.C:
3749         * changes.C:
3750         * chset.C:
3751         * converter.C:
3752         * counters.C:
3753         * debug.C:
3754         * graph.C:
3755         * ispell.C:
3756         * lyx_cb.C:
3757         * lyxfind.C:
3758         * lyxfunc.C:
3759         * lyxlex_pimpl.C:
3760         * lyxrc.C:
3761         * lyxrow.C:
3762         * paragraph.C:
3763         * rowpainter.C:
3764         * texrow.C:
3765         * text.C:
3766         * text2.C:
3767         * toc.C: remove redundant using directives.
3768
3769 2003-09-07  Angus Leeming  <leeming@lyx.org>
3770
3771         * LaTeXFeatures.h: remove #include "support/types.h".
3772         * ToolbarBackend.h: remove #include <algorithm>.
3773         * changes.h: remove #include <ctime>.
3774         * debug.h: remove #include <iosfwd>.
3775         * graph.h: remove #include "support/std_string.h".
3776         * lyx_main.h: remove #include <csignal>.
3777         * lyxlex_pimpl.h: remove #include <fstream>.
3778         * sgml.h: remove #include <algorithm>, <utility>.
3779         * toc.h: remove #include "support/std_ostream.h".
3780         Add #include <iosfwd>.
3781
3782 2003-09-07  Angus Leeming  <leeming@lyx.org>
3783
3784         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3785
3786         * converter.h: forward declare LatexRunParams.
3787         * encoding.h: remove #include "lyxrc.h".
3788         * lyxtext.h: remove #include "LColor.h".
3789         * lyxtextclass.h: remove #include "support/types.h".
3790         * trans.h: remove #include "tex-accent.h".
3791         * trans_mgr.h: remove #include "tex-accent.h".
3792         * insets/inset.h: remove #include "support/types.h", <vector>.
3793         * insets/insetcollapsable.h: remove #include "LColor.h".
3794         * insets/insetinclude.h: remove #include "dimension.h".
3795         * insets/insetlatexaccent.h: remove #include "dimension.h".
3796         * insets/insetoptarg.h:: remove #include "insettext.h".
3797         * insets/insettext.h: remove #include "dimension.h",
3798         <boost/shared_ptr.hpp>
3799
3800         * insets/renderers.h: add #include "dimension.h".
3801         * insets/updatableinset.h: add #include "support/types.h".
3802
3803         * many .C files: Associated changes.
3804
3805 2003-09-06  Angus Leeming  <leeming@lyx.org>
3806
3807         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3808         one, inside testInvariant.
3809
3810         * PrinterParams.C: new file.
3811         * PrinterParams.[Ch]: move the function bodies out of line.
3812
3813 2003-09-06  Angus Leeming  <leeming@lyx.org>
3814
3815         * ParagraphParameters.h: forward declare ParameterStruct rather than
3816         including its header file.
3817         (depth): moved out-of-line.
3818
3819 2003-09-06  Angus Leeming  <leeming@lyx.org>
3820
3821         * BufferView_pimpl.h:
3822         * kbmap.h:
3823         * kbsequence.h:
3824         * lyxfunc.h: forward declare LyXKeySym rather than
3825         #include "frontends/LyXKeySym.h".
3826
3827         * BufferView_pimpl.C:
3828         * kbmap.C:
3829         * kbsequence.C:
3830         * lyxfunc.C: associated changes.
3831
3832 2003-09-06  Angus Leeming  <leeming@lyx.org>
3833
3834         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3835         As a result, can remove the #include "insets/inset.h" from BufferView.h
3836
3837 2003-09-06  Angus Leeming  <leeming@lyx.org>
3838
3839         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3840         As a result, can remove the #include "insets/inset.h" from BufferView.h
3841
3842 2003-09-06  Angus Leeming  <leeming@lyx.org>
3843
3844         * buffer_funcs.C:
3845         * buffer.h:
3846         * bufferlist.C:
3847         * BufferView.C:
3848         * bufferview_funcs.C:
3849         * BufferView_pimpl.C:
3850         * CutAndPaste.C:
3851         * lyx_cb.C:
3852         * lyxfunc.C:
3853         * paragraph.h:
3854         * ParagraphParameters.C:
3855         * tabular.C:
3856         * text3.C:
3857         * toc.C:
3858         * undo_funcs.C:
3859         * frontends/controllers/ControlDocument.C:
3860         * insets/insetcaption.C: rearrange the #includes into some sort of
3861         coherent order.
3862
3863         * buffer.h: remove #includes ErrorList.h, undo.h
3864
3865 2003-09-06  Angus Leeming  <leeming@lyx.org>
3866
3867         * support/types.h: add a 'depth_type' typedef, used to store the
3868         nesting depth of a paragraph.
3869
3870         * paragraph.h:
3871         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3872         defining explicitly.
3873
3874         * buffer.h:
3875         * paragraph_funcs.h:
3876         * ParagraphParameters.h:
3877         * sgml.h: use lyx::depth_type rather than Paragraph or
3878         ParameterStruct's depth_type.
3879
3880         * buffer.h
3881         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3882
3883         * BufferView.C:
3884         * BufferView_pimpl.C:
3885         * CutAndPaste.C:
3886         * ParagraphParameters.C:
3887         * buffer_funcs.C:
3888         * bufferlist.C:
3889         * bufferview_funcs.C:
3890         * lyx_cb.C:
3891         * lyxfunc.C:
3892         * tabular.C:
3893         * text3.C:
3894         * toc.C:
3895         * undo_funcs.C:
3896         * frontends/LyXView.C:
3897         * frontends/controllers/ControlDocument.C:
3898         * frontends/controllers/ControlErrorList.C:
3899         * insets/insetbibitem.C:
3900         * insets/insetbranch.C:
3901         * insets/insetcaption.C:
3902         * insets/insetcollapsable.C:
3903         * insets/insetenv.C:
3904         * insets/insetert.C:
3905         * insets/insetfloat.C:
3906         * insets/insetfoot.C:
3907         * insets/insetfootlike.C:
3908         * insets/insetnewline.C:
3909         * insets/insetquotes.C:
3910         * insets/insettabular.C:
3911         * insets/insettext.C:
3912         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3913
3914         * frontends/controllers/ControlChanges.C: #include "changes.h".
3915
3916 2003-09-06  Angus Leeming  <leeming@lyx.org>
3917
3918         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3919         than #including paragraph.h.
3920
3921         * ParagraphList.h:
3922         * RowList.h: deleted. Superfluous.
3923
3924         * CutAndPaste.h:
3925         * iterators.h:
3926         * lyxcursor.h:
3927         * lyxtext.h:
3928         * text_funcs.h:
3929         * undo.h:
3930         * undo_funcs.h:
3931         * insets/inset.h:
3932         * insets/insettext.h: use ParagraphList_fwd.h rather than
3933         ParagraphList.h.
3934
3935         * paragraph.h: don't forward declare ParagraphList.
3936
3937         * buffer.h:
3938         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3939         rather than ParagraphList.h. paragraph.h is still needed for the
3940         Paragraph::depth_type parameters.
3941
3942         * textcursor.h: enable it to compile stand-alone in light of the
3943         above changes.
3944
3945         * bufferview_funcs.C:
3946         * iterators.C:
3947         * lyxfunc.C:
3948         * lyxrow_funcs.C:
3949         * paragraph.C:
3950         * rowpainter.C:
3951         * text.C:
3952         * text2.C:
3953         * text3.C:
3954         * text_funcs.C:
3955         * textcursor.C:
3956         * undo.C:
3957         * frontends/controllers/ControlParagraph.C:
3958         * frontends/controllers/ControlTabular.C:
3959         * insets/insetmarginal.C:
3960         * insets/insetminipage.C:
3961         * insets/insetnote.C:
3962         * insets/insetoptarg.C: add header files needed to compile again.
3963
3964 2003-09-06  Angus Leeming  <leeming@lyx.org>
3965
3966         * RowList_fwd.h: new file, forward-declaring Row rather than
3967         #including lyxrow.h.
3968
3969         * lyxrow_funcs.h:
3970         * lyxtext.h:
3971         * paragraph.h:
3972         * insets/insettext.h: use it instead of RowList.h
3973
3974         * bufferview_funcs.C:
3975         * lyxfunc.C:
3976         * lyxrow_funcs.C:
3977         * paragraph.C:
3978         * rowpainter.C:
3979         * text.C:
3980         * text2.C:
3981         * text3.C: #include "RowList.h".
3982
3983 2003-09-05  Angus Leeming  <leeming@lyx.org>
3984
3985         * factory.C (createInset):
3986         * vspace.C (c-tor): replace sscanf call with an istringstream.
3987         * ispell.C: re-add missing HP/UX headers.
3988         * lyxserver.C: re-add missing  os2 headers.
3989
3990 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3991
3992         * BranchList.C:
3993         * graph.C:
3994         * ispell.C:
3995         * lastfiles.C:
3996         * lyx_cb.C:
3997         * lyxserver.C:
3998         * texrow.C:
3999         * text3.C: re-add missing system headers, needed for 2.95.2.
4000
4001 2003-09-05  Angus Leeming  <leeming@lyx.org>
4002
4003         Changes most place everywhere due to the removal of using directives
4004         from support/std_sstream.h.
4005
4006 2003-09-05  Angus Leeming  <leeming@lyx.org>
4007
4008         Replace LString.h with support/std_string.h,
4009         Lsstream.h with support/std_sstream.h,
4010         support/LIstream.h with support/std_istream.h,
4011         support/LOstream.h with support/std_ostream.h.
4012
4013         Changes resulting throughout the tree.
4014
4015 2003-09-05  Angus Leeming  <leeming@lyx.org>
4016
4017         * sgml.h: ensure that the header file can be compiled stand-alone.
4018         * *.C: strip out redundant #includes. (320 in total.)
4019
4020 2003-09-04  Angus Leeming  <leeming@lyx.org>
4021
4022         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4023         here (from getPackages).
4024
4025         * debug.[Ch]: add a new EXTERNAL tag.
4026
4027 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4028
4029         * text2.C (cursorEnd): simplify
4030         (setCursor): adjust
4031         (getColumnNearX): adjust
4032
4033         * text.C (computeBidiTables): adjust
4034         (fill): adjust
4035
4036         * rowpainter.C (paintChars): adjust
4037         (paintSelection): adjust
4038         (paintChangeBar): adjust
4039         (paintText): adjust
4040
4041         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4042         lastPos instead.
4043         (numberOfSeparators): adjust
4044
4045 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4046
4047         * LyXAction.C:
4048         * box.[Ch]:
4049         * lfuns.h:
4050         * lyxfunc.C:
4051         * text3.C: Restricts the mouse click functionality
4052         of insets like bibtex, include, toc and floatlist to the visible
4053         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4054         up the dialogs. Cursor has to be in front of the inset (i.e.
4055         start of row) for this to function.
4056
4057 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4058
4059         * bufferview_funcs.C (currentState): output row information
4060
4061 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4062
4063         * bufferview_funcs.C (currentState): output paragraph position
4064
4065 2003-09-04  Angus Leeming  <leeming@lyx.org>
4066
4067         * FloatList.h: move out #include "Floating.h".
4068         * LaTeX.h: move out #include "DepTable.h".
4069         * LyXAction.h: move out #include "funcrequest.h".
4070         * buffer.h: move out #include "author.h", "iterators.h".
4071         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4072         * lyx_main.h: move out #include "errorlist.h".
4073         * lyxfunc.h: move out #include "FuncStatus.h".
4074         * lyxtext: move out #include "lyxcursor.h".
4075         * paragraph_pimpl.h: move out #include "counters.h".
4076
4077 2003-09-03  Angus Leeming  <leeming@lyx.org>
4078
4079         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4080         preamble_snippets list, enabling us to add snippets to the preamble
4081         only if the snippet was not there already.
4082
4083 2003-09-04  Angus Leeming  <leeming@lyx.org>
4084
4085         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4086
4087 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4088
4089         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4090         update
4091
4092 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4093
4094         * BranchList.C: point fix, earlier forgotten
4095
4096 2003-09-02  Angus Leeming  <leeming@lyx.org>
4097
4098         * box.C (contains): renamed from 'contained' after a fantastic
4099         amount of hot air.
4100
4101 2003-09-02  John Levon  <levon@movementarian.org>
4102
4103         * BufferView.C:
4104         * lyxcursor.h:
4105         * lyxcursor.C:
4106         * lyxfunc.C:
4107         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4108
4109 2003-09-02  John Levon  <levon@movementarian.org>
4110
4111         * text2.C: simplification of cursorEnd(), including partial
4112         fix for bug 1376
4113
4114 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4115
4116         * buffer.C (readFile): add a space
4117
4118 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4119
4120         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4121
4122 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4123
4124         * buffer.C (readFile): new function, take a filename and a
4125         ParagraphList::iterator
4126         (readFile): adjust
4127         (readFile): adjust, make it private. don't use setStream, make
4128         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4129         always contain the filename.
4130
4131         * BufferView.C (insertLyXFile): simplify and make it work for
4132         gzipped files.
4133
4134 2003-08-30  John Levon  <levon@movementarian.org>
4135
4136         * Makefile.am: fix dist (from Kayvan)
4137
4138 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4139
4140         * most files: change to use const Buffer refs
4141
4142 2003-08-27  André Pönitz  <poenitz@gmx.net>
4143
4144         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4145         on top of ownerPar().
4146
4147 2003-08-27  John Levon  <levon@movementarian.org>
4148
4149         * funcrequest.C: properly initialise POD members
4150
4151 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4152
4153         * lyxtext.h (top_y): move top_y from here
4154         * text.C:
4155         * text2.C:
4156         * text3.C:
4157         * BufferView.[Ch]:
4158         * BufferView_pimpl.[Ch]: to here
4159         * frontends/screen.C:
4160         * insets/insettabular.C:
4161         * insets/insettext.C: adjust
4162         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4163
4164 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4165
4166         * BufferView.[Ch]:
4167         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4168
4169 2003-08-26  André Pönitz  <poenitz@gmx.net>
4170
4171         * paragraph_func.[Ch] (outerPar): new function
4172
4173         * paragraph.C:
4174         * paragraph_funcs.C:
4175         * paragraph_funcs.h:
4176         * paragraph_pimpl.C:
4177         * text2.C: remove Inset::par_owner
4178
4179 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4180
4181         * lyxrow_funcs.C:
4182         * lyxtext.h:
4183         * text.C:
4184         * text2.C: eliminates the needFullRow/display() stuff
4185         altogether, putting the logic in metrics/draw in the insets.
4186
4187 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4188
4189         * text2.C (redoParagraphInternal, redoParagraphs):
4190         * text.C (redoParagraph): add a call to updateRowPositions at the
4191         end of each 'metrics-like' call. Remove all others.
4192         (getRow): remove the 'y-computing' version.
4193         (getRowNearY): do not compute nor return the real y. Solve the
4194         'y < 0' problem and simplify.
4195
4196 2003-08-22  Angus Leeming  <leeming@lyx.org>
4197
4198         * *.[Ch]: clean-up of licence and author blurbs.
4199         Also move config.h out of a few .h files and into a few .C files.
4200
4201 2003-08-22  André Pönitz  <poenitz@gmx.net>
4202
4203         * lyxrow.[Ch]: add x_ and *fill_ members
4204
4205         * lyxtext.h:
4206         * text.C:
4207         * rowpainter.C:
4208         * text2.C: adjust/remove prepareToPrint() calls
4209
4210 2003-08-22  André Pönitz  <poenitz@gmx.net>
4211
4212         * lyxrow.[Ch]: add  end_ member
4213
4214         * lyxrow_funcs.C: use LyXRow::end_
4215
4216         * lyxtext.h (singleWidth): add LyXFont parameter
4217
4218         * rowpainter.C:
4219         * text2.C: adjust LyXText::singleWidth() calls
4220
4221         * text.C (redoParagraph): simplify row breaking logic
4222
4223
4224 2003-08-19  André Pönitz  <poenitz@gmx.net>
4225
4226         * funcrequest.C: initialize button_ member
4227
4228         * text3.C:
4229         * rowpainter.[Ch]: interface consolidation
4230
4231 2003-08-18  André Pönitz  <poenitz@gmx.net>
4232
4233         * BufferView.C:
4234         * BufferView_pimpl.C:
4235         * lyxfind.C:
4236         * paragraph_funcs.C:
4237         * rowpainter.C:
4238         * text3.C: remove LyXScreen::draw() and fitCursor calls
4239
4240         * BranchList.h: remove spurious semicolons
4241
4242         * MenuBackend.C: fix branchlist related crash
4243
4244 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4245
4246         * BranchList.[Ch]:
4247         * InsetList.[Ch]:
4248         * LColor.[Ch]:
4249         * LyXAction.C:
4250         * Makefile.am:
4251         * MenuBackend.[Ch]:
4252         * bufferparams.[Ch]:
4253         * factory.C:
4254         * lfuns.h:
4255         * lyxfunc.C:
4256         * text3.C: implements the 'branch inset'
4257         idea. This allows the output of various versions of a document
4258         from a single source version, selectively outputing or suppressing
4259         output of parts of the text.
4260         This implementation contains a 'branch list editor' in a separate
4261         tab of the document settings dialog. Branches are user definable
4262         and have a "display colour" to distinguish them on-screen.
4263
4264         ColorHandler was somewhat cleaned up.
4265         (1) make possible a dynamically growing LColor list by allowing
4266         the graphic context cache to grow along (vector);
4267         (2) eliminate an IMHO unnecessary step in colour allocation.
4268
4269 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4270
4271         * BufferView_pimpl.C: compile fix
4272
4273 2003-08-15  André Pönitz  <poenitz@gmx.net>
4274
4275         * rowpainter.C: remove extra metrics calls
4276
4277         * lyxtext.h: merge the two constructors into a single one,
4278           pass reference to owner's par list
4279
4280         * BufferView_pimpl.C:
4281         * text.C:
4282         * text2.C: adjust
4283
4284 2003-08-15  André Pönitz  <poenitz@gmx.net>
4285
4286         * lyxrow_funcs.[Ch]:
4287         * lyxtext.h:
4288         * paragraph.h:
4289         * paragraph_funcs.C:
4290         * rowpainter.C:
4291         * text.C:
4292         * text2.C:
4293         * text3.C:
4294         * text_funcs.C: split LyXText::rowlist_ into individual
4295         Paragraph::rows_ chunks
4296
4297         * BufferView.[Ch]:
4298         * BufferView_pimpl.[Ch]:
4299         * lyxfind.C:
4300         * lyxtext.h:
4301         * text3.C: remove toggleSelection()
4302
4303 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4304
4305         * bufferlist.C: beautify two alerts (shorter text of buttons)
4306         * buffer.C: Remove redundant ' ' from message
4307         * tabular.h:
4308         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4309         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4310         rename VALIGN_CENTER to VALIGN_MIDDLE
4311
4312 2003-08-11  André Pönitz  <poenitz@gmx.net>
4313
4314         * lyxtext.h (getPar):
4315         * text.C: new function
4316
4317 2003-08-11  André Pönitz  <poenitz@gmx.net>
4318
4319         * Makefile.am:
4320         * tracer.[Ch]: remove unneeded files
4321
4322         * InsetList.[Ch]: remove resizeInsetsLyXText()
4323
4324         * lyxtext.h:
4325         * text.C:
4326         * text2.C:
4327         * text3.C: merge insertParagraphs() and appendParagraph()
4328         remove breakAgain(), update()
4329
4330         * BufferView_pimpl.[Ch]:
4331         * bufferview_funcs.[Ch]:
4332         * lyxfunc.C:
4333         * paragraph.[Ch]:
4334         * rowpainter.C:
4335         * tabular.C: adjust after text & InsetList changes.
4336
4337 2003-08-08  André Pönitz  <poenitz@gmx.net>
4338
4339         * text.C (insertChar, backspace): replace rowlist fiddling
4340         with rebreak of full par
4341
4342         * lyxtext.h:
4343         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4344         checkParagraph, updateInset): removed
4345
4346 2003-08-07  André Pönitz  <poenitz@gmx.net>
4347
4348         * paragraph.C:
4349         * text3.C: merge some LFUN handlers, remove dead code
4350
4351 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4352
4353         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4354
4355 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4356
4357         * text2.C (DEPM): fix part of bug 1255 and 1256
4358
4359 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4360
4361         * BufferView_pimpl.C (workAreaDispatch): change to use
4362         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4363         that are no mouse related.
4364
4365 2003-08-05  André Pönitz  <poenitz@gmx.net>
4366
4367         * BufferView.[Ch]:
4368         * BufferView_pimpl.[Ch]:
4369         * bufferview_funcs.C:
4370         * text2.C:
4371         * text3.C: rip out "deep update"
4372
4373         * textcursor.[Ch] (last_sel_cursor): remove unused member
4374
4375 2003-08-04  André Pönitz  <poenitz@gmx.net>
4376
4377         * BufferView.[Ch]:
4378         * BufferView_pimpl.[Ch]:
4379         * ParagraphParameters.C:
4380         * bufferview_funcs.C:
4381         * lyx_cb.C:
4382         * lyxfind.C:
4383         * lyxfunc.C:
4384         * text.C:
4385         * text2.C:
4386         * text3.C: replace "complicated" BufferView::update(...) calls with
4387         simpler ones.
4388
4389         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4390
4391 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4392
4393         * Makefile.am (lyx_SOURCES): add paper.h
4394
4395 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4396
4397         * Makefile.am: move things around so that both lyx-qt and
4398         lyx-xforms can be built (according to --with-frontend). Then lyx
4399         is a symbolic link to lyx-[firstfrontend]
4400
4401 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4402
4403         * Always use std::endl with lyxerr
4404
4405 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4406
4407         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4408
4409 2003-08-01  André Pönitz  <poenitz@gmx.net>
4410
4411         * BufferView.[Ch]:
4412         * BufferView_pimpl.[Ch]:
4413         * lyxfunc.C:
4414         * text3.C: merge BufferView::repaint() and BufferView::update()
4415
4416 2003-08-01  José Matos  <jamatos@lyx.org>
4417
4418         * buffer.[Ch]: file_format is no longer a buffer data element.
4419
4420 2003-08-01  André Pönitz  <poenitz@gmx.net>
4421
4422         * BufferView.C:
4423         * lyxtext.h:
4424         * text.C:
4425         * text2.C: make redoParagraph more independent of current cursor
4426
4427         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4428         * text.C:
4429         * text2.C: remove unneeded members
4430
4431 2003-07-30  André Pönitz  <poenitz@gmx.net>
4432
4433         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4434
4435         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4436           create a single function...
4437
4438         * paragraph_funcs.C (moveItem): ... here.
4439
4440         * text.C:
4441           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4442
4443 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4444
4445         * LColor.[Ch]: Add comment and greyedout logical colors.
4446
4447 2003-07-30  André Pönitz  <poenitz@gmx.net>
4448
4449         * tabular.C: don't use Assert too heavily. This crashes where it
4450           shouldn't
4451
4452 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4453
4454         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4455         is disabled (bug 1232)
4456
4457 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4458
4459         * factory.C: limited 'arg' scope
4460
4461 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4462
4463         * factory.C: fixed Note submenu issues
4464
4465 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4466
4467         * factory.C: submenu for Note/Comment/Greyedout
4468
4469 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4470
4471         * lyx_main.C (LyX):
4472         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4473
4474 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4475
4476         * LaTeXFeatures.C:
4477         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4478         greyedout. Patch provided by Jürgen Spitzmüller.
4479
4480 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4481
4482         * kbmap.C (read): fix error message when reading bind files
4483
4484 2003-07-29  Angus Leeming  <leeming@lyx.org>
4485
4486         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4487         certainly does not do what it purports to do. I am doing it, and
4488         us, a favour by killing it.
4489
4490 2003-07-28  José Matos  <jamatos@lyx.org>
4491
4492         * buffer.C (readBody, do_writeFile):
4493         * paragraph.C(readParagraph): \end_document replaces \the_end.
4494
4495 2003-07-29  André Pönitz  <poenitz@gmx.net>
4496
4497         * BufferView.[Ch]:
4498         * BufferView_pimpl.[Ch]:
4499         * lyxfunc.C:
4500         * text2.C:
4501         * text3.C:
4502         * textcursor.[Ch]: remove toggleToggle & Co
4503
4504 2003-07-28  José Matos  <jamatos@fep.up.pt>
4505
4506         * buffer.C (readParagraph):
4507         * params_func (readParToken, readParagraph):
4508         * paragraph.C (write): \layout -> \begin_layout.
4509
4510 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4511
4512         * lyxlex_pimpl.C (setFile): clean up slightly.
4513
4514         * bufferparams.h: add compressed var
4515
4516         * buffer_funcs.C (readFile): adjust for LyXLex change
4517         (newFile): ditto + simplify
4518
4519         * buffer.C (writeFile): handle writing of compressed files
4520
4521         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4522         Check if the file is compressed and set a bufferparm if so.
4523
4524         * Makefile.am (lyx_LDADD): remove explicit -lz
4525
4526 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4527
4528         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4529         makeDocBookFile): put the real LyX version in the first line of
4530         the file
4531
4532         * version.h:
4533         * version.C.in: remove lyx_docversion
4534
4535         * tabular.C (write_attribute): add a template-based version to
4536         write enums properly
4537
4538 2003-07-28  André Pönitz  <poenitz@gmx.net>
4539
4540         * lyxtext.h:
4541         * text.C:
4542         * text2.C:
4543         * text3.C: use doubles again for x-coordinates. They are needed.
4544
4545 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4546
4547         * messages.C (getLocaleDir): use lyx_localedir()
4548
4549         * lyxlex_pimpl.C (setFile): compress stuff
4550
4551         * buffer.C (writeFile): add some compression stuff
4552         (do_writeFile): new func, dont call expliti close... will this
4553         breake anything?
4554
4555         * Makefile.am (lyx_LDADD): add -lz
4556
4557 2003-07-28  José Matos  <jamatos@fep.up.pt>
4558
4559         * buffer.C: increment file format.
4560         * paragraph_funcs (readParagraph, readParToken):
4561         * paragraph.C (readParagraph): add \end_layout.
4562
4563 2003-07-27  Angus Leeming  <leeming@lyx.org>
4564
4565         * Makefile.am: remove special casing for configure-time setting of
4566         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4567
4568         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4569         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4570
4571 2003-07-26  André Pönitz  <poenitz@gmx.net>
4572
4573         * paragraph_func.[Ch]:
4574         * paragraph.C (realizeFont): inline it whereever it is used
4575
4576         * rowpainter.C:
4577         * text.C:
4578         * text2.C:
4579         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4580
4581
4582 2003-07-26  André Pönitz  <poenitz@gmx.net>
4583
4584         *       lyxtext.h:
4585         * text.C:
4586         * text2.C: get rid of LyXText::need_break_row
4587
4588 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4589
4590         * toc.[Ch]: put namespace toc inside namespace lyx
4591
4592         * MenuBackend.C (expandToc2): adjust for lyx::toc
4593         (expandToc): ditto
4594
4595         * lyxfunc.C (dispatch): adjust for lyx::find
4596
4597         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4598         lyx::find instead. Reorganize a bit.
4599         (LyXReplace): rename to replace
4600         (LyXFind): rename to find
4601
4602         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4603         (dispatch): ditto
4604
4605 2003-07-26  André Pönitz  <poenitz@gmx.net>
4606
4607         * text.C (setHeightOfRow): restrict scope of temporary variable
4608
4609         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4610           code (never has been used?)
4611
4612 2003-07-27  Asger Alstrup  <alstrup@local>
4613
4614         * text.C (fill): Optimise algorithm to exploit that we can reuse
4615         the LyXFont for many characters.
4616         (setHeightOfRow): Same thing.
4617         (rowBreakPoint): Same thing.
4618
4619 2003-07-26  Asger Alstrup  <alstrup@local>
4620
4621         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4622
4623         * text.C (singleWidth): Spurious font copying in hot-spot
4624         singleWidth avoided. Reorder tests for arabic for efficiency.
4625
4626         * text.C (fill): handle empty paragraphs better.
4627
4628 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4629
4630         * ispell.C:
4631         * encoding.h: add includes
4632
4633         * lyxrc.C: remove reading of bind files
4634
4635         * lyx_main.C (init): setup bindings and menus only if we have a
4636         gui.
4637
4638         * kbmap.C (read): new method. Do the actual reading of bind
4639         files.
4640
4641         * converter.C (dvipdfm_options):
4642         * bufferparams.C:
4643         * lyxrc.C (read):
4644         (output): adapt PAPER_* enums.
4645
4646         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4647
4648         * bufferparams.h: remove paper-related enums from there
4649
4650         * paper.h: New file. A trivial header file to hold paper-related
4651         enums. It should later expand to contain many paper-related
4652         horrors access.
4653
4654         * lyxrc.C: declare extern displayTranslator
4655
4656 2003-07-27  José Matos  <jamatos@fep.up.pt>
4657
4658         * tabular.[Ch] (linuxdoc): add support for tables and figures
4659         (linuxdoc).
4660
4661 2003-07-27  José Matos  <jamatos@fep.up.pt>
4662
4663         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4664         consistency in both functions.
4665         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4666
4667 2003-07-26  Asger Alstrup  <alstrup@local>
4668
4669         * rowpainter.C (paintRows): Change algorithm to work directly on
4670         the insets rather than asking every character in the document
4671         whether its an inset.
4672
4673 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4674
4675         * buffer.C (openFileWrite): factorize some code
4676
4677 2003-07-26  Angus Leeming  <leeming@lyx.org>
4678
4679         * lyx_cb.C:
4680         * lyx_main.[Ch]: replace occurances of system_tempdir with
4681         os::getTmpDir().
4682
4683 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4684
4685         * rename Inset to InsetOld
4686
4687 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4688
4689         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4690         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4691         which I think is a bit clearer. EDIT is gone, since it was
4692         premature optimisation, and broken for mathed anyway.
4693         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4694         with cursor positioning in insets as well (math insets still do not
4695         work, but that's a different story anyway.) It mysteriously
4696         crashes sometimes with undo in the first paragraph, but I'm fairly
4697         confident that this is a compiler bug.
4698
4699 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4700
4701         * paragraph.C (Paragraph): adjust for new clone return type
4702         (operator==): ditto
4703         (copyIntoMinibuffer): ditto
4704
4705 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4706
4707         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4708         by not having a special case, and always doing a full rebreak of
4709         the document after undo.
4710
4711 2003-07-23  Angus Leeming  <leeming@lyx.org>
4712
4713         * factory.C (createInset): InsetExternal::setParams now takes a
4714         Buffer const * arg.
4715
4716 2003-07-23  Angus Leeming  <leeming@lyx.org>
4717
4718         * factory.C (createInset): changed interface to the external and
4719         graphics mailers' string2params functions.
4720
4721 2003-07-23  Angus Leeming  <leeming@lyx.org>
4722
4723         * factory.C (createInset): pass a
4724         Buffer const * parameter to InsetExternalMailer's string2params.
4725
4726 2003-07-22  John Levon  <levon@movementarian.org>
4727
4728         * Thesaurus.h: include the right aiksaurus header
4729
4730 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4731
4732         * MenuBackend.C (expand): check menu shortcuts unconditionally
4733
4734 2003-07-21  Angus Leeming  <leeming@lyx.org>
4735
4736         * factory.C (createInset): pass a
4737         buffer_path parameter to InsetGraphicsMailer's string2params.
4738
4739 2003-07-21  Angus Leeming  <leeming@lyx.org>
4740
4741         * BufferView_pimpl.C (buffer):
4742         * buffer.C (d-tor):
4743         * lyx_main.C (LyX):
4744         * lyxfunc.C (dispatch):
4745         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4746         rather than the grfx shortcut.
4747
4748 2003-07-21  André Pönitz  <poenitz@gmx.net>
4749
4750         * rowpainter.C: remove unused variables
4751
4752         * tabular_funcs.C:
4753         * tabular_funcs.h: move to tabular.C
4754         * Makefile.am: adjust
4755
4756         * tabular.[Ch]: basic optical cleaning
4757
4758         * author.h: pass references, not values
4759
4760 2003-07-18  André Pönitz  <poenitz@gmx.net>
4761
4762         * lyxtext.h:
4763         * metricsinfo.C:
4764         * metricsinfo.h:
4765         * rowpainter.C:
4766         * text.C:
4767         * text2.C:
4768         * text3.C: two-phase drawing for InsetText and InsetTabular
4769         some float -> int changes.
4770
4771 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4772
4773         * lyx_main.C: fix the fix
4774
4775 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4776
4777         * lyx_main.C: fix a crash in batch mode if no files specified
4778         * converter.C: ws
4779
4780 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4781
4782         * format.[Ch] (papersize): moved to BufferParams
4783         * converter.[Ch] (dvips_options): moved to BufferParams
4784         (dvipdfm_options): moved to anon namespace
4785         * bufferparams.[Ch]: added above functions.
4786
4787 2003-07-17  André Pönitz  <poenitz@gmx.net>
4788
4789         * lyxtext.h:
4790         * rowpainter.C:
4791         * text2.C: don't call inset->update() anymore
4792
4793         * metricsinfo.[Ch]: add convenience constructor
4794
4795 2003-07-16  André Pönitz  <poenitz@gmx.net>
4796
4797         * lyxcursor.[Ch]:
4798         * lyxfunc.[Ch]:
4799         * text.C:
4800         * text2.C: replace the LyXCursor::irow_ member with
4801          on-demand computation of the value
4802
4803 2003-07-16  John Levon  <levon@movementarian.org>
4804
4805         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4806
4807 2003-07-15  André Pönitz  <poenitz@gmx.net>
4808
4809         * text.C:
4810         * text2.C: remove no more needed refresh_row
4811
4812 2003-07-15  André Pönitz  <poenitz@gmx.net>
4813
4814         * lyxtext.h:
4815         * rowpainter.C:
4816         * text2.C:
4817         * text3.C: refresh_status tristate -> need_update bool
4818
4819 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4820
4821         * lyxtext.h (init): remove reinit argument (act as if always true)
4822         * text2.C: adjust to that
4823
4824 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4825
4826         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4827         * text3.C: use it to delete selections in some cases
4828         (bugs 441, 673, 702, 954).
4829
4830 2003-07-14  André Pönitz  <poenitz@gmx.net>
4831
4832         * rowpainter.[Ch]: reduce interface
4833
4834 2003-07-14  André Pönitz  <poenitz@gmx.net>
4835
4836         * BufferView_pimpl.C:
4837         * text2.C: adjust after removing unused BufferView * argument
4838
4839 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4840
4841         * text2.C (init): fix a crash fired on resize
4842
4843 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4844
4845         * buffer.[Ch]: added new closing signal
4846         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4847         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4848         BufferView::Pimpl via the closing the signal
4849
4850 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4851
4852         * buffer.[Ch]: take out all bv-related from buffer
4853         * BufferView.C:
4854         * BufferView_pimpl.[Ch]: connect to new signals
4855         * CutAndPaste.C: removed useless asserts
4856         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4857         * lyxvc.[Ch]:
4858         * vc-backend.[Ch]:
4859         * lyxfunc.C: moved view-related funciontality from vc here
4860         * paragraph.C: removed outdated comments
4861         * text.C: ws
4862
4863 2003-07-10  André Pönitz  <poenitz@gmx.net>
4864
4865         * BufferView_pimpl.C:
4866         * tabular.h:
4867         * tabular_funcs.C:
4868         * text.C:
4869         * text2.C: remove InsetText::InnerCache, clean up consequences
4870
4871 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4872
4873         * ispell.C: fix two typos in error messages
4874
4875 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4876
4877         * Extend Note inset to other forms of annotation like Comment
4878         and Greyedout. Right button click gives dialog.
4879
4880         Files modified or added (+):
4881
4882         * insetnote.[Ch]
4883         * FormNote.[Ch]      +
4884         * ControlNote.[Ch]   +
4885         * form_note.fd       +
4886         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4887         frontends/controllers
4888         * xforms/Dialogs.C
4889         * factory.C
4890
4891 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4892
4893         * aspell.C: add missing namespace lyx::support
4894
4895 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4896
4897         * BufferView.[Ch] (newFile): Add
4898         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4899         * LaTeX.[Ch] (message): added this signal and use it
4900         * buffer.[Ch] (busy, message): added these signals and use them
4901         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4902         * converter.C:
4903         * exporter.C:
4904         * format.C:
4905         * importer.C: use buffer signals instead of direct bv calling
4906         * lyx_cb.[Ch] (ShowMessage): removed
4907         * lyx_main.C:
4908         * lyxfunc.C:
4909         * paragraph_funcs.C:
4910         * text2.C: use buffer signals
4911
4912 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4913
4914         * introduce namespace lyx::graphics
4915
4916 2003-07-02  André Pönitz  <poenitz@gmx.net>
4917
4918         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4919
4920 2003-07-01  André Pönitz  <poenitz@gmx.net>
4921
4922         * text.C:
4923         * text2.C:
4924         * text3.C:
4925         * text_funcs.[Ch]:
4926         * textcursor.h:
4927         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4928           text*.C to text_func.C
4929
4930 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4931
4932         * introduce namespace lyx::support
4933
4934 2003-06-30  André Pönitz  <poenitz@gmx.net>
4935
4936         * Chktex.C:
4937         * funcrequest.C:
4938         * lyxtext.h:
4939         * text.C: re-enable --with-included-string
4940
4941 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4942
4943         * textcursor.C: add <config.h>
4944
4945         * text.C (getWord): remove const from word_location arg
4946
4947         * lyxvc.C (getLogFile): fix const type order
4948
4949         * lyxtext.h: remove const from word_location arg, add arg name
4950
4951         * lyxlayout.h: currect type on labeltype.
4952
4953         * importer.C: correct \file
4954
4955         * converter.C (intToFormat): use std:: on ret val, ws changes
4956
4957         * bufferlist.h: correct \file
4958
4959         * buffer.C (makeLinuxDocFile): fix const type order
4960         (makeDocBookFile): ditto
4961         (fillWithBibKeys): use std:: on stdlib args.
4962
4963         * CutAndPaste.C: fix authors.
4964         (availableSelections): use std:: on return vector
4965
4966 2003-06-27  André Pönitz  <poenitz@gmx.net>
4967
4968         * BufferView_pimpl.C:
4969         * bufferview_funcs.C:
4970         * lyxcursor.C:
4971         * lyxcursor.h:
4972         * lyxfunc.C:
4973         * lyxtext.h:
4974         * rowpainter.C:
4975         * text.C:
4976         * text2.C:
4977         * text3.C: remove LyXCursor::row_ member
4978
4979         * lyxtext.h:
4980         * text.C: rename fullRebreak() to partialRebreak() and implement
4981           a fullRebreak() that really bereks fully
4982
4983         * textcursor.h: new struct for cursor-related data
4984
4985 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4986
4987         * lyx_main.C (LyX): get full path of document loaded on the
4988         command line
4989
4990 2003-06-26  André Pönitz  <poenitz@gmx.net>
4991
4992         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4993           remove unused/broken operator>,<,>=.
4994
4995         *       text.C: remove only use of broken operator<= in an Assert().
4996
4997 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4998
4999         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5000         moved errorlist_.clear to showErrorList
5001
5002 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5003
5004         * converter.C (scanLog, runLaTeX):
5005         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5006         move the bv->showErrorList call to the callers
5007         * lyxfunc.C: i.e. here...
5008         * text2.C: and here
5009         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5010         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5011         namespace, the second to...
5012         * buffer_funcs (BufferFormat, parseErrors): added
5013         * errorlist.C (ErrorList(TeXErrors const &)): removed
5014
5015 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5016
5017         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5018
5019 2003-06-24  "Garst R. Reese" <reese@isn.net>
5020
5021         * debug.C: fix typo
5022
5023 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5024
5025         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5026
5027         * version.C.in: change docversion to 1.4
5028
5029 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5030
5031         * buffer.C: fix a bug just introduced
5032
5033 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5034
5035         * buffer.[Ch]: added the parseError signal and use it, removed
5036         sgmlError
5037         * BufferView.[Ch] (addError): moved to ...
5038         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5039         to the Buffer::parseError signal to catch (guess what) parse errors
5040         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5041
5042 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5043
5044         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5045         ability to create a buffer and to return an existing one from
5046         the list. Moved these functions to...
5047         * buffer_funcs.[Ch]: added
5048         * BufferView.[Ch] (loadLyXFile): added
5049         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5050         job removed from bufferlist::loadLyXFile.
5051         * buffer.C (setReadOnly): make it work without view
5052         (i.e added an if (users))
5053
5054 2003-06-19  Angus Leeming  <leeming@lyx.org>
5055
5056         * lfuns.h:
5057         * LyXAction.C (init):
5058         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5059         with LFUN_DIALOG_SHOW <name> <data>.
5060
5061 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5062
5063         * CutAndPaste.C (availableSelections): small compilation fix for
5064         ancient (gcc 2.9x) compilers
5065
5066 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5067
5068         * text3.C (cursorNext): add tmp var
5069
5070         * text2.C (updateCounters): for function calling out of for clause
5071         (replaceSelectionWithString): ditto
5072         (insertStringAsParagraphs): ditto
5073         (getColumnNearX): add tmp var
5074         (setCursorFromCoordinates): add tmp var
5075         (cursorDownParagraph): add tmp var
5076         (deleteEmptyParagraphMechanism): add tmp var
5077
5078         * text.C (insertChar): add tmp var
5079
5080         * rowpainter.C (paintDepthBar): add tmp var
5081
5082         * CutAndPaste.C (availableSelections): potentially check all
5083         paragraphs in a cut to fill the shown strings.
5084
5085 2003-06-18  André Pönitz  <poenitz@gmx.net>
5086
5087         * kbmap.[Ch]: use vector<> instead of list<>
5088
5089 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5090
5091         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5092         pasteSelection with index
5093
5094         * text2.C (pasteSelection): modify, call pasteSelection with index
5095
5096         * paragraph.C (asString): reimplement version with no interval to
5097         call the one with interval.
5098
5099         * lyxtext.h: add index arg to pasteSelection
5100
5101         * MenuBackend.C (MenuItem): handle PasteRecent
5102         (Menu::read::Menutags): add md_pasterecent
5103         (read): handle it
5104         (expandPasteRecent): new function
5105         (expand): use it
5106
5107         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5108
5109         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5110         the limited stack
5111         (availableSelections): new function
5112
5113 2003-06-17  Angus Leeming  <leeming@lyx.org>
5114
5115         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5116
5117 2003-06-17  Angus Leeming  <leeming@lyx.org>
5118
5119         * lfuns.h:
5120         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5121
5122         * lyxfunc.C (dispatch): invoke it.
5123
5124 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5125
5126         * iterators.C (operator++, ParPosition): reintroduce some
5127         const_cast for the benefit of older compilers.
5128
5129 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5130
5131         * text3.C (dispatch): do not modify clipboard when doing
5132         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5133         LFUN_DELETE_SKIP on a selection selection
5134
5135 2003-06-16  André Pönitz  <poenitz@gmx.net>
5136
5137         * BufferView.C:
5138         * buffer.C:
5139         * buffer.h:
5140         * paragraph.C:
5141         * tabular.[Ch]: IU of clone() and getLabelList();
5142
5143 2003-06-13  André Pönitz  <poenitz@gmx.net>
5144
5145         * tabular.h: compactification
5146
5147 2003-06-12  André Pönitz  <poenitz@gmx.net>
5148
5149         * tabular.C:
5150         * tabular.h:
5151         * tabular_funcs.h: some renaming plus whitespace
5152
5153 2003-06-12  André Pönitz  <poenitz@gmx.net>
5154
5155         * BufferView.C:
5156         * BufferView_pimpl.C:
5157         * CutAndPaste.C:
5158         * buffer.C:
5159         * iterators.[Ch]:
5160         * lyxfunc.C:
5161         * text.C:
5162         * toc.C: Return a Paragraph & for ParIterator::operator*()
5163
5164 2003-06-11  John Levon  <levon@movementarian.org>
5165
5166         * lyx_main.C:
5167         * ToolbarBackend.h:
5168         * ToolbarBackend.C: add "Toolbars" section and
5169         put the flags there
5170
5171 2003-06-10  Angus Leeming  <leeming@lyx.org>
5172
5173         * lfuns.h:
5174         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5175
5176         * lyxfunc.C (dispatch): invoke it.
5177
5178 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5179
5180         * main.C: protect <ios> with HAVE_IOS
5181         (main): protect sync_with_stdio with HAVE_IOS
5182
5183 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5184
5185         * text2.C (cutSelection): adjust
5186         (pasteSelection): adjust
5187
5188         * messages.C: handle get of empty string
5189
5190         * main.C (main): use sync_with_stdio(false)
5191
5192         * lyxfunc.C (dispatch): adjust
5193
5194         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5195         (WriteAs): remove unneeded BufferView arg.
5196
5197         * bufferparams.h: use correct types on papersize, papersize2 and
5198         paperpackage.
5199
5200         * bufferparams.C (readToken): adjust for type
5201         (writeLaTeX): add missing cases to switch.
5202
5203         * bufferlist.C (quitWriteBuffer): adjust
5204         (close): adjust
5205
5206         * buffer.C (asciiParagraph): remove some commented code.
5207
5208         * CutAndPaste.C: remove current_view extern variable.
5209         (cutSelection): add BufferParams arg.
5210         (eraseSelection): add BufferParams arg.
5211         (pasteSelection): add Buffer const & arg
5212
5213 2003-06-07  John Levon  <levon@movementarian.org>
5214
5215         * buffer.C:
5216         * paragraph_funcs.C:
5217         * paragraph_pimpl.C:
5218         * text.C:
5219         * text2.C:
5220         * paragraph.h:
5221         * paragraph.C: allow InsetERT to freely space lines,
5222         and some consolidation of code
5223
5224 2003-06-06  José Matos  <jamatos@fep.up.pt>
5225
5226         * buffer.C (makeDocBookFile): fix bug #821
5227
5228 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5229
5230         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5231
5232 2003-06-04  Angus Leeming  <leeming@lyx.org>
5233
5234         * buffer.C: bump format to 224.
5235
5236 2003-06-05  André Pönitz  <poenitz@gmx.net>
5237
5238         * text2.C (redoParagraphs): remove two const_cast<>
5239
5240 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5241
5242         * ParagraphList.h: remove last remnants of NO_STD_LIST
5243
5244 2003-06-03  Angus Leeming  <leeming@lyx.org>
5245
5246         * factory.C (createInset): small change to the way InsetExternal's params
5247         are set.
5248
5249 2003-06-04  André Pönitz  <poenitz@gmx.net>
5250
5251         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5252
5253         * paragraph_pimpl.h:
5254         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5255
5256         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5257
5258         * undo_funcs.C: make some simple cases of undo work again
5259
5260 2003-06-03  John Levon  <levon@movementarian.org>
5261
5262         * ispell.C: HPUX doesn't have sys/select.h
5263         (from Albert Chin)
5264
5265 2003-06-03  John Levon  <levon@movementarian.org>
5266
5267         * CutAndPaste.C: update tabular and include inset
5268         buffer references
5269
5270         * buffer.h:
5271         * paragraph.h:
5272         * paragraph.C: remove owningBuffer(), don't pass Buffer
5273         to clone()
5274
5275         * factory.C: insetGraphicsParams changed
5276
5277 2003-06-02  John Levon  <levon@movementarian.org>
5278
5279         * LyXAction.C:
5280         * factory.C:
5281         * lfuns.h:
5282         * lyxfunc.C:
5283         * text3.C: remove insetparent
5284
5285 2003-06-02  John Levon  <levon@movementarian.org>
5286
5287         * buffer.h:
5288         * buffer.C: fix inset_iterator.end(), move out of line
5289         (bug 1149)
5290
5291 2003-06-01  John Levon  <levon@movementarian.org>
5292
5293         * text3.C: use a proper cut/paste when doing inset
5294         insert (from Jürgen Spitzmüller)
5295
5296 2003-06-01  John Levon  <levon@movementarian.org>
5297
5298         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5299
5300 2003-05-30  André Pönitz  <poenitz@gmx.net>
5301
5302         * rowpainter.C: unify second drawing phase
5303
5304 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5305
5306         * trans_mgr.C: remove one case of current_view
5307
5308         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5309
5310         * paragraph_funcs.h: remove paragraph.h include
5311
5312         * paragraph.h: delete NO_STD_LIST stuff
5313
5314         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5315
5316         * buffer.h: remove paragraph.h include
5317
5318         * ParagraphList.C: delete file
5319
5320         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5321
5322         * toc.C (getTocList): adjust
5323
5324         * paragraph_pimpl.C (validate): adjust
5325
5326         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5327
5328         * paragraph.C (Paragraph): adjust
5329         (getPositionOfInset): use const_iterator, adjust
5330         (bibitem): use const_iterator, adjust
5331         (setInsetOwner): adjust
5332
5333         * iterators.C (operator++): adjust
5334
5335         * InsetList.[Ch]: Replace selfmade iterator with standard
5336         vector::iterator also introduce const_iterator. Remove getPos,
5337         getInset and setInset from InsetTable. Adjust accordingly.
5338
5339         * BufferView.C (lockInset): adjust
5340         (ChangeInsets): adjust
5341
5342         * tabular.[Ch]: delete commented same_id functions
5343
5344 2003-05-28  John Levon  <levon@movementarian.org>
5345
5346         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5347
5348 2003-05-28  André Pönitz  <poenitz@gmx.net>
5349
5350         * metricsinfo.[Ch]: remove 'fullredraw' member
5351
5352 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5353
5354         * lyxtextclass.C (operator): remove caching.
5355
5356 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5357
5358         * text3.C: adjust
5359
5360         * text2.C (cursorBottom): adjust
5361         (setCounter): use ParagraphList::find, adjust
5362
5363         * text.C (workWidth): use ParagraphList::find, adjust
5364
5365         * lyxcursor.C (LyXCursor): adjust
5366
5367         * buffer.C (inset_iterator): adjust
5368
5369         * ParagraphList.h: make iterator(value_type) private, make
5370         ParagraphList a friend of iterator.
5371
5372         * ParagraphList.C (find): new function
5373
5374         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5375
5376 2003-05-27  André Pönitz  <poenitz@gmx.net>
5377
5378         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5379
5380 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5381
5382         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5383
5384 2003-05-26  John Levon  <levon@movementarian.org>
5385
5386         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5387
5388 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5389
5390         * remove same_id from function signatures, adjust.
5391
5392 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5393
5394         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5395
5396         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5397
5398         * paragraph.C (Paragraph): get rid of same_ids parameter
5399
5400         * ParagraphList.C (insert): adjust
5401         (push_back): adjust
5402
5403 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5404
5405         * paragraph_funcs.C (breakParagraph): adjust
5406         (breakParagraphConservative): adjust
5407
5408         * buffer.C (readParagraph): adjust
5409
5410         * ParagraphList.C (insert): take a reference instead of a pointer
5411         (insert): adjust
5412
5413         * paragraph.[Ch] (id): new function
5414
5415         * bufferlist.C (newFile): adjust
5416
5417         * ParagraphList.C (ParagraphList): adjust
5418         (assign): adjust
5419         (push_back): take a reference instead of a pointer.
5420
5421         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5422
5423         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5424         instead.
5425
5426         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5427         set else use old code.
5428
5429         * ParagraphList.C: remove all NO_NEXT code and only compile this
5430         code of NO_STD_LIST is set.
5431
5432 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5433
5434         * BufferView_pimpl.C:
5435         * TextCache.C:
5436         * TextCache.h:
5437         * bufferlist.C:
5438         * errorlist.h:
5439         * format.C:
5440         * format.h:
5441         * graph.C:
5442         * lyxfunc.C:
5443         * lyxrc.C:
5444         * graphics/GraphicsConverter.C:
5445         * graphics/PreviewLoader.C: header adjustment
5446
5447 2003-05-23  Angus Leeming  <leeming@lyx.org>
5448
5449         * LaTeXFeatures.[Ch] (useBabel): new method.
5450         * bufferparams.C (writeLaTeX): use it.
5451
5452 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5453
5454         * ParagraphList.h (set): remove unused function.
5455
5456 2003-05-23  André Pönitz  <poenitz@gmx.net>
5457
5458         * BufferView.C:
5459         * BufferView_pimpl.C:
5460         * buffer.C:
5461         * buffer.h:
5462         * lyxfunc.C:
5463         * undo_funcs.C: setUndo reworked
5464
5465         * iterators.[Ch]: add access to topmost ParagraphList
5466
5467         * lyxtext.[Ch] (workWidth): add a const
5468
5469 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5470
5471         * texrow.[Ch] (increasePos): remove function
5472         * exporter.C (export): removed unused var and outdated comment
5473
5474 2003-05-23  Angus Leeming  <leeming@lyx.org>
5475
5476         * latexrunparams.h: rename fragile as moving_arg.
5477         * paragraph.C (simpleTeXOnePar): ditto.
5478         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5479
5480 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5481
5482         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5483         (createUndo): ditto
5484         (textUndoOrRedo): comment out a currently unused var.
5485
5486         * paragraph.h (NO_NEXT): enable NO_NEXT
5487
5488         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5489
5490         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5491
5492         * exporter.C (Export): adjust for removeAutoInsets removal.
5493
5494         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5495
5496         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5497
5498         * BufferView.[Ch] (removeAutoInsets): delete function
5499
5500 2003-05-22  Angus Leeming  <leeming@lyx.org>
5501
5502         * latexrunparams.h: add a free_spacing variable.
5503
5504         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5505         to pass moving_arg, as the data is stored in runparams.fragile.
5506
5507         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5508         to Inset::latexOptional or to simpleTeXOnePar.
5509
5510         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5511         free_spacing arg to Inset::latexOptional.
5512
5513         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5514         free_spacing arg.
5515
5516 2003-05-22  Angus Leeming  <leeming@lyx.org>
5517
5518         * latexrunparams.h: add fragile and use_babel variables.
5519
5520         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5521         * buffer.C (makeLaTeXFile): store this returned value in
5522         runparams.use_babel, thus passing it to the inset::latex methods.
5523
5524         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5525         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5526
5527         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5528         longer has a fragile arg, as it is stored in runparams.fragile.
5529
5530         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5531         moving_arg parameter as the data is stored in runparams.fragile.
5532
5533         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5534         a fragile parameter as the data is stored in runparams.fragile.
5535
5536 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5537
5538         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5539
5540 2003-05-22  Angus Leeming  <leeming@lyx.org>
5541
5542         * latexrunparams.h: add a 'bool nice' which defaults to false.
5543
5544         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5545         now encapsulated within runparams.
5546
5547         * bufferlist.C (updateIncludedTeXfiles):
5548         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5549
5550 2003-05-22  Angus Leeming  <leeming@lyx.org>
5551
5552         * latexrunparams.h: new file containing struct LatexRunParams.
5553         * Makefile.am: add new file.
5554
5555         * LaTeX.[Ch] (c-tor, run):
5556         * buffer.[Ch] (makeLaTeXFile):
5557         * bufferlist.[Ch] (updateIncludedTeXfiles):
5558         * converter.C (convert, scanLog):
5559         * converter.[Ch] (runLaTeX):
5560         * exporter.C (Export):
5561         * paragraph.[Ch] (simpleTeXOnePar):
5562         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5563         * paragraph_funcs.[Ch] (latexParagraphs):
5564         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5565         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5566         pass around a LatexRunParams parameter.
5567
5568 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5569
5570         * paragraph.[Ch]: remove unused constructor
5571
5572         * ParagraphList.C (erase): new function, taking two iterators
5573
5574 2003-05-22  André Pönitz  <poenitz@gmx.net>
5575
5576         * undo_funcs.C: remove duplicated code
5577
5578         * iterator.[Ch]: operator=
5579
5580 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5581
5582         * tabular.C (SetMultiColumn): ws changes
5583
5584         * rowpainter.C (paintFirst): get rid of a ->previous
5585
5586         * lyx_cb.C (getPossibleLabel): parlist simplification
5587
5588         * BufferView.C (ChangeInsets): simplify slightly.
5589
5590 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5591
5592         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5593         * lfuns.h: new LFUN_SPACE
5594         * lyxfunc.C: protected space has a new lfun
5595         * paragraph_funcs.C: read new space insets
5596         * text3.C:
5597         * factory.C: handle new space insets
5598
5599 2003-05-22  André Pönitz  <poenitz@gmx.net>
5600
5601         * BufferView.C:
5602         * BufferView_pimpl.C:
5603         * buffer.[Ch]:
5604         * lyxfunc.C:
5605         * undo_funcs.C: return a ParIterator from getParFromID.
5606
5607         * iterators.[Ch]: add two const's
5608
5609 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5610
5611         * toc.C (getTocList): adjust
5612
5613         * iterators.[Ch]: rework for parlist
5614
5615         * buffer.C (par_iterator_begin): adjust
5616         (par_iterator_end): adjust
5617
5618         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5619
5620         * BufferView.C (removeAutoInsets): adjust
5621         (ChangeInsets): adjust
5622
5623 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5624
5625         * text.C (top_y): fix bug 1110
5626
5627 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5628
5629         * errorlist.[Ch]: added
5630         * buffer.C:
5631         * BufferView.[Ch]:
5632         * BufferView_pimpl.C:
5633         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5634         instead
5635
5636 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5637
5638         * Makefile.am: ensure that lyx is relinked upon changes to the
5639         various "convenience" libs.
5640
5641 2003-05-20  Angus Leeming  <leeming@lyx.org>
5642
5643         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5644         files are compiled in alphabetical order again.
5645
5646         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5647
5648 2003-05-19  Angus Leeming  <leeming@lyx.org>
5649
5650         * gettext.[Ch]: remove "char const * _(char const *)".
5651
5652 2003-05-19  André Pönitz  <poenitz@gmx.net>
5653
5654         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5655
5656         * Makefile.am:
5657         * BufferView.C:
5658         * DepTable.h:
5659         * LaTeXFeatures.C:
5660         * buffer.C:
5661         * lyxfont.C:
5662         * lyxlex.h:
5663         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5664
5665 2003-05-19  André Pönitz  <poenitz@gmx.net>
5666
5667         * buffer.C:
5668         * lyxlayout.[Ch]:
5669         * lyxtextclass.[Ch]:
5670         * paragraph.C:
5671         * paragraph_funcs.[Ch]:
5672         * text2.C:
5673         * text3.C: more insetenv work
5674
5675 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5676
5677         * ParagraphParameters.C (params2string): small bug fixed
5678
5679 2003-05-16  André Pönitz  <poenitz@gmx.net>
5680
5681         * debug.C:
5682         * bufferview_funcs.C: patch from Kornel Benko to prevent
5683           crash when _(...) is called twice in a statement
5684
5685 2003-05-16  André Pönitz  <poenitz@gmx.net>
5686
5687         * BufferView.C:
5688         * lyxfunc.C:
5689         * text.C:
5690         * text2.C:
5691         * text3.C:
5692         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5693
5694 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5695
5696         * lyx_main.C (init): remove spurious static_cast
5697
5698 2003-05-14  André Pönitz  <poenitz@gmx.net>
5699
5700         * BufferView.C: fix format string
5701
5702 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5703
5704         * BufferView.[Ch] (insertErrors): removed
5705         * BufferView.[Ch] (showErrorList): added
5706         * buffer.C (runChkTeX):
5707         * converter.C (scanLog): call showErrorList instead of inserterrors
5708
5709 2003-05-13  André Pönitz  <poenitz@gmx.net>
5710
5711         * BufferView_pimpl.C:
5712         * buffer.C:
5713         * bufferview_func.C:
5714         * MenuBackend.C:
5715         * lyxfunc.C:
5716         * lyxrc.C:
5717         * tex-accent.C:
5718         * text3.C:
5719         * toc.C:
5720         * tabular_funcs.h: tostr() from its own header
5721
5722         * ParagraphParameters.C:
5723         * ToolbarBackend.C:
5724         * bufferparams.C:
5725         * format.C:
5726         * lyxlex_pimpl.C:
5727         * text3.C: STRCONV()
5728
5729 2003-05-12  André Pönitz  <poenitz@gmx.net>
5730
5731         * BufferView.C:
5732         * BufferView_pimpl.C:
5733         * CutAndPaste.C:
5734         * LaTeX.C:
5735         * LaTeXFeatures.C:
5736         * ParagraphParameters.C:
5737         * buffer.C:
5738         * bufferlist.C:
5739         * bufferparams.C:
5740         * bufferview_funcs.C:
5741         * converter.C:
5742         * counters.C:
5743         * debug.C:
5744         * exporter.C:
5745         * format.C:
5746         * importer.C:
5747         * lyx_cb.C:
5748         * lyx_main.C:
5749         * lyxfont.C:
5750         * lyxfunc.C:
5751         * lyxvc.C:
5752         * paragraph.C:
5753         * paragraph_funcs.C:
5754         * tabular.C:
5755         * tabular_funcs.C:
5756         * text2.C:
5757         * text3.C:  boost::format -> bformat  all over the place
5758
5759
5760 2003-05-09  André Pönitz  <poenitz@gmx.net>
5761
5762         * LColor.[Ch]: Pimpl the #include <map> away
5763
5764 2003-05-09  John Levon  <levon@movementarian.org>
5765
5766         * bufferlist.C: never remove emergency saves
5767
5768 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5769
5770         * Makefile.am: better lib building
5771
5772 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5773
5774         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5775         instead.
5776         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5777         (simpleTeXSpecialChars): adjust
5778         (simpleTeXSpecialChars): adjust
5779         * paragraph.C (simpleTeXOnePar): adjust
5780         * buffer.C (makeLaTeXFile): adjust
5781
5782         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5783
5784         * text2.C (changeDepth): parlist cleanup
5785         (getColumnNearX): ditto
5786
5787         * rowpainter.C (getLabelFont): parlist cleanup
5788
5789         * bufferlist.C (newFile): parlist cleanup
5790
5791         * CutAndPaste.C (eraseSelection): parlist cleanup
5792
5793         * BufferView_pimpl.C (trackChanges): parlist cleanup
5794         (dispatch): ditto
5795
5796         * BufferView.C (lockInset): parlist cleanup.
5797         (ChangeInsets): ditto
5798
5799 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5800
5801         * CutAndPaste.h: Update file header.
5802
5803         * CutAndPaste.C: Update file header.
5804         Store the parts cut out of the Document in a limited_stack.
5805         (copySelection): adjust
5806         (pasteSelection): new function, takes the index in the limited stack.
5807         (nrOfParagraphs): adjust
5808         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5809         simplify error inset insertion.
5810         (checkPastePossible): adjust
5811
5812 2003-05-06  John Levon  <levon@movementarian.org>
5813
5814         * text2.C: don't cast wrap inset to float
5815
5816 2003-05-05  André Pönitz  <poenitz@gmx.net>
5817
5818         * iterator.C:
5819         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5820
5821         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5822           few naked Paragraph *.
5823
5824 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5825
5826         * bufferparams.C: Output warning if a document with missing
5827         TeX document class is loaded
5828         * exporter.C: Disable TeX exports if the document class is missing
5829         * lyxtextclass.C:
5830         * lyxtextclass.h:
5831         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5832         isTeXClassAvailable()
5833
5834 2003-05-03  John Levon  <levon@movementarian.org>
5835
5836         * BufferView.h:
5837         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5838         explicit cursor show/hide
5839
5840         * BufferView_pimpl.h:
5841         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5842         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5843
5844         * lyxfunc.C: hide cursor before dispatching.
5845
5846         * lyx_cb.C:
5847         * lyxfind.C:
5848         * text.C:
5849         * text3.C: remove explicit cursor hides
5850
5851 2003-05-02  André Pönitz  <poenitz@gmx.net>
5852
5853         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5854
5855         * undo_funcs.C:
5856         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5857           linked lists
5858
5859         * text2.C: tiny whitespace
5860
5861 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5862
5863         * undo_funcs.C: almost only ws changes.
5864
5865         * ParagraphList.C (splice): just return if pl is empty.
5866
5867 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5868
5869         * ParagraphList.C (splice): new function.
5870
5871         * CutAndPaste.C (pasteSelection): use it
5872
5873 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5874
5875         * CutAndPaste.C (pasteSelection): remove the last next and
5876         previous from this file.
5877
5878 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5879
5880         * CutAndPaste.C (pasteSelection): more clean up, user proper
5881         ParagraphList functions for pasteing.
5882
5883         * ParagraphList.C (insert): new function, three arg insert
5884
5885 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5886
5887         * ParagraphList.C (insert): new function, three arg insert
5888
5889         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5890         not on paragraphs.
5891
5892 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5893
5894         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5895
5896 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5897
5898         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5899
5900 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5901
5902         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5903         (copySelection): clean up a bit.
5904         (pasteSelection): use make_pair
5905
5906         * ParagraphList.C (ParagraphList): implement copy constructor
5907         (operator=): implement, base on copy constructor.
5908         (assign): new func
5909
5910         * paragraph.C (erase): return a bool
5911
5912         * paragraph_pimpl.C (erasePos): remove function, move contents...
5913         (erase): ... here. Return a bool.
5914         (erase): call erase instead of erasePos.
5915
5916 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5917
5918         * ParagraphList.h: define PitPosPair
5919         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5920         ParagraphList, fix a bug on pasting multiple pars
5921         * text2.C: change interface to C&P
5922
5923 2003-04-30  André Pönitz  <poenitz@gmx.net>
5924
5925         * undo_func.C: revert part of yesterday's patch 2
5926
5927 2003-04-30  John Levon  <levon@movementarian.org>
5928
5929         * LColor.C: s/tabular/table/
5930
5931 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5932
5933         * text3.C (dispatch): do not convert iterator -> pointer
5934         * undo_funcs.C (setCursorParUndo): ditto
5935         * text_funcs.C (transposeChars): ditto
5936
5937         * text2.C (setLayout): ws changes only
5938
5939         * text.C (breakParagraph): do not convert iterator -> pointer
5940         (insertChar): ditto
5941         (acceptChange): ditto
5942         (rejectChange): ditto
5943         (changeCase): ditto
5944         (Delete): ditto
5945         (backspace): ditto
5946
5947         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5948         pointer
5949
5950 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5951
5952         * text3.C (gotoInset): YABG (yet another bad getChar)
5953
5954 2003-04-29  André Pönitz  <poenitz@gmx.net>
5955
5956         * paragraph.h: make operator= private unimplemented as long as
5957           it is unusable
5958
5959         * ParagraphList.C: whitespace
5960
5961         * paragraph.[Ch]:
5962         * paragraph_pimpl.[Ch]:
5963         * paragraph_funcs.C:
5964         * CutAndPaste.C:
5965         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5966
5967         * text2.C:
5968           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5969
5970 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5971
5972         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5973         * paragraph.[Ch] (erase):
5974         * paragraph_pimpl.[Ch] (erase): change return type and value
5975         * text2.C (cutSelection): some rework
5976
5977 2003-04-28  John Levon  <levon@movementarian.org>
5978
5979         * bufferlist.C: changes for unsaved changes dialog
5980
5981 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5982
5983         * bufferlist.C (newFile): set language (messages_) for new
5984         documents also.
5985
5986         * buffer.C (readFile): ws changes only.
5987
5988 2003-04-28  André Pönitz  <poenitz@gmx.net>
5989
5990         * undo_funcs.C:
5991         * lyxfunc.C:
5992         * buffer.[Ch]:
5993         * BufferView_pimpl.C:
5994         * BufferView.C: getParFromID related ParagraphList::iterator changes
5995
5996 2003-04-28  André Pönitz  <poenitz@gmx.net>
5997
5998         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5999           Changes
6000
6001 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6002
6003         * messages.C: remove one more localedir class variable.
6004
6005 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6006
6007         * messages.C (getLocaleDir): singleton generation function
6008         (Pimpl): use it.
6009         (Messages): add a default constructor.
6010
6011         * main.C (main): do not setup localedir here, do not call
6012         gettext_init.
6013
6014         * gettext.C (_): use it.
6015         (gettext_init): delete funciton
6016
6017 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6018
6019         * gettext.C (getLyXMessages): new singleton generating function.
6020
6021         * buffer.C (updateDocLang): adjust
6022
6023         * Makefile.am (messages.o): add target
6024         (main.o): remove target
6025
6026 2003-04-27  John Levon  <levon@movementarian.org>
6027
6028         * bufferlist.C:
6029         * lyx_cb.C:
6030         * lyxfunc.C:
6031         * lyxvc.C: specify cancel button in Alert::prompt
6032
6033 2003-04-26  John Levon  <levon@movementarian.org>
6034
6035         * text3.C:
6036         * lyxfunc.C:
6037         * lfuns.h:
6038         * LyXAction.C: add LFUN_INSET_SETTINGS
6039
6040         * lyxfunc.C: don't enable tabular-feature when there's
6041         just any locking inset
6042
6043 2003-04-26  John Levon  <levon@movementarian.org>
6044
6045         * bufferlist.C: re-add Cancel to buffer close question
6046
6047         * lyxfunc.C: fix import UI a bit
6048
6049 2003-04-25  John Levon  <levon@movementarian.org>
6050
6051         * gettext.C: remove the broken asserts for now
6052
6053 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6054
6055         * messages.C: make case where setlocale cannot comply work better.
6056
6057         * buffer.C (updateDocLang): new function
6058         (changeLanguage): use it
6059         (readFile): use it
6060
6061         * text2.C (setCounter): use B_ a bit.
6062
6063         * lyxlayout.C (Read): be sure to trim the label strings.
6064
6065         * messages.C (Messages): fix typo in comment
6066
6067         * buffer.C (readFile): set message_ after file is loaded.
6068         (makeDocBookFile): remove double return
6069         (changeLanguage): reset message_ upon language change.
6070         (B_): new func, use this to get translated buffer strings.
6071
6072         * main.C: add myself and Jean Marc as authors.
6073
6074 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6075
6076         * messages.[hC]: pimplify Messages, and three different pimpls to be
6077         used in different circumstances.
6078
6079         * gettext.[Ch]: change for use with new message code.
6080
6081 2003-04-24 André Pönitz <poenitz@gmx.net>
6082
6083         * factory.C: support for eqref
6084
6085 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6086
6087         * messages.[Ch]: add missing char
6088
6089         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6090
6091         * messages.[Ch]: New files
6092
6093 2003-04-18  John Levon  <levon@movementarian.org>
6094
6095         * BufferView.h:
6096         * BufferView.C:
6097         * BufferView_pimpl.C:
6098         * lfuns.h:
6099         * LyXAction.C:
6100         * lyxtext.h:
6101         * text2.C: remove layout-copy/paste (bug 778)
6102
6103 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6104
6105         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6106
6107 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6108
6109         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6110         if they succeed. Act accordingly.
6111
6112 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6113
6114         * text2.C (setCharFont): adjust
6115         (setCounter): adjust
6116         (insertStringAsLines): adjust
6117
6118         * text.C (leftMargin): adjust
6119         (setHeightOfRow): adjust
6120
6121         * rowpainter.C (paintFirst): adjust
6122         (paintLast): adjust
6123
6124         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6125         (outerHook): ditto
6126         (isFirstInSequence): ditto
6127         (getEndLabel): ditto
6128         (outerFont): adjust
6129
6130         * paragraph.C (getParLanguage): comment out some hard stuff.
6131
6132         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6133         (sgmlError): ditto
6134         (simpleDocBookOnePar): ditto
6135         (makeDocBookFile): use ParagraphList::iterator
6136
6137         * CutAndPaste.C (pasteSelection): adjust
6138
6139 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6140
6141         * text2.C (getFont): adjust
6142         (getLayoutFont): adjust
6143         (getLabelFont): adjust
6144
6145         * paragraph_funcs.C (TeXOnePar): adjust
6146
6147         * buffer.C (simpleLinuxDocOnePar): adjust
6148         (simpleDocBookOnePar): adjust
6149
6150         * CutAndPaste.C (pasteSelection): adjust
6151
6152         * BufferView.C (getEncoding): adjust
6153
6154         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6155
6156 2003-04-16  John Levon  <levon@movementarian.org>
6157
6158         * lyxfind.C: use parlist stuff for search/changes
6159
6160 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6161
6162         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6163
6164         * text2.C (deleteEmptyParagraphMechanism): adjust
6165
6166         * text2.[Ch] (ownerParagraph): delete func (both of them
6167
6168 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6169
6170         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6171
6172 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6173
6174         * ParagraphList.C: prepare for NO_NEXT
6175
6176 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6177
6178         * text2.C (getFont): adjust
6179         (getLayoutFont): adjust
6180         (getLabelFont): adjust
6181
6182         * paragraph.C (getFont): adjust
6183         (getLabelFont): adjust
6184         (getLayoutFont): adjust
6185
6186         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6187
6188 2003-04-15  John Levon  <levon@movementarian.org>
6189
6190         From Angus Leeming
6191
6192         * lyx_main.C: handle Include in .ui files
6193
6194 2003-04-15  John Levon  <levon@movementarian.org>
6195
6196         * MenuBackend.C: make the doc files length shorter
6197
6198         * ToolbarBackend.h:
6199         * ToolbarBackend.C: handle toolbar placement flags,
6200         Minibuffer
6201
6202 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6203
6204         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6205         adjust
6206
6207         * paragraph_funcs.C (TeXOnePar): adjust
6208
6209         * paragraph.C (getLabelFont): add outerfont arg, adjust
6210         (getLayoutFont): ditto
6211         (simpleTeXOnePar): adjust
6212
6213         * paragraph_pimpl.C (realizeFont): delete func
6214
6215 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6216
6217         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6218         row argument, constify cur argument.
6219
6220 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6221
6222         * text2.C (getFont): adjust
6223         (getLayoutFont): adjust
6224         (getLabelFont): adjust
6225
6226         * paragraph_funcs.C (TeXOnePar): adjust
6227         (outerFont): new func...
6228         (realizeFont): ...moved out from here, changed this to facilitate
6229         transition
6230
6231         * paragraph.C (getFont): take outerfont as arg, adjust
6232         (simpleTeXOnePar): add outerfont arg, adjust
6233
6234         * buffer.C (simpleLinuxDocOnePar): adjust
6235         (simpleDocBookOnePar): adjust
6236
6237         * CutAndPaste.C (pasteSelection): adjust
6238
6239         * BufferView.C (getEncoding): adjust
6240
6241 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6242
6243         * text2.C (setCharFont): adjust
6244         (setCounter): adjust
6245
6246         * text.C (leftMargin): adjust
6247         (setHeightOfRow): adjust
6248
6249         * rowpainter.C (paintFirst): adjust
6250         (paintLast): adjust
6251
6252         * paragraph_pimpl.C (realizeFont): adjust
6253
6254         * paragraph.C (isFirstInSequence): move from here...
6255         * paragraph_funcs.C (isFirstInSequence): ...to here
6256
6257         * paragraph.C (outerHook): move from here...
6258         * paragraph_funcs.C (outerHook): ...to here
6259
6260         * paragraph.C (depthHook): move from here...
6261         * paragraph_funcs.C (depthHook): ...to here
6262
6263         * paragraph.C (getEndLabel): move from here...
6264         * paragraph_funcs.C (getEndLabel): ...to here
6265
6266         * text2.C (realizeFont): move from here...
6267         * paragraph_funcs.C (realizeFont): ...to here
6268
6269 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6270
6271         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6272
6273 2003-04-14  Angus Leeming  <leeming@lyx.org>
6274
6275         * LColor.[Ch]: scrap LColor mathcursor.
6276
6277 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6278
6279         * lyxlex.[Ch] (text): delete function
6280         * trans.C (Load): adjust
6281         * paragraph_funcs.C (readParToken): adjust
6282
6283 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6284
6285         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6286         vector<char> instead of a char[].
6287
6288         * lyxlex_pimpl.C (getString): adjust
6289         (next): adjust
6290         (lex): use getString
6291         (eatLine): adjust
6292         (nextToken): adjust
6293
6294         * lyxlex.C (text): use pimpl_->getString()
6295         (getBool): ditto
6296         (findToken): ditto
6297
6298 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6299
6300         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6301         (makeFontEntriesLayoutSpecific): temp var for par.size()
6302         (setLayout): temp var for ownerParagraphs().end()
6303         (fullRebreak): temp var for rows().end()
6304         (selectionAsString): temp var for boost::next(startpit), realize
6305         that the while really is a regular for loop.
6306         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6307         setCursor in one place.
6308         (setParagraph): temp vr for ownerParagraphs().end()
6309         (updateCounters): make the while loop a for loop
6310         (cutSelection): temp var for ownerParagraphs().end()
6311         (updateInset): make the do {} while() a regular for loop
6312         (getCursorX): use temp vars
6313         (setCurrentFont): use temp vars
6314         (getColumnNearX): use temp vars
6315
6316 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6317
6318         * text.C (transformChar): use temp var for getChar
6319         (computeBidiTables): use temp var for row->par()
6320         (fill): move temp vars for row->par() and pit->layout() earlier in
6321         the function.
6322         (labelFill): use temp var for row->par()
6323         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6324         asc and desc, realize that pit never changes and that firstpit is
6325         just a duplicate and not needed. Exchange rit->par() with pit in a
6326         lot of places.
6327         (breakAgain): use a temp var for boost::next(rit)
6328         (breakAgainOneRow): ditto
6329         (breakParagraph): use a temp var for rows().begin()
6330         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6331         (cursorRightOneWord): use temp var for cursor.par() and
6332         cursor.pos(), remove usage of tmpcursor.
6333         (cursorLeftOneWord): use temp var for cursor.par() and
6334         cursor.pos() only set cur at end of function.
6335
6336 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6337
6338         * text.C, text2.C: exchange all usage of Paragraph::next with
6339         boost::next(ParagraphList::iterator)
6340
6341         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6342
6343         * text2.C (cursorTop): simplify implementation
6344         (cursorBottom): ditto
6345         (setParagraph): use ParagraphList::iterator
6346         (setCurrentFont): adjust
6347         (getColumnNearX): adjust
6348         (cursorRight): adjust
6349         (cursorLeft): remove usage of Paragraph::previous
6350         (cursorUpParagraph): ditto
6351         (deleteEmptyParagraphMechanism): slight cleanup
6352
6353         * text.C (isBoundary): take a Paragraph const & instead of a
6354         pointer as arg.
6355         (addressBreakPoint): ditto
6356         (leftMargin): remove usage of Paragraph::previous.
6357         (setHeightOfRow): ditto
6358         (cursorLeftOneWord): ditto
6359         (selectNextWordToSpellcheck): ditto
6360         (Delete): ditto
6361         (backspace): ditto
6362         (breakParagraph): remove one usage of Paragraph::next
6363         (redoParagraph): ditto
6364         (acceptChange): ditto
6365         (insertChar): adjust
6366         (rowBreakPoint): adjust
6367
6368         * bufferview_funcs.C (toggleAndShow): adjust
6369
6370 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6371
6372         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6373         methods to access it.
6374         * lyxtext.h:
6375         * text.C: Added updateRowPositions to compute all row positions.
6376         Make top_y and getRowNearY() to use the cached y position
6377
6378 2003-04-11  John Levon  <levon@movementarian.org>
6379
6380         * text.C (rowBreakPoint): reintroduce the labelEnd
6381         checks, code copied from the row fill stuff. Deep voodoo.
6382
6383         * text.C (fill): add a comment and debugging for the
6384         next poor soul.
6385
6386 2003-04-11  John Levon  <levon@movementarian.org>
6387
6388         * text.C: make sure fullrow insets get wrapped to the next line,
6389         even when they're in a manual label
6390
6391 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6392
6393         * text2.C (insertParagraph): make it take ParagraphList::iterator
6394         as arg.
6395         (setLayout): make it return ParagraphList::iterator
6396         (redoParagraphs): ditto
6397         (setCounter): ditto
6398         (checkParagraph): ditto
6399
6400         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6401
6402         * text2.C: adjust several funcs.
6403         (realizeFont): take a ParagraphList::iterator as arg.
6404         (getLayoutFont): ditto
6405         (getLabelFont): ditto
6406         (setCharFont): ditto
6407
6408         * text.C: adjust several funcs.
6409
6410 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6411
6412         * text.C (selectNextWordToSpellcheck): don't accidentally
6413         skip insets
6414
6415 2003-04-10  John Levon  <levon@movementarian.org>
6416
6417         * ToolbarBackend.C (getIcon): special handling for
6418         LFUN_MATH_DELIM
6419
6420 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6421
6422         * text2.C (cursorRight): a getChar assert fixed
6423
6424 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6425
6426         * text2.C (getFont): change to take a ParagraphList::iterator
6427         instead of Paragraph*
6428         Adjust several functions.
6429
6430         * text.C (transformChar): change to take a ParagraphList::iterator
6431         instead of Paragraph*
6432         (singleWidth): ditto
6433         Adjust several functions.
6434
6435         * rowpainter.C: adjust several functions
6436         * rowpainter.h:store a ParagraphList::iterator and not a
6437         Paragraph&.
6438
6439
6440 2003-04-09  John Levon  <levon@movementarian.org>
6441
6442         * lyxfunc.C:
6443         * lfuns.h:
6444         * LyXAction.h:
6445         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6446         and the "help" bits as well
6447
6448 2003-04-09  John Levon  <levon@movementarian.org>
6449
6450         * ToolbarBackend.h:
6451         * ToolbarBackend.C: allow multiple toolbars
6452
6453 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6454
6455         * undo_funcs.C (setCursorParUndo): adjust
6456
6457         * text_funcs.C (transposeChars): adjust
6458
6459         * text3.C (gotoNextInset): adjust
6460         (dispatch): adjust
6461
6462         * text2.C (setLayout): adjust
6463         (changeDepth): adjust
6464         (setFont): adjust
6465         (redoParagraphs): adjust
6466         (selectionAsString): adjust
6467         (setParagraph): adjust
6468         (insertInset): adjust
6469         (cutSelection): adjust
6470         (copySelection): adjust
6471         (pasteSelection): adjust
6472         (insertStringAsLines): adjust
6473         (updateInset): adjust
6474         (setCursor): change to take a ParagraphList::iterator parameter
6475         (setCursorIntern): change to take a ParagraphList::iterator parameter
6476         (setCurrentFont): adjust
6477         (cursorLeft): adjust
6478         (cursorRight): adjust
6479         (deleteEmptyParagraphMechanism): adjust
6480
6481         * text.C (breakParagraph): adjust
6482         (insertChar): adjust
6483         (acceptChange): adjust
6484         (rejectChange): adjust
6485         (selectNextWordToSpellcheck): adjust
6486         (changeCase): adjust
6487         (Delete): adjust
6488         (backspace): adjust
6489
6490         * lyxfind.C (SearchForward): adjust
6491         (SearchBackward): adjust
6492         (nextChange): adjust
6493
6494         * lyxcursor.C (par): adjust
6495
6496         * lyxcursor.h: store a ParagraphList::iterator instead of a
6497         Paragraph*
6498
6499         * lyx_cb.C (getPossibleLabel): adjust
6500
6501         * bufferview_funcs.C (toggleAndShow): adjust
6502
6503         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6504         (dispatch): adjust
6505
6506         * BufferView.C (removeAutoInsets): adjust
6507         (lockedInsetStoreUndo): adjust
6508
6509 2003-04-09  John Levon  <levon@movementarian.org>
6510
6511         * ToolbarBackend.C: try icon without argument
6512         if with argument fails
6513
6514 2003-04-08  John Levon  <levon@movementarian.org>
6515
6516         * ToolbarBackend.h:
6517         * ToolbarBackend.C: add getIcon(), handle tooltip,
6518         and change from "Icon" to "Item".
6519
6520 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6521
6522         * BufferView.C (lockInset): another bad getchar crunched
6523
6524 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6525
6526         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6527         again)
6528
6529 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6530
6531         * lyxfind.C (searchForward, searchBackwards): bug 782
6532
6533 2003-04-07  John Levon  <levon@movementarian.org>
6534
6535         * paragraph.C: remove dead comment
6536
6537         * text.C: remove troublesome depth-fiddling code
6538         in leftMargin() and rightMargin() (bug 1017)
6539
6540         * text.C: fix breaking of rows in nested lists
6541         (bug 1004)
6542
6543         * text2.C (updateCounters): fix up depth values
6544         (bug 1013)
6545
6546 2003-04-07  John Levon  <levon@movementarian.org>
6547
6548         * BufferView_pimpl.C: clear message when doc finishes resizing,
6549         and after a mouse event
6550
6551         * lyxfunc.C: clear message after exiting inset
6552
6553 2003-04-07  John Levon  <levon@movementarian.org>
6554
6555         * bufferview_funcs.C: show math status not outside
6556         status in the statusbar
6557
6558 2003-04-07  John Levon  <levon@movementarian.org>
6559
6560         * lyxfunc.C: note status changed after a depth change
6561
6562 2003-04-04  Angus Leeming  <leeming@lyx.org>
6563
6564         * LaTeX.h: move AuxInfo operator==, != out of line.
6565         Remove LaTeX virtual destructor; nothing derives from it.
6566         Move operator()() out of public area and rename it startscript().
6567         Change protected for private.
6568
6569 2003-04-04  Angus Leeming  <leeming@lyx.org>
6570
6571         * lyxfunc.C:
6572         * text2.C: remove unneeded #includes.
6573
6574 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6575
6576         * text2.C (dEPM): fix the heigth of the next row
6577
6578 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6579
6580         * text.C: squashed an invalid getChar requester + some ws changes
6581
6582 2003-04-03  John Levon  <levon@movementarian.org>
6583
6584         * bufferview_funcs.h:
6585         * bufferview_funcs.C:
6586         * lyxfunc.C:
6587         * lyxtext.h:
6588         * text2.C: make getStatus work for the env depth lfuns
6589
6590 2003-04-03  John Levon  <levon@movementarian.org>
6591
6592         * bufferview_funcs.h:
6593         * bufferview_funcs.C:
6594         * lyxfunc.C:
6595         * lyxtext.h:
6596         * text2.C: parlistize decDepth(), by merging it with incDepth()
6597
6598 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6599
6600         * lyxrow.h: store a ParagraphList::iterator instead of a
6601         Paragraph* and adjust other class functions to suit.
6602
6603         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6604         above.
6605
6606 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6607
6608         * text2.C (setCursor): do not anchor to cursor row for the time being
6609
6610 2003-04-02  John Levon  <levon@movementarian.org>
6611
6612         * LyXAction.C:
6613         * lfuns.h:
6614         * lyx_main.C:
6615         * lyxtext.h:
6616         * text.C:
6617         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6618
6619 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6620
6621         * paragraph.h: make ParagraphList and ParagraphList::iterator
6622         friends of Paragraph.
6623
6624         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6625
6626         * ParagraphList.C: Use the private next_ and previous_ from
6627         Paragraph.
6628
6629 2003-04-01  John Levon  <levon@movementarian.org>
6630
6631         * ToolbarBackend.h:
6632         * ToolbarBackend.C:
6633         * Makefile.am: rename, remove defaults gunk
6634
6635         * MenuBackend.h:
6636         * MenuBackend.C: remove defaults gunk
6637
6638         * Languages.h:
6639         * Languages.C: remove defaults gunk
6640
6641         * lyx_main.h:
6642         * lyx_main.C: error out if files couldn't be found.
6643
6644 2003-04-02  John Levon  <levon@movementarian.org>
6645
6646         * text2.C: make incDepth() use parlist
6647
6648 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6649
6650         * undo_funcs.C (firstUndoParagraph): adjust
6651
6652         * text3.C (gotoInset): adjust
6653         (dispatch): adjust, and rewrite loop.
6654
6655         * text2.C (init): adjust, and rewrite loop.
6656         (redoParagraphs): adjust
6657         (updateInset): adjust, and rewrite loop.
6658         (deleteEmptyParagraphMechanism): adjust
6659
6660         * tabular.C (LyXTabular): adjust
6661         (SetMultiColumn): adjust
6662         (TeXRow): adjust
6663
6664         * lyxtext.[Ch] (ownerParagraph): delete function
6665         (ownerParagraphs): new function returns a ParagraphList.
6666
6667         * BufferView.C (removeAutoInsets): adjust
6668         (insertErrors): adjust
6669         (setCursorFromRow): adjust
6670
6671 2003-04-01  Angus Leeming  <leeming@lyx.org>
6672
6673         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6674         in the frontends.
6675
6676 2003-04-02  John Levon  <levon@movementarian.org>
6677
6678         * lyxtext.h:
6679         * text.C:
6680         * Makefile.am:
6681         * text_funcs.h:
6682         * text_funcs.C: make transposeChars a free function
6683
6684         * lyxrow_funcs.C: remove wrong comment
6685
6686 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6687
6688         * lyxtext.h: adjust
6689         * rowpainter.C: adjust
6690         * text.C: adjust
6691         * text2.C: adjust
6692         * text3.C: adjust
6693
6694         * lyxrow_funcs. [Ch]: new files
6695
6696         * lyxrow.[Ch]: remove next and previous pointers
6697         (next,previous): remove accessor functions
6698         (isParEnd): move to lyxrow_funcs
6699         (lastPos): move to lyxrow_funcs
6700         (nextRowIsAllInset): move to lyxrow_funcs
6701         (lastPrintablePos): move to lyxrow_funcs
6702         (numberOfSeparators): move to lyxrow_funcs
6703         (numberOfHfills): move to lyxrow_funcs
6704         (numberOfLabelHfills): move to lyxrow_funcs
6705         (hfillExpansion): move to lyxrow_funcs
6706
6707         * lyxfunc.C: adjust
6708
6709         * bufferview_funcs.C (toggleAndShow): adjust
6710
6711         * RowList.h: Remove class RowList from file leave just a
6712         std::list<Row>.
6713
6714         * RowList.C: delete file
6715
6716         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6717         and lyxrow_funcs.h
6718
6719 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6720
6721         * text3.C (cursorPrevious): adjust
6722         (cursorNext): adjust
6723         (dispatch): adjust
6724
6725         * text2.C (redoHeightOfParagraph): adjust
6726         (redoDrawingOfParagraph): adjust
6727         (setCursor): adjust
6728
6729         * text.C (breakParagraph): adjust
6730         (insertChar): adjust
6731         (backspace): adjust
6732
6733         * rowpainter.C (RowPainter): adjust
6734         (leftMargin): simplify and adjust
6735         (most rowpainter functions): adjust.
6736
6737         * rowpainter.h: store the row as RowList::iterator not as Row*
6738
6739         * lyxcursor.C (row): taka RowList::iterator as arg
6740         (irow): ditto
6741
6742         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6743         of Row*.
6744
6745 2003-04-01  Angus Leeming  <leeming@lyx.org>
6746
6747         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6748         stuff like bool Bool.
6749
6750 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6751
6752         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6753         rewrite a loop
6754
6755 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6756
6757         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6758         RowList::iterator.
6759
6760         * lyxtext.h (rows): drop one version and leve a const variant that
6761         returns a RowList::iterator.
6762
6763 2003-03-31  Angus Leeming  <leeming@lyx.org>
6764
6765         * text.C (fill): ensure that the signature is the same as that in the
6766         header file.
6767
6768 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6769
6770         * text2.C (redoParagraphs): adjust
6771         (updateCounters): adjust
6772         (checkParagraph): adjust
6773         (getColumnNearX): adjust and reformat a bit.
6774
6775         * text.C (top_y): adjust
6776         (workWidth): adjust
6777         (leftMargin): adjust
6778         (prepareToPrint): adjust
6779         (getRow): adjust
6780         (getRowNearY): adjust
6781
6782         * lyxtext.h: make rowlist_ mutable.
6783
6784         * RowList.h: add const_iterator
6785         * RowList.C: adjust for RowList::const_iterator.
6786
6787         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6788         adjust.
6789
6790 2003-03-31  John Levon  <levon@movementarian.org>
6791
6792         * lyxrc.h:
6793         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6794
6795         * lyx_main.C: set default fonts from using lyx_gui funcs
6796
6797         * exporter.C: pdf_mode moved from lyxrc
6798
6799         * lyx_cb.C:
6800         * lyxfunc.C: changes from above
6801
6802 2003-03-31  John Levon  <levon@movementarian.org>
6803
6804         * lyx_main.C: fix to the last fix
6805
6806 2003-03-31  John Levon  <levon@movementarian.org>
6807
6808         * bufferlist.C: "Load original" -> "Load Original"
6809
6810         * converter.C:
6811         * exporter.C:
6812         * importer.C:
6813         * lyx_main.C:
6814         * format.C: more Alert cleanups
6815
6816 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6817
6818         * text2.C (removeParagraph): make it take a RowList::iterator as
6819         arg, adjust.
6820         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6821         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6822
6823         * text.C (anchor_row): make it take a RowList::iterator as arg,
6824         adjust.
6825         (computeBidiTables): make it take a const reference to Row instead
6826         of Row pointer, adjust.
6827         (leftMargin): make it take a RowList::iterator as arg, adjust.
6828         (rowBreakPoint): adjust
6829         (breakAgainOneRow): make it take a RowList::iterator as arg,
6830         adjust.
6831         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6832
6833         * bufferview_funcs.C (toggleAndShow): adjust
6834
6835 2003-03-30  John Levon  <levon@movementarian.org>
6836
6837         * Makefile.am:
6838         * BoostFormat.h:
6839         * boost-inst.C: moved to support
6840
6841         * several files: changes as a result
6842
6843 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6844
6845         * text2.C (LyXText): adjust.
6846         (init): adjust
6847         (removeRow): make it take a RowList::iterator as arg, adjust.
6848         (fullRebreak): adjust
6849         (deleteEmptyParagraphMechanism): adjust
6850         (clearPaint): adjust
6851         (postPaint): adjust
6852
6853         * text.C (top_y): adjust
6854         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6855         (breakAgain): make it take a RowList::iterator as arg, adjust.
6856         (breakParagraph): adjust
6857         (insertChar): adjust
6858         (backspace): adjust
6859
6860         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6861         need_break_row, and refresh_row.
6862
6863         * text3.C (dispatch): adjust
6864
6865         * text2.C (checkParagraph): adjust
6866         (setCursor): adjust
6867         (setCursorFromCoordinates): adjust
6868
6869         * text.C (top_y): adjust
6870         (workWidth): adjust
6871         (getRow): make it return a RowList::iterator, adjust
6872         (getRowNearY): make it return a RowList::iterator, adjust
6873
6874         * text2.C (init): adjust
6875         (insertRow): remove function
6876         (insertParagraph): adjust
6877         (redoParagraphs): adjust
6878         (fullRebreak): adjust
6879         (updateCounters): adjust
6880
6881         * text.C (top_y): rewrite to use RowList iterators.
6882         (top_y): adjust
6883         (setHeightOfRow): rewrite to sue RowList iterators.
6884         (appendParagraph): adjust
6885         (breakAgain): adjust
6886         (breakAgainOneRow): adjust
6887         (breakParagraph): adjust
6888         (getRow): adjust
6889         (getRowNearY): adjust, and remove commented code.
6890
6891         * lyxtext.h (firstRow): delete function
6892         (lastRow): delete function
6893         (rows): new function (const and non-const versions.)
6894         (insertRow): delete function
6895
6896         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6897
6898 2003-03-29  John Levon  <levon@movementarian.org>
6899
6900         * BufferView_pimpl.C: always update scrollbar top
6901         because pasting text when we're anchored could mean we
6902         miss an update altogether
6903
6904 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6905
6906         * text2.C (init): use rowlist_.end() and not 0.
6907         (insertRow): change to take a RowList::iterator as arg, adjust
6908         for this.
6909         (insertParagraph): change to take a RowList::iterator as arg,
6910         adjust for this.
6911         (redoParagraphs): remove some debug msgs.
6912
6913         * text.C (appendParagraph): change to take a RowList::iterator
6914         arg, adjust for this.
6915         (breakAgain): add an assert
6916         (breakAgainOneRow): ditto
6917
6918 2003-03-29  John Levon  <levon@movementarian.org>
6919
6920         * text2.C: do not clear selection after inc/decDepth
6921         (bug 550)
6922
6923 2003-03-29  John Levon  <levon@movementarian.org>
6924
6925         * BufferView.C:
6926         * buffer.C: fix broken strerrors according to Lars
6927
6928 2003-03-29  John Levon  <levon@movementarian.org>
6929
6930         * converters.C: more Alert cleanups
6931
6932 2003-03-29  John Levon  <levon@movementarian.org>
6933
6934         * bufferview_funcs.C: remove pointless Alert
6935
6936         * buffer.C: fix confusing error message when
6937         a template is chmoded 000
6938
6939 2003-03-29  John Levon  <levon@movementarian.org>
6940
6941         * BufferView.C:
6942         * BufferView.h:
6943         * BufferView_pimpl.C: Alert fixes
6944
6945         * Makefile.am:
6946         * tabular.C:
6947         * tabular-old.C: remove unused table compat reading
6948
6949 2003-03-29  John Levon  <levon@movementarian.org>
6950
6951         * BufferView.C:
6952         * buffer.C:
6953         * lyx_cb.h:
6954         * lyx_cb.C: more Alert cleanups
6955
6956         * lyxfunc.C: don't allow chktex if not latex document
6957
6958 2003-03-29  John Levon  <levon@movementarian.org>
6959
6960         * lyx_cb.C:
6961         * BufferView.C:
6962         * buffer.C: warnings pushed down from support/,
6963         kill err_alert
6964
6965 2003-03-29  John Levon  <levon@movementarian.org>
6966
6967         * lyxfunc.C: safety check for C-r (revert)
6968
6969 2003-03-29  John Levon  <levon@movementarian.org>
6970
6971         * bufferlist.h:
6972         * bufferlist.C: several UI fixes using Alert::prompt.
6973         Fix the pointless looping quit code. Fix stupid revert
6974         behaviour (bug 938)
6975
6976         * lyxvc.h:
6977         * lyxvc.C:
6978         * lyx_cb.C: use Alert::prompt
6979
6980         * lyx_main.C: remove a silly question
6981
6982         * lyxfunc.C: remove a couple of silly questions,
6983         use Alert::prompt
6984
6985 2003-03-28  John Levon  <levon@movementarian.org>
6986
6987         * text2.C: fix bug 974 (End on empty par)
6988
6989 2003-03-28  John Levon  <levon@movementarian.org>
6990
6991         * BufferView_pimpl.C:
6992         * LyXAction.C:
6993         * lfuns.h: remove do-nothing math greek lfuns
6994
6995 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6996
6997         * lyxgluelength.h (isValidGlueLength): add default arg on
6998         parameter 2. Remove default arg from friend in class.
6999
7000         * lyxlength.h (isValidLength): add default arg on parameter 2.
7001         Remove default arg from friend in class.
7002
7003         * text2.C (LyXText): adjust, initialize refresh_row.
7004         (init): adjust
7005         (removeRow): adjust
7006         (insertRow): adjust
7007         (insertParagraph): adjst
7008         (redoParagraphs): adjust
7009         (fullRebreak): adjust
7010         (updateCounters): adjust
7011         (deleteEmptyParagraphMechanism): first attempt at fixing a
7012         crashing bug.
7013
7014         * text.C (top_y): adjust
7015         (setHeightOfRow): adjust
7016         (getRow): adjust
7017         (getRowNearY): adjust
7018
7019         * lyxtext.h: include RowList.h
7020         (~LyXText): not needed anymore, deleted.
7021         (firstRow): modify for RowList
7022         (lastRow): new function
7023         Delete firstrow and lastrow class variables, add a Rowlist
7024         rowlist_ class variable.
7025
7026         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7027         paragraph is empty.
7028
7029         * RowList.C (insert): fix case where it == begin().
7030
7031 2003-03-26  Angus Leeming  <leeming@lyx.org>
7032
7033         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7034         the thesaurus dialog.
7035
7036 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7037
7038         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7039
7040         * RowList.[Ch]: new files
7041
7042         * ParagraphList.C (erase): handle the case where it == begin
7043         correctly.
7044
7045 2003-03-25  John Levon  <levon@movementarian.org>
7046
7047         * Makefile.am:
7048         * aspell_local.h:
7049         * aspell.C: add new aspell support
7050
7051         * lyxrc.h:
7052         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7053         have it accessible.
7054
7055 2003-03-25  Angus Leeming  <leeming@lyx.org>
7056
7057         * lfuns.h:
7058         * LyXAction.C (init): new LFUN_INSET_INSERT.
7059
7060         * BufferView_pimpl.C (dispatch): split out part of the
7061         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7062
7063         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7064         LFUN_INSET_APPLY.
7065
7066 2003-03-25  Angus Leeming  <leeming@lyx.org>
7067
7068         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7069
7070 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7071
7072         * text2.C:
7073         * text3.C: remove useless row->height(0)
7074
7075 2003-03-25  John Levon  <levon@movementarian.org>
7076
7077         * lyxtext.h:
7078         * text2.C:
7079         * text3.C: rename the refreshing stuff to better names
7080
7081 2003-03-24  John Levon  <levon@movementarian.org>
7082
7083         * BufferView_pimpl.h:
7084         * BufferView_pimpl.C: update layout choice on a mouse
7085         press/release
7086
7087 2003-03-23  John Levon  <levon@movementarian.org>
7088
7089         * Makefile.am: fix commandtags.h reference
7090
7091 2003-03-22  John Levon  <levon@movementarian.org>
7092
7093         * BufferView_pimpl.C:
7094         * lyxtext.h:
7095         * rowpainter.C:
7096         * rowpainter.h:
7097         * text.C:
7098         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7099
7100 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7101
7102         * lyxtext.h:
7103         * text.C: take the rtl methods out of line
7104
7105 2003-03-21 André Pönitz <poenitz@gmx.net>
7106
7107         * metricsinfo.[Ch]: new files containing structures to be passed around
7108         during the two-phase-drawing...
7109
7110 2003-03-21 André Pönitz <poenitz@gmx.net>
7111
7112         * lyxtextclass.C: read 'environment' tag.
7113
7114 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7115
7116         * text2.C (removeRow): fix bug 964
7117
7118 2003-03-20  John Levon  <levon@movementarian.org>
7119
7120         * rowpainter.C:
7121         * text.C:
7122         * text2.C: paint cleanups. Inset::update() dropped font
7123         parameter
7124
7125 2003-03-19  John Levon  <levon@movementarian.org>
7126
7127         * lyxfunc.C: only fitcursor/markDirty if available()
7128
7129 2003-03-19  John Levon  <levon@movementarian.org>
7130
7131         * commandtags.h: rename to ...
7132
7133         * lfuns.h: ... this, and renumber / cleanup
7134
7135 2003-03-19  John Levon  <levon@movementarian.org>
7136
7137         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7138         fit the cursor after an lfun
7139
7140         * BufferView.h:
7141         * BufferView.C:
7142         * BufferView_pimpl.h:
7143         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7144
7145         * LyXAction.C: layout-character should have ReadOnly
7146
7147         * ParagraphParameters.C:
7148         * buffer.C:
7149         * bufferview_funcs.C:
7150         * lyx_cb.C:
7151         * lyxfind.C:
7152         * lyxtext.h:
7153         * text.C:
7154         * text2.C:
7155         * text3.C:
7156         * undo_funcs.C: changes from above
7157
7158 2003-03-18  John Levon  <levon@movementarian.org>
7159
7160         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7161         remove it from update()
7162
7163         * lyxfunc.C: update layout choice after an lfun
7164
7165         * text3.C: remove extra updateLayoutChoice()s
7166
7167 2003-03-18  John Levon  <levon@movementarian.org>
7168
7169         * text.C: top_y change means full repaint, fix
7170         a drawing bug with cursor movement
7171
7172 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7173
7174         * lyxtext.h:
7175         * text.C:
7176         * text2.C: anchor row on setCursor
7177
7178 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7179
7180         * lyxtext.h: remove almost all mutable keywords
7181         * text.C:
7182         * text2.C:
7183         * text3.C: remove const keywords accordingly
7184
7185 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7186
7187         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7188         anon namespace
7189         (TeXEnvironment): ditto
7190         (TeXOnePar): ditto
7191
7192 2003-03-17  John Levon  <levon@movementarian.org>
7193
7194         * text.C (rowBreakPoint): remove attempt to fix displayed
7195         math insets inside a manual label
7196
7197 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7198
7199         * lyxtext.h: remove BufferView* as first arg from almost all class
7200         functions.
7201         * other files: adjust.
7202
7203 2003-03-17  John Levon  <levon@movementarian.org>
7204
7205         * lyxtext.h:
7206         * undo_funcs.C:
7207         * text2.C: more paint cleanups
7208
7209         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7210
7211         * rowpainter.h:
7212         * rowpainter.C: remove "smart" background painting code
7213
7214 2003-03-16  John Levon  <levon@movementarian.org>
7215
7216         * lyxtext.h:
7217         * text.C:
7218         * text2.C:
7219         * text3.C: add helper functions for setting refresh_row/y
7220
7221 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7222
7223         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7224         newline inset which *can* get inserted in the pass_thru layouts.
7225         This is primarily for literate documents.
7226
7227 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7228
7229         * buffer.C: increment LYX_FORMAT to 223
7230
7231 2003-03-14 André Pönitz <poenitz@gmx.net>
7232
7233         * textclass.h: prepare for environment handling, ws changes
7234         * lyxlayout.C: read latexheader and latexfooter tags
7235
7236 2003-03-14  John Levon  <levon@movementarian.org>
7237
7238         * text2.C: rewrite ::status() a bit
7239
7240 2003-03-13  John Levon  <levon@movementarian.org>
7241
7242         * lyxtext.h: add some docs
7243
7244 2003-03-13  John Levon  <levon@movementarian.org>
7245
7246         * lyxtext.h:
7247         * text.C:
7248         * text2.C:
7249         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7250
7251 2003-03-13  John Levon  <levon@movementarian.org>
7252
7253         * text3.C: fix appendix redrawing
7254
7255 2003-03-13  John Levon  <levon@movementarian.org>
7256
7257         * text.C (setHeightOfRow):
7258         * rowpainter.h:
7259         * rowpainter.C: make appendix mark have the text
7260           "Appendix" so the user knows what it is
7261
7262         * LColor.h:
7263         * LColor.C: s/appendixline/appendix/ from above
7264
7265 2003-03-13  John Levon  <levon@movementarian.org>
7266
7267         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7268
7269         * text.C: fix a getChar(pos) bug properly
7270
7271 2003-03-13  Angus Leeming  <leeming@lyx.org>
7272
7273         * commandtags.h:
7274         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7275         Probably only temporary. Let's see how things pan out.
7276
7277         * BufferView.C (unlockInset):
7278         * BufferView_pimpl.C (fitCursor):
7279         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7280
7281         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7282         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7283
7284         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7285         new functions that convert ParagraphParameters to and from a string.
7286
7287         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7288         BufferView::Pimpl's dispatch.
7289         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7290
7291 2003-03-13 André Pönitz <poenitz@gmx.net>
7292
7293         * lyxfunc.C:
7294         * text3.C:
7295         * factory.C: make it aware of InsetEnv
7296
7297 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7298
7299         * text2.C (setCursor): never ask for one past last
7300         (setCursor): add some debugging messages.
7301
7302         * text.C (singleWidth): never ask for one past last
7303         (singleWidth): ditto
7304         (leftMargin): ditto
7305         (rightMargin): ditto
7306         (rowBreakPoint): ditto
7307         (setHeightOfRow): ditto
7308         (prepareToPrint): ditto
7309
7310         * rowpainter.C (paintBackground): never ask for one past last
7311         (paintText): never ask for one past last
7312
7313         * paragraph_pimpl.C (getChar): make the assert stricter, never
7314         allow the one past last pos to be taken
7315
7316         * paragraph.C (getChar): ws changes only
7317
7318         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7319         (numberOfSeparators): ditto
7320         (numberOfHfills): ditto
7321
7322 2003-03-12  John Levon  <levon@movementarian.org>
7323
7324         * author.h:
7325         * author.C:
7326         * bufferparams.h:
7327         * bufferparams.C:
7328         * paragraph_funcs.C: fix per-buffer authorlists
7329
7330 2003-03-12  John Levon  <levon@movementarian.org>
7331
7332         * text.C: fix newline in right address
7333
7334 2003-03-12  Angus Leeming  <leeming@lyx.org>
7335
7336         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7337         duplicate those in LyXFunc::dispatch.
7338
7339         * commandtags.h:
7340         * LyXAction.C:
7341         * ToolbarDefaults.C:
7342         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7343         Add LFUN_FONTFREE_UPDATE.
7344
7345         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7346         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7347
7348         * bufferview_func.[Ch]: several new functions to facilliate
7349         transfer of data to and from the character dialog.
7350
7351 2003-03-12  John Levon  <levon@movementarian.org>
7352
7353         * buffer.C:
7354         * paragraph.h:
7355         * paragraph.C:
7356         * paragraph_funcs.C:
7357         * paragraph_pimpl.C:
7358         * sgml.C:
7359         * tabular.C:
7360         * text.C:
7361         * text3.C: remove META_NEWLINE in favour of an inset
7362
7363         * rowpainter.h:
7364         * rowpainter.C: remove paintNewline (done by inset)
7365
7366 2003-03-12  John Levon  <levon@movementarian.org>
7367
7368         * paragraph_pimpl.C: complain about bad getChar()s
7369         for a while at least
7370
7371 2003-03-12  John Levon  <levon@movementarian.org>
7372
7373         * buffer.h:
7374         * buffer.C: move paragraph read into a separate function,
7375         a little renaming to reflect that.
7376
7377         * bufferparams.h:
7378         * bufferparams.C: remove the author_ids map, not necessary now
7379
7380         * factory.h:
7381         * factory.C: moved Buffer::readInset to here
7382
7383         * paragraph_funcs.h:
7384         * paragraph_funcs.C: readParagraph free function moved from
7385         buffer.C
7386
7387         * tabular.C: name change
7388
7389 2003-03-12  John Levon  <levon@movementarian.org>
7390
7391         * buffer.C:
7392         * ParagraphParameters.C: move par params input to
7393         a read() method
7394
7395         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7396         behave like a normal read from the stream wrt reading
7397         a line vs. a \\token
7398
7399 2003-03-12  John Levon  <levon@movementarian.org>
7400
7401         * paragraph.C:
7402         * ParagraphParameters.h:
7403         * ParagraphParameters.C: move output code to a
7404         ::write() method
7405
7406 2003-03-12  John Levon  <levon@movementarian.org>
7407
7408         * BufferView.C (insertLyXFile):
7409         * buffer.h:
7410         * buffer.C:
7411         * tabular.C: use a parlist iterator for creating the
7412           document.
7413
7414 2003-03-12  John Levon  <levon@movementarian.org>
7415
7416         * buffer.C: make current_change static local not
7417           static file-scope
7418
7419 2003-03-12  John Levon  <levon@movementarian.org>
7420
7421         * buffer.C: fix insertStringAsLines for change tracking
7422
7423 2003-03-12  John Levon  <levon@movementarian.org>
7424
7425         * BufferView.C:
7426         * tabular.C:
7427         * buffer.h:
7428         * buffer.C:
7429         * bufferparams.h:
7430         * bufferparams.C: move author list into params. Rename some
7431           functions. Move the header reading into a separate token
7432           loop. Move the header token reading into BufferParams.
7433
7434 2003-03-12  John Levon  <levon@movementarian.org>
7435
7436         * changes.C: put debug inside lyxerr.debugging() checks
7437
7438 2003-03-11 André Pönitz <poenitz@gmx.net>
7439
7440         * factory.C: make it aware of InsetHFill
7441
7442 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7443
7444         * buffer.C (latexParagraphs): move function from here...
7445         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7446         args.
7447
7448 2003-03-10  Angus Leeming  <leeming@lyx.org>
7449
7450         * LyXAction.C (init): fix bug in poplating array with multiple entries
7451         with the same LFUN (spotted by JMarc).
7452
7453 2003-03-10  John Levon  <levon@movementarian.org>
7454
7455         * text.C:
7456         * text2.C: move getColumnNearX() near its
7457         only call site
7458
7459 2003-03-10  John Levon  <levon@movementarian.org>
7460
7461         * text.C: fix break before a minipage
7462
7463 2003-03-10  John Levon  <levon@movementarian.org>
7464
7465         * text.C: fix the last commit
7466
7467 2003-03-09  John Levon  <levon@movementarian.org>
7468
7469         * lyxtext.h:
7470         * text.C:
7471         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7472         bug 365 (don't break before insets unless needed). Don't
7473         return a value > last under any circumstances.
7474
7475 2003-03-09  Angus Leeming  <leeming@lyx.org>
7476
7477         * BufferView_pimpl.C (trackChanges, dispatch): call
7478         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7479
7480 2003-03-09  Angus Leeming  <leeming@lyx.org>
7481
7482         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7483         than Dialogs::showAboutlyx().
7484
7485 2003-03-09  Angus Leeming  <leeming@lyx.org>
7486
7487         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7488         than Dialogs::showTabularCreate().
7489
7490 2003-03-09  John Levon  <levon@movementarian.org>
7491
7492         * lyxtext.h:
7493         * text.C:
7494         * text2.C: 3rd arg to nextBreakPoint was always the same.
7495           Use references.
7496
7497 2003-03-08  John Levon  <levon@movementarian.org>
7498
7499         * lyxrow.C:
7500         * paragraph.C:
7501         * paragraph.h:
7502         * rowpainter.C:
7503         * text.C:
7504         * text2.C: Remove the "main" bit from the "main body"
7505           notion.
7506
7507 2003-03-08  John Levon  <levon@movementarian.org>
7508
7509         * text.C (leftMargin): The left margin of an empty
7510         manual label paragraph should not include the label width
7511         string length.
7512
7513         * text.C (prepareToPrint): don't attempt to measure hfills
7514         for empty manual label paragraphs - the answer should be 0
7515
7516 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7517
7518         * CutAndPaste.C: remove commented code and reindent.
7519
7520 2003-03-08  John Levon  <levon@movementarian.org>
7521
7522         * lyxfunc.h:
7523         * lyxfunc.C: move reloadBuffer()
7524
7525         * BufferView.h:
7526         * BufferView.C: to here
7527
7528         * lyxvc.C: add comment
7529
7530         * vc-backend.h:
7531         * vc-backend.C: call bv->reload() to avoid
7532           getStatus() check on MENURELOAD
7533
7534 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7535
7536         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7537         to an old format .dep file.
7538
7539 2003-03-07  Angus Leeming  <leeming@lyx.org>
7540
7541         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7542         when the LFUN_MOUSE_RELEASE should have been handled by
7543         inset->localDispatch.
7544
7545 2003-03-07  Angus Leeming  <leeming@lyx.org>
7546
7547         * BufferView_pimpl.C (dispatch):
7548         * LyXAction.C (init):
7549         * ToolbarDefaults.C (init):
7550         * commandtags.h:
7551         * lyxfunc.C (getStatus):
7552         remove LFUN_INSET_GRAPHICS.
7553
7554         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7555
7556 2003-03-07  Angus Leeming  <leeming@lyx.org>
7557
7558         * commandtags.h:
7559         * LyXAction.C (init):
7560         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7561
7562         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7563
7564         * commandtags.h:
7565         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7566
7567         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7568         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7569
7570 2003-03-07  Angus Leeming  <leeming@lyx.org>
7571
7572         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7573         remove "ert".
7574
7575 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7576
7577         * ParagraphList.C (front): new function
7578         (back): implement
7579
7580 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7581
7582         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7583         and top_row_offset_. removed var first_y.
7584         * text.C (top_y):
7585         * text2.C (LyXText, removeRow):
7586         * text3.C:
7587         * BufferView_pimpl.C:
7588         use these methods instead of using first_y
7589
7590 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7591
7592         * text2.C (pasteSelection): adjust for checkPastePossible
7593
7594         * CutAndPaste.C: remove Paragraph * buf and replace with
7595         ParagraphList paragraphs.
7596         (DeleteBuffer): delete
7597         (cutSelection): change the tc type to textclass_type
7598         (copySelection): change the tc type to textclass_type
7599         (copySelection): adjust for ParagraphList
7600         (pasteSelection): change the tc type to textclass_type
7601         (pasteSelection): adjust for Paragraphlist
7602         (nrOfParagraphs): simplify for ParagraphList
7603         (checkPastePossible): simplify for ParagraphList
7604         (checkPastePossible): remove unused arg
7605
7606         * ParagraphList.C (insert): handle the case where there are no
7607         paragraphs yet.
7608
7609         * CutAndPaste.h: make CutAndPaste a namespace.
7610
7611         * text3.C (dispatch): adjust
7612
7613         * text.C (breakParagraph): add a ParagraphList as arg
7614
7615         * paragraph_funcs.C (breakParagraph): change to take a
7616         BufferParams and a ParagraphList as args.
7617         (breakParagraphConservative): ditto
7618         (mergeParagraph): ditto
7619         (TeXDeeper): add a ParagraphList arg
7620         (TeXEnvironment): ditto
7621         (TeXOnePar): ditto
7622
7623         * buffer.C (readLyXformat2): adjust
7624         (insertStringAsLines): adjust
7625         (latexParagraphs): adjust
7626
7627         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7628         (cutSelection): adjust
7629         (pasteSelection): adjust
7630
7631         * BufferView_pimpl.C (insertInset): adjust
7632
7633 2003-03-05  Angus Leeming  <leeming@lyx.org>
7634
7635         * commandtags.h:
7636         * LyXAction.C (init):
7637         * BufferView_pimpl.C (dispatch):
7638         * lyxfunc.C (getStatus):
7639         remove LFUN_CHILD_INSERT.
7640
7641         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7642
7643 2003-03-05  Angus Leeming  <leeming@lyx.org>
7644
7645         * commandtags.h:
7646         * LyXAction.C (init):
7647         * src/factory.C (createInset):
7648         * lyxfunc.C (getStatus):
7649         * text3.C (dispatch):
7650         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7651
7652         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7653
7654 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7655
7656         * ParagraphList.C (insert): handle insert right before end()
7657         (erase): fix cases where it can be first or last paragraph.
7658
7659 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7660
7661         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7662         Paragraph::next and Paragraph::previous
7663         (TeXOnePar): ditto
7664
7665         * text.C (breakParagraph): adjust
7666
7667         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7668         BufferParams& as arg.
7669         (breakParagraph): use ParagraphList::insert
7670         (breakParagraphConservative): take a Buffer* instead of a
7671         BufferParams& as arg.
7672         (breakParagraphConservative): use ParagraphList::insert.
7673
7674         * buffer.C (insertStringAsLines): un-const it
7675         (insertStringAsLines): adjust
7676
7677         * ParagraphList.C (insert): new function
7678
7679         * CutAndPaste.C (pasteSelection): adjust
7680
7681         * text.C (backspace): adjust
7682
7683         * tabular.C (SetMultiColumn): adjust
7684
7685         * CutAndPaste.C (cutSelection): adjust
7686         (pasteSelection): adjust
7687
7688         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7689         Buffer const * as arg
7690
7691         * ParagraphList.C (erase): new function
7692         * paragraph_funcs.C (mergeParagraph): use it
7693         (mergeParagraph): make it take a Buffer* instead of a
7694         BufferParams* as arg
7695
7696         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7697         as arg
7698         (breakParagraphConservative): ditto
7699
7700         * paragraph.h: remove the breakParagraph friend
7701
7702         * paragraph.C (eraseIntern): new function
7703         (setChange): new function
7704
7705         * paragraph_funcs.C (mergeParagraph): make it take a
7706         ParagraphList::iterator instead of a Paragraph *, adjust
7707         accordingly.
7708
7709         * paragraph.h: move an #endif so that the change tracking stuff
7710         also works in the NO_NEXT case.
7711
7712 2003-03-04  Angus Leeming  <leeming@lyx.org>
7713
7714         * commandtags.h:
7715         * LyXAction.C: new LFUN_INSET_MODIFY.
7716
7717         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7718         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7719
7720 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7721
7722         * several files: ws changes only
7723
7724         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7725         (TeXEnvironment): ditto
7726         (TeXDeeper): ditto
7727
7728         * buffer.C (makeLaTeXFile): adjust
7729         (latexParagraphs): make it take ParagraphList::iterator as args
7730
7731 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7732
7733         * buffer.C (latexParagraphs): adjust
7734
7735         * paragraph.C (TeXOnePar): move function...
7736         (optArgInset): move function...
7737         (TeXEnvironment): move function...
7738         * paragraph_pimpl.C (TeXDeeper): move function...
7739         * paragraph_funcs.C: ...here
7740
7741         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7742
7743 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7744
7745         * buffer.C (readInset): remove compability code for old Figure and
7746         InsetInfo insets
7747
7748 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7749
7750         * buffer.C: ws changes
7751         (readInset):
7752
7753         * BufferView_pimpl.C: ditto
7754         * author.C: ditto
7755         * buffer.h: ditto
7756         * bufferlist.h: ditto
7757         * changes.h: ditto
7758         * lyxfunc.C: ditto
7759
7760 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7761
7762         * converter.[Ch]: split into itself +
7763         * graph.[Ch]
7764         * format.[Ch]
7765         * Makefile.am: += graph.[Ch] + format.[Ch]
7766         * MenuBackend.C
7767         * buffer.C
7768         * exporter.C
7769         * importer.C
7770         * lyx_main.C
7771         * lyxfunc.C
7772         * lyxrc.C: added #include "format.h"
7773
7774 2003-02-27  Angus Leeming  <leeming@lyx.org>
7775
7776         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7777           a label.
7778
7779         * factory.C (createInset): add "label" to the factory.
7780
7781         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7782           string and do no more.
7783
7784 2003-02-27  Angus Leeming  <leeming@lyx.org>
7785
7786         * commandtags.h:
7787         * LyXAction.C (init):
7788         * factory.C (createInset):
7789         * BufferView_pimpl.C (dispatch):
7790           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7791
7792         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7793
7794         * lyxfunc.C (dispatch):
7795         * text3.C (dispatch): pass name to params2string.
7796
7797 2003-02-26  Angus Leeming  <leeming@lyx.org>
7798
7799         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7800           blocks together.
7801           Rearrange the ~includes. Strip out the unnecessary ones.
7802
7803         * factory.C (createInset): reformat.
7804           create new insets for the various LFUN_XYZ_APPLY lfuns.
7805
7806 2003-02-26  John Levon  <levon@movementarian.org>
7807
7808         * lyxrow.h:
7809         * lyxrow.C: add isParStart,isParEnd helpers
7810
7811         * paragraph.h: make isInserted/DeletedText take refs
7812
7813         * paragraph_funcs.h:
7814         * paragraph_funcs.C: remove #if 0'd code
7815
7816         * lyxtext.h:
7817         * text3.C:
7818         * text2.C:
7819         * text.C: use lyxrow helpers above.
7820           Move draw and paint routines to RowPainter.
7821           Make several methods use refs not pointers.
7822           Make backgroundColor() const.
7823           Add markChangeInDraw(), isInInset().
7824           Merge changeRegionCase into changeCase.
7825           Make workWidth() shouldn't-happen code into an Assert.
7826
7827         * rowpainter.h:
7828         * rowpainter.C: new class for painting a row.
7829
7830         * vspace.h:
7831         * vspace.C: make inPixels take a ref
7832
7833 2003-02-26  Angus Leeming  <leeming@lyx.org>
7834
7835         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7836         LFUN_REF_APPLY.
7837
7838 2003-02-25  John Levon  <levon@movementarian.org>
7839
7840         * ispell.C: give the forked command a more accurate name
7841
7842 2003-02-22  John Levon  <levon@movementarian.org>
7843
7844         * toc.h:
7845         * toc.C: make TocItem store an id not a Paragraph *
7846           (bug #913)
7847
7848 2003-02-21  Angus Leeming  <leeming@lyx.org>
7849
7850         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7851           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7852           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7853           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7854           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7855           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7856
7857         * BufferView_pimpl.C (dispatch):
7858         * LyXAction.C (init):
7859         * factory.C (createInset):
7860         * lyxfunc.C (getStatus, dispatch):
7861         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7862
7863 2003-02-21  Angus Leeming  <leeming@lyx.org>
7864
7865         * BufferView_pimpl.C (MenuInsertLyXFile):
7866         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7867         * lyxfunc.C (menuNew, open, doImport):
7868           no longer pass a LyXView & to fileDlg.
7869
7870 2003-02-21  Angus Leeming  <leeming@lyx.org>
7871
7872         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7873         * LyXAction.C: change, BIBKEY to BIBITEM.
7874         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7875         Change InsetBibKey to InsetBibitem.
7876         Change BIBKEY_CODE to BIBITEM_CODE.
7877         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7878         * factory.C: replace insetbib.h with insetbibitem.h.
7879         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7880         * paragraph.C: replace insetbib.h with insetbibitem.h.
7881         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7882         Change bibkey() to bibitem().
7883         * text.C: remove insetbib.h.
7884         * text2.C: replace insetbib.h with insetbibitem.h.
7885         change bibkey() to bibitem().
7886         * text3.C: remove insetbib.h.
7887         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7888
7889 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7890
7891         * lyxrc.C (output): enclose user email in quotes (in case there are
7892         several words)
7893
7894 2003-02-18  John Levon  <levon@movementarian.org>
7895
7896         * buffer.h: add std::
7897
7898 2003-02-17  John Levon  <levon@movementarian.org>
7899
7900         * SpellBase.h:
7901         * ispell.h:
7902         * ispell.C:
7903         * pspell.h:
7904         * pspell.C: reworking. Especially in ispell, a large
7905           number of clean ups and bug fixes.
7906
7907         * lyxfunc.C: fix revert to behave sensibly
7908
7909 2003-02-17 André Pönitz <poenitz@gmx.net>
7910
7911         * LyXAction.C:
7912         * commandtags.h: new LFUN_INSERT_BIBKEY
7913
7914         * layout.h:
7915         * lyxlayout.C:
7916         * buffer.C:
7917         * factory.C:
7918         * text.C:
7919         * text2.C:
7920         * text3.C:
7921         * paragraph.[Ch]:
7922         * paragraph_func.C: remove special bibkey handling
7923
7924 2003-02-17  John Levon  <levon@movementarian.org>
7925
7926         * text.C (Delete): fix case where delete at the end of
7927           the very first paragraph would not merge the pars
7928
7929 2003-02-17  John Levon  <levon@movementarian.org>
7930
7931         * lyxrow.C: fix lastPrintablePos()
7932
7933 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7934
7935         * bufferparams.C (writeLaTeX): add a std:here
7936
7937         * buffer.C: and remove a using directive there
7938
7939 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7940
7941         * buffer.C (makeLaTeXFile): move the code that generates the
7942           preamble...
7943
7944         * bufferparams.C (writeLaTeX): ... in this new method
7945
7946         * LaTeXFeatures.C (getEncodingSet): make const
7947           (getLanguages): make const
7948
7949         * MenuBackend.C (binding): returns the binding associated to this
7950           action
7951           (add): sets the status of each item by calling getStatus. Adds
7952           some intelligence.
7953           (read): add support for OptSubMenu
7954           (expand): remove extra separator at the end of expanded menu
7955
7956 2003-02-15  John Levon  <levon@movementarian.org>
7957
7958         * BufferView.C:
7959         * BufferView_pimpl.C:
7960         * bufferlist.h:
7961         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7962           inset code that had no actual effect. Remove unneeded status
7963           code.
7964
7965 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7966
7967         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7968           in preamble
7969
7970 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7971
7972         * text.C (drawLengthMarker): also draw an arrow marker for
7973           symbolic lengths (medskip...)
7974
7975 2003-02-14  John Levon  <levon@movementarian.org>
7976
7977         * tabular.h:
7978         * tabular.C: better method names
7979
7980 2003-02-14  John Levon  <levon@movementarian.org>
7981
7982         * BufferView_pimpl.C:
7983         * bufferlist.C:
7984         * buffer.C:
7985         * converter.C:
7986         * lyx_cb.C:
7987         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7988           it's a more accurate name. Remove some pointless uses.
7989
7990 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7991
7992         * text2.C (LyXText): change order of initilizers to shut off
7993           warnings
7994
7995 2003-02-14  John Levon  <levon@movementarian.org>
7996
7997         * buffer.C: use ParIterator for getParFromID()
7998
7999         * paragraph.h:
8000         * paragraph.C:
8001         * paragraph_pimpl.h:
8002         * paragraph_pimpl.C: remove unused getParFromID()
8003
8004 2003-02-14  John Levon  <levon@movementarian.org>
8005
8006         * buffer.C: remove some very old #if 0'd parse code
8007
8008 2003-02-13  John Levon  <levon@movementarian.org>
8009
8010         * text.h:
8011         * text.C:
8012         * text2.C: move hfillExpansion(), numberOfSeparators(),
8013           rowLast(), rowLastPrintable(), numberofHfills(),
8014           numberOfLabelHfills() ...
8015
8016         * lyxrow.h:
8017         * lyxrow.C: ... to member functions here.
8018
8019         * paragraph.h:
8020         * paragraph.C:
8021         * lyxtext.h:
8022         * text.C: remove LyXText::beginningOfMainBody(), and call
8023           p->beginningOfMainBody() directly. Move the check for
8024           LABEL_MANUAL into the latter.
8025
8026         * text.h:
8027         * text.C:
8028         * text2.C:
8029         * vspace.C:
8030         * BufferView.h:
8031         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8032
8033         * text.h:
8034         * text.C:
8035         * text2.C:
8036         * text3.C:
8037         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8038           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8039
8040 2003-02-13  John Levon  <levon@movementarian.org>
8041
8042         * CutAndPaste.C: remove debug
8043
8044 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8045
8046         * paragraph.C (asString): remove two unused variables
8047
8048         * lyxtextclass.C (readTitleType):
8049           (Read):
8050           (LyXTextClass): handle new members titletype_ and titlename_
8051
8052         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8053
8054 2003-02-09  John Levon  <levon@movementarian.org>
8055
8056         * buffer.h:
8057         * buffer.C: replace hand-coded list with a map for the dep clean
8058
8059 2003-02-08  John Levon  <levon@movementarian.org>
8060
8061         * LaTeX.C: consolidate code into showRunMessage() helper
8062
8063 2003-02-08  John Levon  <levon@movementarian.org>
8064
8065         * lyxfind.C:
8066         * lyxtext.h:
8067         * text2.C:
8068         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8069           and pass the size in explicitly
8070
8071         * BufferView_pimpl.h:
8072         * BufferView_pimpl.C:
8073         * BufferView.h:
8074         * BufferView.C: add getCurrentChange()
8075
8076         * BufferView_pimpl.h:
8077         * BufferView_pimpl.C: handle change lfuns
8078
8079         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8080           for changes. Mark pasted paragraphs as new.
8081
8082         * support/lyxtime.h:
8083         * support/lyxtime.C:
8084         * DepTable.C: abstract time_t as lyx::time_type
8085
8086         * LColor.h:
8087         * LColor.C: add colours for new text, deleted text, changebars
8088
8089         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8090           package use "usenames" option.
8091
8092         * commandtags.h:
8093         * lyxfunc.C:
8094         * LyXAction.C: add change lfuns
8095
8096         * Makefile.am:
8097         * author.h:
8098         * author.C: author handling
8099
8100         * buffer.h:
8101         * buffer.C: add a per-buffer author list, with first entry as
8102           current author. Handle new .lyx tokens for change tracking. Output
8103           author list to .lyx file. Output dvipost stuff to .tex preamble.
8104           Bump lyx format to 222.
8105
8106         * bufferlist.h:
8107         * bufferlist.C: add setCurrentAuthor() to reset current author details
8108           in all buffers.
8109
8110         * bufferparams.h:
8111         * bufferparams.C: add param for tracking
8112
8113         * bufferview_funcs.C: output change info in minibuffer
8114
8115         * Makefile.am:
8116         * changes.h:
8117         * changes.C: add change-tracking structure
8118
8119         * debug.h:
8120         * debug.C: add CHANGES debug flag
8121
8122         * lyxfind.h:
8123         * lyxfind.C: add code for finding the next change piece
8124
8125         * lyxrc.h:
8126         * lyxrc.C: add user_name and user_email
8127
8128         * lyxrow.h:
8129         * lyxrow.C: add a metric for the top of the text line
8130
8131         * lyxtext.h:
8132         * text.C: implement accept/rejectChange()
8133
8134         * lyxtext.h:
8135         * text.C: paint changebars. Paint new/deleted text in the chosen
8136         colours. Strike through deleted text.
8137
8138         * paragraph.h:
8139         * paragraph.C:
8140         * paragraph_pimpl.h:
8141         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8142           in the current change to the insert functions. Rework erase to
8143           mark text as deleted, adding an eraseIntern() and a range-based
8144           erase(). Implement per-paragraph change lookup and
8145           accept/reject.
8146
8147         * paragraph_funcs.C: Fixup paste for change tracking.
8148
8149         * tabular.C: mark added row/columns as new.
8150
8151         * text.C: fix rowLast() to never return -1. Don't allow
8152           spellchecking of deleted text. Track transpose changes. Don't
8153           allow paragraph break or merge where appropriate.
8154
8155         * text2.C: leave cursor at end of selection after a cut.
8156
8157 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8158
8159         * text.C (getLengthMarkerHeight):
8160         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8161         visible on screen too.
8162
8163 2003-02-07  John Levon  <levon@movementarian.org>
8164
8165         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8166
8167 2003-02-05  Angus Leeming  <leeming@lyx.org>
8168
8169         * lyxserver.C (read_ready): revert my patch of 11 September last year
8170         as it sends PC cpu through the roof. Presumably this means that
8171         the lyxserver will no longer run on an Alpha...
8172
8173 2003-01-30  Angus Leeming  <leeming@lyx.org>
8174
8175         * factory.C (createInset): create an InsetCommandParam of type "index"
8176         and use it to 'do the right thing'.
8177
8178         * text2.C (getStringToIndex): ensure that cursor position is always
8179         reset to the reset_cursor position.
8180
8181 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8182
8183         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8184         disabled.
8185
8186 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8187
8188         * bufferview.C:
8189         * lyxcb.C:
8190         * lyxfunc.C: Output messages with identical spelling, punctuation,
8191         and spaces
8192
8193 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8194
8195         * MenuBackend.C (expandFormats): List only viewable export formats
8196         in "View" menu
8197
8198         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8199         message
8200
8201         * lyxfunc.C (getStatus): Make sure that formats other than
8202         "fax" can also be disabled
8203
8204 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8205
8206         * text3.C (dispatch): put the lfuns that insert insets in 3
8207         groups, and call doInsertInset with appropriate arguments.
8208         (doInsertInset): new function, that creates an inset and inserts
8209         it according to some boolean parameters.
8210
8211 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8212
8213         * buffer.C (readFile): remember to pass on 'par' when calling
8214         readFile recursively.
8215
8216 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8217
8218         * MenuBackend.C (expandFormats): add "..." to import formats.
8219
8220 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8221
8222         * paragraph.C (asString): Remove XForms RTL hacks.
8223
8224 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8225         * buffer.C: fix typo
8226
8227 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8228
8229         * Makefile.am (LIBS): delete var
8230         (lyx_LDADD): add @LIBS@ here instead.
8231
8232 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8233
8234         * Clarify the meaning of "wheel mouse jump"
8235
8236 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8237
8238         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8239         tabular in a float
8240
8241 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8242
8243         * importer.C (Loaders): do not preallocate 3 elements in the
8244         vector, since one ends up with 6 elements otherwise
8245
8246 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8247
8248         * DepTable.C (write): write the file name as last element of the
8249         .dep file (because it may contain spaces)
8250         (read): read info in the right order
8251
8252 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8253
8254         * paragraph_pimpl.C (simpleTeXBlanks):
8255         (simpleTeXSpecialChars):
8256         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8257
8258         * tabular.C (latex): add some missing case statements. Reindent.
8259
8260         * MenuBackend.C (expandToc): remove unused variable.
8261
8262 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8263
8264         * LColor.C:
8265         * LaTeX.C:
8266         * LyXAction.C:
8267         * MenuBackend.C:
8268         * buffer.C:
8269         * exporter.C:
8270         * lyxfunc.C:
8271         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8272         and the like.
8273
8274 2003-01-05  John Levon  <levon@movementarian.org>
8275
8276         * BufferView.h:
8277         * BufferView.C: add getEncoding()
8278
8279         * kbsequence.h:
8280         * kbsequence.C: do not store last keypress
8281
8282         * lyxfunc.h:
8283         * lyxfunc.C: store last keypress here instead. Pass encoding
8284           to getISOEncoded()
8285
8286 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8287
8288         * lyx_main.C (init): remove annoying error message when following
8289         symbolic links (bug #780)
8290
8291 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8292
8293         * text.C (insertChar):
8294         * lyxrc.C (getDescription): remove extra spaces
8295
8296 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8297
8298         * lyxrc.C (getDescription): remove extra spaces
8299
8300 2002-12-20  John Levon  <levon@movementarian.org>
8301
8302         * text3.C: hack fix for page up/down across tall rows
8303
8304 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8305
8306         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8307         not been invoked
8308
8309 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8310
8311         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8312         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8313         thesaurus is not compiled in
8314
8315 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8316
8317         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8318
8319 2002-12-16  Angus Leeming  <leeming@lyx.org>
8320
8321         * lyxrc.[Ch]:
8322         * lyx_main.C (init): remove override_x_deadkeys stuff.
8323
8324 2002-12-12  John Levon  <levon@movementarian.org>
8325
8326         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8327           insert. Only remove shift modifier under strict
8328           circumstances.
8329
8330 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8331
8332         * MenuBackend.C (expandToc): fix crash.
8333
8334 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8335
8336         * MenuBackend.C (expandToc): gettext on float names.
8337
8338 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8339
8340         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8341         implement bool empty() [bug 490]
8342
8343 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8344
8345         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8346
8347 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8348
8349         * several files: ws changes
8350
8351 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8352
8353         * text2.C (setCounter): clean up a bit, use boost.format.
8354         (updateCounters): initialize par upon declaration.
8355
8356         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8357         if the layout exists. We do not just store the layout any more.
8358         (SwitchLayoutsBetweenClasses): use boost.format
8359
8360 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8361
8362         * converter.C (convert): if from and to files are the same, use a
8363         temporary files as intermediary
8364
8365 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8366
8367         * commandtags.h:
8368         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8369
8370 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8371
8372         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8373
8374 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8375
8376         * tabular.C (asciiPrintCell): use string(size, char) instead of
8377         explicit loop.
8378
8379         * sgml.C (openTag): fix order of arguments to string constructor
8380         (closeTag): ditto
8381
8382         * lyxfunc.C (dispatch): use boost.format
8383
8384         * lots of files: change "c" -> 'c'
8385
8386 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8387
8388         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8389
8390 2002-11-25  Angus Leeming  <leeming@lyx.org>
8391
8392         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8393
8394         * lyx_main.C (init): compile fix.
8395
8396 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8397
8398         * lyx_cb.C (start): boost.formatify
8399         do not include <iostream>
8400
8401         * lengthcommon.C: ws only
8402
8403         * boost-inst.C,BoostFormat.h: add more explict instantations
8404
8405 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8406
8407         * lots of files: handle USE_BOOST_FORMAT
8408
8409 2002-11-21  John Levon  <levon@movementarian.org>
8410
8411         * pspell.C: fix compile
8412
8413 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8414
8415         * lyxfunc.C (dispatch): use boost::format
8416         (open): ditto
8417         (doImport): ditto
8418
8419         * lyxfont.C (stateText): use boost::format
8420
8421         * lyx_main.C (LyX): use boost::format
8422         (init): ditto
8423         (queryUserLyXDir): ditto
8424         (readRcFile): ditto
8425         (parse_dbg): ditto
8426         (typedef boost::function): use the recommened syntax.
8427
8428         * importer.C (Import): use boost::format
8429
8430         * debug.C (showLevel): use boost::format
8431
8432         * converter.C (view): use boost::format
8433         (convert): ditto
8434         (move): ditto
8435         (scanLog): ditto
8436
8437         * bufferview_funcs.C (currentState): use boost::format
8438
8439         * bufferlist.C (emergencyWrite): use boost::format
8440
8441         * buffer.C (readLyXformat2): use boost::format
8442         (parseSingleLyXformat2Token): ditto
8443
8444         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8445
8446         * LaTeX.C (run): use boost::format
8447
8448         * Chktex.C (scanLogFile): use boost::format
8449
8450         * BufferView_pimpl.C (savePosition): use boost::format
8451         (restorePosition): ditto
8452         (MenuInsertLyXFile): ditto
8453
8454         * BoostFormat.h: help file for explicit instation.
8455
8456 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8457
8458         * tabular.C (latex): Support for block alignment in fixed width
8459         columns.
8460
8461 2002-11-17  John Levon  <levon@movementarian.org>
8462
8463         * BufferView_pimpl.C:
8464         * lyx_cb.C:
8465         * lyxfunc.C: split filedialog into open/save
8466
8467 2002-11-08  Juergen Vigna  <jug@sad.it>
8468
8469         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8470         by my last patch (hopefully).
8471
8472 2002-11-08  John Levon  <levon@movementarian.org>
8473
8474         * iterators.h:
8475         * iterators.C:
8476         * buffer.h:
8477         * buffer.C:
8478         * paragraph.h:
8479         * paragraph.C:
8480         * toc.h:
8481         * toc.C: ParConstIterator, and use it (from Lars)
8482
8483 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8484
8485         * lyxtextclass.[Ch]: revise and add doxygen comments
8486
8487 2002-11-07  John Levon  <levon@movementarian.org>
8488
8489         * text.C: fix progress value for spellchecker
8490
8491         * toc.C: fix navigate menu for insetwrap inside minipage
8492
8493         * paragraph_funcs.C: added FIXME for suspect code
8494
8495 2002-11-07  John Levon  <levon@movementarian.org>
8496
8497         * BufferView_pimpl.C: fix redrawing of insets
8498           on buffer switch
8499
8500 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8501
8502         * text2.C (updateCounters): fix bug 668
8503
8504 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8505
8506         * text3.C (dispatch): Do not make the buffer dirty when moving the
8507         cursor.
8508
8509 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8510
8511         * vc-backend.C: STRCONV
8512         (scanMaster): ditto
8513
8514         * text2.C (setCounter): STRCONV
8515
8516         * paragraph.C (asString): STRCONV
8517
8518         * lyxlength.C (asString): STRCONV
8519         (asLatexString): ditto
8520
8521         * lyxgluelength.C (asString): STRCONV
8522         (asLatexString): ditto
8523
8524         * lyxfunc.C (dispatch): STRCONV
8525         (open): ditto
8526
8527         * lyxfont.C (stateText): STRCONV
8528
8529         * importer.C (Import): STRCONV
8530
8531         * counters.C (labelItem): STRCONV
8532         (numberLabel): ditto
8533         (numberLabel): remove unused ostringstream o
8534
8535         * chset.C: STRCONV
8536         (loadFile): ditto
8537
8538         * bufferview_funcs.C (currentState): STRCONV
8539
8540         * buffer.C (readFile): STRCONV
8541         (asciiParagraph): ditto
8542         (makeLaTeXFile): ditto
8543
8544         * Spacing.C (writeEnvirBegin): STRCONV
8545
8546         * LaTeXFeatures.C (getLanguages): STRCONV
8547         (getPackages): ditto
8548         (getMacros): ditto
8549         (getBabelOptions): ditto
8550         (getTClassPreamble): ditto
8551         (getLyXSGMLEntities): ditto
8552         (getIncludedFiles): ditto
8553
8554         * LaTeX.C: STRCONV
8555         (run): ditto
8556         (scanAuxFile): ditto
8557         (deplog): ditto
8558
8559         * LString.h: add the STRCONV macros
8560
8561         * BufferView_pimpl.C (savePosition): STRCONV
8562         (restorePosition): ditto
8563         (MenuInsertLyXFile): ditto
8564
8565         * vc-backend.C (scanMaster): change from submatch[...] to
8566         submatch.str(...)
8567
8568         * funcrequest.C: include config.h
8569
8570         * factory.C: include config.h
8571
8572         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8573
8574         * box.C: include config.h
8575
8576         * LaTeX.C (scanAuxFile): change from submatch[...] to
8577         submatch.str(...)
8578         (deplog): ditto
8579
8580 2002-10-25  Angus Leeming  <leeming@lyx.org>
8581
8582         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8583
8584         * ispell.[Ch] (setError): new method.
8585         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8586         Use setError() insetead of goto END.
8587
8588         * lyx_cb.C (AutoSave): move out child process into new class
8589         AutoSaveBuffer.
8590
8591 2002-10-30  John Levon  <levon@movementarian.org>
8592
8593         * text3.C: make start appendix undoable
8594
8595 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8596
8597         * lyxlength.C (inPixels): Fix returned value.
8598
8599         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8600         environment.
8601
8602 2002-10-24  Angus Leeming  <leeming@lyx.org>
8603
8604         * lyxgluelength.h: no need to forward declare BufferParams
8605         or BufferView, so don't.
8606
8607 2002-10-21  John Levon  <levon@movementarian.org>
8608
8609         * BufferView.C: menuUndo ->undo, redo
8610
8611         * BufferView.h: document, remove dead, make some methods private
8612
8613         * paragraph_funcs.h:
8614         * paragraph_funcs.C:
8615         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8616
8617         * buffer.h:
8618         * buffer.C:
8619         * sgml.h:
8620         * sgml.C: move sgml open/close tag into sgml.C
8621
8622         * bufferview_funcs.h: unused prototype
8623
8624         * lyxfunc.h:
8625         * lyxfunc.C: remove unused
8626
8627         * lyxtext.h:
8628         * text.C: remove unused
8629
8630 2002-10-21  John Levon  <levon@movementarian.org>
8631
8632         * BufferView.h:
8633         * BufferView.C:
8634         * BufferView_pimpl.h:
8635         * BufferView_pimpl.C: fix mouse wheel handling based on
8636           patch from Darren Freeman
8637
8638 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8639
8640         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8641
8642 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8643
8644         * lyxlength.C (inPixels): Fix hanfling of negative length.
8645         Fix LyXLength::MU case.
8646
8647 2002-10-16  John Levon  <levon@movementarian.org>
8648
8649         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8650
8651 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8652
8653         * converter.C (view): add support for $$i (file name) and $$p
8654         (file path) for the viewer command. If $$i is not specified, then
8655         it is appended to the command (for compatibility with old syntax)
8656
8657 2002-10-14  Juergen Vigna  <jug@sad.it>
8658
8659         * undo_funcs.C (textHandleUndo): alter the order in which the
8660         new undopar is added to the LyXText, as we have to set first
8661         the right prev/next and then add it as otherwise the rebuild of
8662         LyXText is not correct. Also reset the cursor to the right paragraph,
8663         with this IMO we could remove the hack in "redoParagraphs()".
8664
8665 2002-10-09  Angus Leeming  <leeming@lyx.org>
8666
8667         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8668         to turn off an optimisation if a new inset is to be inserted.
8669
8670 2002-10-11 André Pönitz <poenitz@gmx.net>
8671
8672         * lyxtext.h: make some functions public to allow access
8673         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8674
8675 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8676
8677         * text3.C (dispatch): when changing layout, avoid an infinite loop
8678         [bug #652]
8679
8680 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8681
8682         * lyxrc.C (read): treat a viewer or converter command of "none" as
8683         if it were empty.
8684
8685         * MenuBackend.C (expandFormats): for an update, also allow the
8686         formats that are not viewable
8687
8688         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8689         script if it is newer than the lyxrc.defaults in user directory
8690
8691 2002-10-07 André Pönitz <poenitz@gmx.net>
8692
8693         * text.C: Vitaly Lipatov's small i18n fix
8694
8695 2002-09-25  Angus Leeming  <leeming@lyx.org>
8696
8697         * ispell.h: doxygen fix.
8698
8699 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8700
8701         * buffer.h (readFile): Add a new argument to the method, to allow
8702         reading of old-format templates.
8703
8704 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8705
8706         * toc.C (getTocList): Get TOC from InsetWrap.
8707
8708 2002-09-16  John Levon  <levon@movementarian.org>
8709
8710         * lyxfunc.C: check tabular for cut/copy too
8711
8712 2002-09-12  John Levon  <levon@movementarian.org>
8713
8714         * LyXAction.C: tidy
8715
8716         * factory.h:
8717         * factory.C: add header
8718
8719         * paragraph_funcs.h:
8720         * paragraph_funcs.C: cleanup
8721
8722 2002-09-11  John Levon  <levon@movementarian.org>
8723
8724         * PrinterParams.h: odd/even default to true
8725
8726 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8727
8728         * PrinterParams.h: update printer parameters for new xforms dialog
8729
8730 2002-09-11  Angus Leeming  <leeming@lyx.org>
8731
8732         * lyxserver.C (read_ready): re-write to make it more transparent
8733         and to make it work in coherent fashion under Tru64 Unix.
8734
8735 2002-09-11  André Pönitz <poenitz@gmx.net>
8736
8737         * commandtags.h:
8738         * LyXAction.C:
8739         * text3.C: implement LFUN_WORDSEL
8740
8741 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8742
8743         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8744         make floatlist_ a boost::shared_ptr<FloatList>
8745
8746         * lyxtextclass.C: include FloatList.h
8747         (LyXTextClass): initialize floatlist_
8748         (TextClassTags): add TC_NOFLOAT
8749         (Read): match "nofloat" to TC_NOFLOAT and use it.
8750         (readFloat): modify call to floatlist_
8751         (floats): ditto
8752         (floats): ditto
8753
8754         * FloatList.[Ch] (FloatList): remove commented out float
8755         initialization.
8756         (erase): new function
8757
8758 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8759
8760         * MenuBackend.C (expandToc): fix crash when there is no document
8761         open
8762
8763 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8764
8765         * many files: Add insetwrap.
8766
8767 2002-09-09  John Levon  <levon@movementarian.org>
8768
8769         * text2.C: remove confusing and awkward depth wraparound
8770
8771 2002-09-09  John Levon  <levon@movementarian.org>
8772
8773         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8774
8775         * buffer.h:
8776         * buffer.C: remove getIncludeonlyList()
8777
8778         * paragraph.C:
8779         * lyxfunc.C: remove headers
8780
8781 2002-09-09  Juergen Vigna  <jug@sad.it>
8782
8783         * text.C (getColumnNearX): fix form Michael this is most
8784         probably a cut&paste bug.
8785
8786 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8787
8788         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8789
8790         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8791         references, ws changes.
8792
8793         * text2.C (init): update counters after init
8794         (insertParagraph): no need to set counter on idividual paragraphs.
8795         (setCounter): access the counters object in the textclass object
8796         on in the buffer object.
8797         (updateCounters): ditto
8798
8799         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8800         shared_ptr<Counters> to avoid loading counters.h in all
8801         compilation units.
8802         (LyXTextClass): initialize ctrs_
8803         (TextClassTags): add TC_COUNTER, and ...
8804         (Read): use it here.
8805         (CounterTags): new tags
8806         (readCounter): new function
8807         (counters): new funtion
8808         (defaultLayoutName): return a const reference
8809
8810         * counters.C (Counters): remove contructor
8811         (newCounter): remove a couple of unneeded statements.
8812         (newCounter): simplify a bit.
8813         (numberLabel): some small formatting changes.
8814
8815         * buffer.[Ch]: remove all traces of counters, move the Counters
8816         object to the LyXTextClass.
8817
8818 2002-09-06  Alain Castera  <castera@in2p3.fr>
8819
8820         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8821         package to set the horizontal alignment on fixed width columns.
8822
8823         * lyx_sty.C:
8824         * lyx_sty.h: added tabularnewline macro def.
8825
8826         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8827
8828 2002-09-06  John Levon  <levon@movementarian.org>
8829
8830         * LyXAction.C: tooltips for sub/superscript
8831
8832         * MenuBackend.C: a bit more verbose
8833
8834         * lyxfunc.C: tiny clean
8835
8836         * undo_funcs.C: document undo_frozen
8837
8838 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8839
8840         * counters.C (Counters): add missing algorithm counter.
8841
8842         * text2.C (setCounter): lookup the counter with layouts latexname
8843         instead of by section number.
8844         (setCounter): use a hackish way to lookup the correct enum
8845         counter.
8846         a float name->type change
8847         reset enum couners with counter name directly instead of depth value.
8848
8849         * counters.C (Counters): remove the push_backs, change to use the
8850         float type not the float name.
8851         (labelItem): remove unused string, float name->type change
8852
8853         * counters.h: don't include vector, loose the enums and sects vectors
8854
8855 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8856
8857         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8858         (Read): add float->TC_FLOAT to textclassTags
8859         (Read): and handle it in the switch
8860         (readFloat): new function
8861
8862         * FloatList.C (FloatList): comment out the hardcoded float
8863         definitions.
8864
8865         * lyxlayout.h: ws change.
8866
8867 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8868
8869         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8870
8871 2002-09-03  Angus Leeming  <leeming@lyx.org>
8872
8873         * BufferView_pimpl.h: qualified name is not allowed in member
8874         declaration: WorkArea & Pimpl::workarea() const;
8875
8876         * factory.C: added using std::endl directive.
8877
8878         * text3.C: added using std::find and std::vector directives.
8879
8880 2002-08-29  André Pönitz <poenitz@gmx.net>
8881
8882         * lyxtext.h:
8883         * text2.C: remove unused member number_of_rows
8884
8885         * Makefile.am:
8886         * BufferView2.C: remove file, move contents to...
8887         * BufferView.C: ... here
8888
8889         * BufferView_pimpl.C:
8890         * factory.C: move more inset creation to factory
8891
8892         * vspace.C: avoid direct usage of LyXText, ws changes
8893
8894         * BufferView.[Ch]:
8895                 don't provide direct access to WorkArea, use two simple
8896                 acessors haveSelction() and workHeight() instead
8897
8898
8899 2002-08-29  John Levon  <levon@movementarian.org>
8900
8901         * BufferView_pimpl.C (dispatch): do not continue when
8902           no buffer
8903
8904 2002-08-28  André Pönitz <poenitz@gmx.net>
8905
8906         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8907
8908         * BufferView.h:
8909         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8910
8911 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8912
8913         * buffer.C: increment LYX_FORMAT to 221
8914
8915         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8916         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8917
8918         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8919
8920         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8921
8922 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8923
8924         * factory.C (createInset): use LyXTextClass::floats
8925
8926         * MenuBackend.C (expandFloatListInsert):
8927         (expandFloatInsert):
8928         (expandToc):
8929
8930         * text2.C (setCounter):
8931
8932         * LaTeXFeatures.C (useFloat):
8933         (getFloatDefinitions):
8934
8935         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8936
8937         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8938         floatlist_, with accessor floats().
8939
8940         * FloatList.h: remove global FloatList
8941
8942 2002-08-26  André Pönitz <poenitz@gmx.net>
8943
8944         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8945
8946         * BufferView.h:
8947         * BufferView2.C:
8948         * BufferView_pimpl.C:
8949         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8950
8951 2002-08-25  John Levon  <levon@movementarian.org>
8952
8953         * LyXAction.C: fix margin note description
8954
8955 2002-08-24  John Levon  <levon@movementarian.org>
8956
8957         * buffer.C:
8958         * bufferlist.C:
8959         * bufferview_funcs.C:
8960         * lyxfont.C:
8961         * undo_funcs.C: cleanups
8962
8963         * lyxfunc.C: disable CUT/COPY when no selection
8964
8965 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8966
8967         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8968         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8969
8970         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8971         Add backward compatibility to "mono", "gray" and "no".
8972
8973 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8974
8975         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8976         (and file_format >= 200).
8977
8978 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8979
8980         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8981
8982 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8983
8984         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8985
8986 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8987
8988         * BufferView_pimpl.C:
8989         * LyXAction.C:
8990         * buffer.C:
8991         * commandtags.h:
8992         * lyxfunc.C:
8993         * paragraph.[Ch]:
8994         * text2.C:
8995         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8996         inset and code to make it  work with the paragraph code. The inset
8997         can be anywhere in the paragraph, but will only do the expected
8998         thing in LaTeX if the layout file contains the parameter line
8999                         OptionalArgs    1
9000         (or more generally, a nonzero value) for that layout.
9001
9002 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9003
9004         * paragraph.h: remove the declaration of undefined counters class
9005         function.
9006
9007 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9008
9009         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9010         Dr. Richard Hawkins.
9011
9012 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9013
9014         * paragraph_funcs.h: remove some unneeded includes
9015
9016         * text.C (backspace): pasteParagraph now in global scipe
9017
9018         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9019         (pasteSelection): ditto
9020
9021         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9022         * paragraph_funcs.C (pasteParagraph): ... here
9023
9024 2002-08-20  André Pönitz <poenitz@gmx.net>
9025
9026         * commandtags.h: new LFUNs for swapping/copying table row/colums
9027
9028         * LyXAction.C:
9029         * lyxfunc.C: support for new lfuns
9030
9031 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9032
9033         * tabular.C:
9034         * buffer.[Ch]: remove NO_COMPABILITY stuff
9035
9036 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9037
9038         * boost.C (throw_exception): new file, with helper function for
9039         boost compiled without exceptions.
9040
9041         * paragraph.h:
9042         * lyxlength.C:
9043         * buffer.C:
9044         * ParameterStruct.h:
9045         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9046
9047         * bufferlist.C (emergencyWriteAll): use boost bind
9048
9049         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9050
9051         * text.C: include paragraph_funcs.h
9052         (breakParagraph): breakParagraph is now in global scope
9053
9054         * paragraph_funcs.[Ch]: new files
9055
9056         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9057         global scope
9058
9059         * buffer.C: include paragraph_funcs.h
9060         (insertStringAsLines): breakParagraph is now in global scope
9061
9062         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9063         paragraph_funcs.C
9064
9065         * CutAndPaste.C: include paragraph_funcs.h
9066         (cutSelection): breakParagraphConservative is now in global scope
9067         (pasteSelection): ditto
9068
9069         * buffer.h: declare oprator== and operator!= for
9070         Buffer::inset_iterator
9071
9072         * bufferlist.C (emergencyWrite): don't use fmt(...)
9073
9074         * text3.C: add using std::endl
9075
9076         * BufferView.C (moveCursorUpdate): remove default arg
9077
9078 2002-08-20  André Pönitz <poenitz@gmx.net>
9079
9080         * buffer.[Ch]: move inline functions to .C
9081
9082         * BufferView2.C:
9083         * BufferView_pimpl.C:
9084         * text.C:
9085         * buffer.[Ch]: use improved inset_iterator
9086
9087         * buffer.C:
9088         * paragraph.[Ch]: write one paragraph at a time
9089
9090 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9091
9092         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9093         style if style is not specified.
9094
9095 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9096
9097         * text2.C (setCounter): when searching for right label for a
9098         caption, make sure to recurse to parent insets (so that a caption
9099         in a minipage in a figure float works) (bug #568)
9100
9101 2002-08-20  André Pönitz <poenitz@gmx.net>
9102
9103         * text3.C: new file for LyXText::dispatch() and helpers
9104
9105         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9106
9107         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9108
9109 2002-08-19  André Pönitz <poenitz@gmx.net>
9110
9111         * lyxtext.h:
9112         * text.C: new LyXText::dispatch()
9113
9114         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9115
9116 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9117
9118         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9119
9120         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9121         Hebrew text.
9122
9123 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9124
9125         * Makefile.am: use $(variables) instead of @substitutions@
9126
9127 2002-08-15  André Pönitz <poenitz@gmx.net>
9128
9129         * lyxfunc.C:
9130         * BufferView_pimpl.C: streamlining mathed <-> outer world
9131         interaction
9132
9133         * commandtags.h:
9134         * LyXAction.C: remove unused LFUN_MATH
9135
9136 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9137
9138         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9139
9140 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9141
9142         * paragraph.C (Paragraph): reformat a bit
9143         (cutIntoMinibuffer): use builtin InsetList function instad of
9144         doing it manually.
9145         (getInset): ditto
9146
9147         * buffer.C: include boost/bind.hpp, add using std::for_each
9148         (writeFileAscii): use ParagraphList iterators
9149         (validate): use for_each for validate traversal of paragraphs
9150         (getBibkeyList): use ParagraphList iterators
9151         (resizeInsets): use for_each to resizeInsetsLyXText for all
9152         paragraphs.
9153         (getParFromID): use ParagraphList iterators
9154
9155         * BufferView2.C (lockInset): use paragraph list and iterators
9156
9157 2002-08-14  John Levon  <levon@movementarian.org>
9158
9159         * lyxserver.C: remove spurious xforms include
9160
9161 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9162
9163         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9164
9165 2002-08-13  André Pönitz <poenitz@gmx.net>
9166
9167         * LyXAction.[Ch]:
9168         * lyxfunc.C: further cleaning
9169
9170 2002-08-13  André Pönitz <poenitz@gmx.net>
9171
9172         * funcrequest.h: new constructor
9173
9174         * funcrequest.C: move stuff here from .h
9175
9176         * Makefile.am:
9177         * BufferView_pimpl.C:
9178         * LyXAction.C:
9179         * toc.C:
9180         * lyxfunc.C: subsequent changes
9181
9182         * lyxfunc.h: new view() member function
9183
9184         * lyxfunc.C: subsequent changes
9185
9186 2002-08-13  Angus Leeming  <leeming@lyx.org>
9187
9188         * BufferView2.C:
9189         * BufferView_pimpl.C:
9190         * buffer.C:
9191         * converter.C:
9192         * importer.C:
9193         * lyxfunc.C:
9194         * lyxvc.C:
9195         * toc.C:
9196         * vc-backend.C:
9197         changes due to the changed LyXView interface that now returns references
9198         to member variables not pointers.
9199
9200 2002-08-13  Angus Leeming  <leeming@lyx.org>
9201
9202         * WordLangTuple (word, lang_code): return references to strings,
9203         not strings.
9204
9205         * BufferView.h:
9206         * SpellBase.h:
9207         * lyxtext.h: forward-declare WordLangTuple.
9208
9209         * BufferView2.C:
9210         * ispell.C:
9211         * pspell.C:
9212         * text.C: #include "WordLangTuple.h".
9213
9214         * lyxtext.h:
9215         * text.C: (selectNextWordToSpellcheck): constify return type.
9216
9217 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9218
9219         * buffer.C:
9220         * buffer.h:
9221         * lyxtext.h:
9222         * paragraph.C:
9223         * paragraph_pimpl.h:
9224         * text.C:
9225         * text2.C:
9226         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9227         suggested by Angus.
9228         Made updateCounter always count from start of buffer, and removed
9229         second argument (par).
9230         Reverted floats number display to '#'. Perhaps I'll try again when the
9231         code base is sanitized a bit.
9232
9233 2002-08-12  Angus Leeming  <leeming@lyx.org>
9234
9235         * buffer.[Ch] (getLabelList): constify.
9236
9237 2002-08-07  André Pönitz <poenitz@gmx.net>
9238
9239         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9240
9241         * funcrequest.h: extension to keep mouse (x,y) position
9242
9243 2002-08-12  Juergen Vigna  <jug@sad.it>
9244
9245         * BufferView2.C (insertErrors): forbid undo when inserting error
9246         insets.
9247
9248         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9249
9250 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9251
9252         * ParagraphList.[Ch]: new files
9253
9254         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9255
9256         * BufferView2.C (lockInset): ParagraphList changes
9257         * toc.C: ditto
9258         * text2.C: ditto
9259         * bufferlist.C: ditto
9260         * buffer.h: ditto
9261         * buffer.C: ditto
9262
9263 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9264
9265         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9266         unused class variable counter_,
9267
9268         * paragraph.[Ch] (getFirstCounter): delete unused function
9269
9270         * counters.C: include LAssert.h
9271         (reset): add a new function with no arg, change other version to
9272         not have def. arg and to not allow empty arg.
9273
9274         * text2.C (setCounter): remove empty arg from call to Counters::reset
9275
9276 2002-08-11  John Levon  <levon@movementarian.org>
9277
9278         * Makefile.am: add WordLangTuple.h
9279
9280 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9281
9282         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9283         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9284
9285         * insets/insettext.C: InsetList changes
9286
9287         * graphics/GraphicsSupport.C (operator()): InsetList changes
9288
9289         * toc.C (getTocList): InsetList changes
9290
9291         * paragraph_pimpl.[Ch]: InsetList changes
9292
9293         * paragraph.[Ch]: InsetList changes
9294
9295         * buffer.C (inset_iterator): InsetList changes
9296         (setParagraph): ditto
9297         * buffer.h (inset_iterator): ditto
9298         * iterators.C (operator++): ditto
9299         * iterators.h: ditto
9300
9301         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9302
9303         * InsetList.[Ch]: new files, most InsetList handling moved out of
9304         paragraph.C.
9305
9306         * BufferView2.C (removeAutoInsets): InsetList changes
9307         (lockInset): ditto
9308         (ChangeInsets): ditto
9309
9310 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9311
9312         * paragraph_pimpl.h (empty): new function
9313
9314         * paragraph.[Ch] (empty): new function
9315
9316         * other files: use the new Paragraph::empty function
9317
9318 2002-08-09  John Levon  <levon@movementarian.org>
9319
9320         * lyxtext.h: remove unused refresh_height
9321
9322 2002-08-09  John Levon  <levon@movementarian.org>
9323
9324         * Makefile.am:
9325         * sgml.h:
9326         * sgml.C:
9327         * buffer.C:
9328         * paragraph.h:
9329         * paragraph.C: move sgml char escaping out of paragraph
9330
9331         * paragraph.h:
9332         * paragraph.C: remove id setter
9333
9334         * buffer.C:
9335         * paragraph.C:
9336         * paragraph_pimpl.C: remove dead tex_code_break_column
9337
9338         * bufferview_funcs.C: small cleanup
9339
9340         * lyxfunc.C: remove dead proto
9341
9342         * lyxtext.h: make some stuff private. Remove some dead stuff.
9343
9344         * lyxgluelength.C: make as[LyX]String() readable
9345
9346 2002-08-08  John Levon  <levon@movementarian.org>
9347
9348         * LyXAction.h:
9349         * LyXAction.C:
9350         * MenuBackend.C:
9351         * ToolbarDefaults.C:
9352         * lyxfunc.C:
9353         * lyxrc.C:
9354         * toc.C: lyxaction cleanup
9355
9356 2002-08-08  John Levon  <levon@movementarian.org>
9357
9358         * BufferView2.C: small cleanup
9359
9360         * lyxfind.h:
9361         * lyxfind.C: move unnecessary header into the .C
9362
9363 2002-08-08  John Levon  <levon@movementarian.org>
9364
9365         * funcrequest.h: just tedious nonsense
9366
9367         * lyx_main.h:
9368         * lyx_main.C: cleanups
9369
9370         * buffer.C:
9371         * vspace.C: remove dead header lyx_main.h
9372
9373 2002-08-07  Angus Leeming  <leeming@lyx.org>
9374
9375         * Paragraph.[Ch]:
9376         * paragraph_pimpl.h:
9377         Forward declare class Counters in paragraph.h by moving the ctrs member
9378         variable into Paragraph::Pimpl.
9379         (counters): new method, returning a reference to pimpl_->ctrs.
9380
9381         * text2.C: ensuing changes.
9382
9383 2002-08-07  John Levon  <levon@movementarian.org>
9384
9385         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9386
9387         * BufferView_pimpl.C: announce X selection on double/triple
9388           click
9389
9390         * lyx_main.C: use correct bool in batch dispatch
9391
9392         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9393
9394 2002-08-07  André Pönitz <poenitz@gmx.net>
9395
9396         * funcrequest.h: new class to wrap a kb_action and its argument
9397
9398         * BufferView.[Ch]:
9399         * BufferView_pimpl[Ch]:
9400         * LaTeX.C:
9401         * LyXAction.[Ch]:
9402         * lyxfunc.[Ch]:
9403         * lyxrc.C: subsequent changes
9404
9405
9406 2002-08-07  John Levon  <levon@movementarian.org>
9407
9408         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9409           document options change.
9410
9411 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9412
9413         * counters.[Ch]
9414         * text2.C
9415         * paragraph.[Ch]
9416         * makefile.am: move counters functionality over from
9417         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9418
9419 2002-08-06  John Levon  <levon@movementarian.org>
9420
9421         * WordLangTuple.h: new file for word + language code tuple
9422
9423         * SpellBase.h:
9424         * pspell.h:
9425         * pspell.C:
9426         * ispell.h:
9427         * ispell.C:
9428         * lyxtext.h:
9429         * text.C:
9430         * text2.C:
9431         * BufferView.h:
9432         * BufferView2.C: use WordLangTuple
9433
9434         * layout.h:
9435         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9436
9437 2002-08-06  John Levon  <levon@movementarian.org>
9438
9439         * lyx_main.C: fix cmdline batch handling
9440
9441 2002-08-06  André Pönitz <poenitz@gmx.net>
9442
9443         * lyxrc.C: set default for show_banner to true
9444
9445 2002-08-06  John Levon  <levon@movementarian.org>
9446
9447         * pspell.C: fix a crash, and allow new aspell to work
9448
9449 2002-08-06  John Levon  <levon@movementarian.org>
9450
9451         * lyxfunc.C:
9452         * kbmap.C: small cleanup
9453
9454         * vspace.h:
9455         * vspace.C: add const
9456
9457 2002-08-05  John Levon  <levon@movementarian.org>
9458
9459         * LyXAction.C: back to tabular-insert
9460
9461 2002-08-04  John Levon  <levon@movementarian.org>
9462
9463         * BufferView.h:
9464         * BufferView.C: cosmetic change
9465
9466         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9467
9468         * bufferlist.C:
9469         * buffer.h:
9470         * buffer.C:
9471         * lyxcb.h:
9472         * lyxcb.C:
9473         * lyxserver.C:
9474         * lyxvc.C:
9475         * vc-backend.C:
9476         * BufferView2.C: purge all "Lyx" not "LyX" strings
9477
9478         * lyxcursor.h:
9479         * lyxcursor.C: attempt to add some documentation
9480
9481         * lyxfunc.C:
9482         * commandtags.h:
9483         * LyXAction.C:
9484         * ToolbarDefaults.C:
9485         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9486           merge with LFUN_TABULAR_INSERT
9487
9488         * Makefile.am:
9489         * SpellBase.h:
9490         * ispell.h:
9491         * ispell.C:
9492         * pspell.h:
9493         * pspell.C: split up i/pspell implementations into separate
9494           files, many cleanups
9495
9496         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9497
9498         * text2.C: some cleanup
9499
9500         * lyxfunc.C: don't check for isp_command == "none" any more, it
9501           didn't make any sense
9502
9503 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9504
9505         * counters.[Ch]
9506         * text2.C
9507         * paragraph.[Ch]
9508         * makefile.am: move counters functionality over
9509         from text2.C/paragraph.[Ch] to counters.[Ch], and
9510         make proper C++.
9511 2002-08-02  John Levon  <levon@movementarian.org>
9512
9513         * buffer.C: s/lyxconvert/lyx2lyx/
9514
9515 2002-08-02  Angus Leeming  <leeming@lyx.org>
9516
9517         * lyxlex.C: revert John's change as it breaks reading of the user
9518         preamble.
9519
9520 2002-08-02  Angus Leeming  <leeming@lyx.org>
9521
9522         * importer.C (Import):
9523         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9524         changes due to LyXView::view() now returning a boost::shared_ptr.
9525
9526 2002-08-02  John Levon  <levon@movementarian.org>
9527
9528         * lyxlex.C: small cleanup
9529
9530 2002-08-02  John Levon  <levon@movementarian.org>
9531
9532         * text2.C (status): small cleanup, no logic change
9533
9534 2002-08-01  John Levon  <levon@movementarian.org>
9535
9536         * buffer.h:
9537         * buffer.C (writeFile): don't output alerts, caller
9538           handles this
9539
9540         * bufferlist.C:
9541         * lyx_cb.C: from above
9542
9543         * lyxfunc.C: allow to open non-existent files
9544
9545 2002-07-31  John Levon  <levon@movementarian.org>
9546
9547         * lyxserver.C: don't let incidental errors get
9548           in the way (errno)
9549
9550 2002-07-30  John Levon  <levon@movementarian.org>
9551
9552         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9553
9554 2002-07-30  John Levon  <levon@movementarian.org>
9555
9556         * lyxserver.h:
9557         * lyxserver.C: remove I/O callback too
9558
9559 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9560
9561         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9562         log.
9563
9564 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9565
9566         * many files: strip,frontStrip -> trim,ltrim,rtrim
9567
9568 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9569
9570         * PrinterParams.h: remove extern containsOnly, and include
9571         support/lstrings.h instead.
9572
9573         * LaTeX.C (scanAuxFile): modify because of strip changes
9574         (deplog): ditto
9575         * buffer.C (makeLaTeXFile): ditto
9576         * bufferparams.C (writeFile): ditt
9577         * lyxfont.C (stateText): ditto
9578         * lyxserver.C (read_ready): ditto
9579         * vc-backend.C (scanMaster): ditto
9580
9581         * BufferView_pimpl.h: ws changes
9582
9583         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9584
9585 2002-07-26  André Pönitz <poenitz@gmx.net>
9586
9587         * kb_sequence.C: remove unnedred usings
9588
9589 2002-07-26  Juergen Vigna  <jug@sad.it>
9590
9591         * lyxfind.C (LyXReplace): we have to check better if the returned
9592         text is not of theLockingInset()->getLockingInset().
9593
9594 2002-07-25  Juergen Vigna  <jug@sad.it>
9595
9596         * lyxfind.C (LyXReplace): don't replace if we don't get the
9597         right LyXText.
9598
9599         * undo_funcs.C (createUndo): remove debugging code.
9600
9601 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9602
9603         * buffer.C (parseSingleLyXformat2Token): Use default placement
9604         when reading old floats.
9605
9606         * FloatList.C (FloatList): Change the default placement of figure
9607         and tables to "tbp".
9608
9609 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9610
9611         * MenuBackend.C: using std::max
9612
9613 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9614
9615         * MenuBackend.C (expandToc):
9616         (expandToc2): code moved from xforms menu frontend. It is now
9617         generic and TOCs are transparent to menu frontends.
9618
9619 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9620
9621         * toc.C (getTocList): protect against buf=0
9622
9623         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9624         Menu as first parameter. Now, this calls itself recursively to
9625         expand a whole tree (this will be useful for TOC handling)
9626         (expandFloatInsert): remove 'wide' version of floats
9627
9628         * MenuBackend.h (submenuname): returns the name of the submenu.
9629         (submenu): returns the submenu itself, provided it has been
9630         created by MenuBackend::expand
9631
9632 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9633
9634         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9635         insets which have noFontChange == true. (bug #172)
9636
9637 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9638
9639         * BufferView_pimpl.C: add connection objects and use them...
9640         (Pimpl): here.
9641
9642 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9643
9644         * MenuBackend.C (expandLastfiles):
9645         (expandDocuments):
9646         (expandFormats):
9647         (expandFloatListInsert):
9648         (expandFloatInsert):
9649         (expand): split expand in parts
9650
9651 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9652
9653         * lyx_gui.C: use lyx_gui::exit()
9654
9655 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9656
9657         * LyXAction.C: show the failing pseudo action
9658
9659 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9660
9661         * buffer.C (readFile): Run the lyxconvert script in order to read
9662         old files.
9663
9664 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9665
9666         * LyXAction.C:
9667         * commandtags.h:
9668         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9669
9670 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9671
9672         * LyXAction.C:
9673         * commandtags.h:
9674         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9675
9676 2002-07-22  Herbert Voss  <voss@lyx.org>
9677
9678         * lengthcommon.C:
9679         * lyxlength.[Ch]: add support for the vertical lengths
9680
9681 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9682
9683         * toc.[Ch]: std:: fixes
9684
9685 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9686
9687         * lyxrc.C: do not include lyx_main.h
9688
9689         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9690         for layouts
9691
9692         * lyxrc.C:
9693         * encoding.C:
9694         * bufferlist.C:
9695         * BufferView2.C: include "lyxlex.h"
9696
9697         * tabular.h:
9698         * bufferparams.h: do not #include "lyxlex.h"
9699
9700         * lyxtextclasslist.C (Add): remove method
9701         (classlist): renamed to classlist_
9702
9703         * paragraph_pimpl.C:
9704         * paragraph.C:
9705         * text2.C:
9706         * CutAndPaste.C:
9707         * bufferview_funcs.C:
9708         * bufferlist.C:
9709         * text.C:
9710         * LaTeXFeatures.C:
9711         * buffer.C:
9712         * toc.C (getTocList): use BufferParams::getLyXTextClass
9713
9714         * toc.C (getTocList): use InsetFloat::addToToc
9715
9716         * toc.[Ch]: new files, containing helper functions to handle table
9717         of contents
9718
9719         * lyxfunc.C (dispatch): no need to remove spaces around command
9720         given as a string
9721         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9722         first command of the sequence; it is not very clever, but I do not
9723         have a better idea, actually
9724
9725         * LyXAction.C (LookupFunc): make sure to remove space at the
9726         beginning and end of the command
9727
9728 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9729
9730         * MenuBackend.C (getMenubar): new method: return the menubar of
9731         this menu set
9732         (read): treat differently reading of menu and menubar (in
9733         particular, the menubar has no name now)
9734         (Menu::menubar): remove
9735
9736         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9737         saving is finished
9738
9739 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9740
9741         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9742         a bibitem inset in a RTL paragraph.
9743
9744 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9745
9746         * paragraph_pimpl.C: constify
9747
9748         * BufferView_pimpl.C:
9749         * LaTeX.C:
9750         * lyxfunc.C: fix dispatch in a nicer way
9751
9752 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9753
9754         * lyxfunc.C (dispatch):
9755         * BufferView_pimpl.C:
9756         * BufferView_pimpl.h:
9757         * BufferView.C:
9758         * BufferView.h: rename Dispatch() to dispatch()
9759
9760         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9761
9762         * lyxlayout.C (Read): honor DependsOn tag
9763
9764         * lyxlayout.[Ch] (depends_on): new method
9765
9766         * version.C.in: update lyx_docversion
9767
9768         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9769
9770         * paragraph.C (validate): remove from here...
9771         * paragraph_pimpl.C (validate): ... and move here
9772         (isTextAt): make it const
9773
9774         * buffer.C (getLists): ws cleanup
9775
9776 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9777
9778         * language.C (read): Use iso8859-1 encoding in latex_lang
9779         (this prevents LyX from crashing when using iso10646-1 encoding).
9780
9781 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9782
9783         * text2.C (toggleInset): if cursor is inside an inset, close the
9784         inset and leave cursor _after_ it
9785
9786 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9787
9788         * lyxfunc.C: move minibuffer completion handling out of here
9789
9790 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9791
9792         * BufferView_pimpl.C:
9793         * LaTeX.C: fix dispatch calls
9794
9795 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9796
9797         * text.C (drawChars): Fix Arabic text rendering.
9798
9799 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9800
9801         * LyXAction.C:
9802         * commandtags.h:
9803         * lyxfunc.C: remove message-push/pop
9804
9805         * lyxserver.C:
9806         * lyxfunc.h:
9807         * lyxfunc.C: rationalise some code by removing verboseDispatch
9808           in favour of a bool argument to dispatch()
9809
9810 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9811
9812         * lyx_main.C (init): make sure to read symlinks as absolute paths
9813
9814 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9815
9816         * lyxfunc.h:
9817         * lyxfunc.C: no need for commandshortcut to be a member
9818
9819 2002-07-15  André Pönitz <poenitz@gmx.net>
9820
9821         * converter.C: add support for $$s (scripts from lib/scripts dir)
9822         * lyx_main.C: white space
9823
9824 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9825
9826         * bufferlist.C:
9827         * lyxrc.h:
9828         * lyxrc.C: remove second exit confirmation
9829
9830 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9831
9832         * BufferView.h:
9833         * BufferView.C:
9834         * BufferView2.C:
9835         * BufferView_pimpl.h:
9836         * BufferView_pimpl.C:
9837         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9838
9839 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9840
9841         * MenuBackend.C (expand): add numeric shortcuts to document menu
9842
9843         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9844
9845 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9846
9847         * lyxfont.C (setLyXFamily):
9848         (setLyXSeries):
9849         (setLyXShape):
9850         (setLyXSize):
9851         (setLyXMisc):
9852         (lyxRead):
9853         * debug.C (value):
9854         * buffer.C (asciiParagraph): use ascii_lowercase
9855
9856 2002-07-15  Mike Fabian  <mfabian@suse.de>
9857
9858         * lyxlex_pimpl.C (search_kw):
9859         * lyxlex.C (getLongString):
9860         * converter.h (operator<):
9861         * converter.C (operator<):
9862         * buffer.C (parseSingleLyXformat2Token):
9863         (asciiParagraph):
9864         * ToolbarDefaults.C (read):
9865         * MenuBackend.C (checkShortcuts):
9866         (read):
9867         * LColor.C (getFromGUIName):
9868         (getFromLyXName): use the compare_ascii_no_case instead of
9869         compare_no_case, because in turkish, 'i' is not the lowercase
9870         version of 'I', and thus turkish locale breaks parsing of tags.
9871
9872 2002-07-16  Angus Leeming  <leeming@lyx.org>
9873
9874         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9875         now takes a Buffer const & argument.
9876
9877 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9878
9879         * BufferView.C (resize): check there's a buffer to resize
9880
9881 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9882
9883         * lyxfunc.C: remove dead code
9884
9885         * lyxserver.h:
9886         * lyxserver.C: use lyx_guii::set_read_callback
9887
9888 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9889
9890         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9891         an inset in a RTL paragraph.
9892
9893 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9894
9895         * lyxfunc.C: repaint after a font size update
9896
9897 2002-07-15  André Pönitz <poenitz@gmx.net>
9898
9899         * lyxlength.C: inBP should be able to return negative values
9900
9901 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9902
9903         * lyxfunc.C: use lyx_gui::update_fonts()
9904
9905 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9906
9907         * lyxfunc.C: use lyx_gui::update_color()
9908
9909 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9910
9911         * bufferlist.C:
9912         * lyxfunc.h:
9913         * lyxfunc.C:
9914         * lyxrc.h:
9915         * lyxrc.C: remove file->new asks for name option, and let
9916           buffer-new take an argument
9917
9918 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9919
9920         * BufferView_pimpl.C: remove unneeded extra repaint()
9921
9922 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9923
9924         * LyXAction.C: allow command-sequence with NoBuffer
9925
9926         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9927
9928 2002-07-10  Angus Leeming  <leeming@lyx.org>
9929
9930         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9931
9932 2002-07-09  Angus Leeming  <leeming@lyx.org>
9933
9934         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9935
9936 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9937
9938         * lengthcommon.h: whitespace
9939
9940         * lyxfunc.C: update scrollbar after goto paragraph
9941
9942         * lyxtext.h: factor out page break drawing, and fix it so
9943           page break/added space paints as selected nicely
9944
9945 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9946
9947         * BufferView_pimpl.C: add FIXMEs, clean up a little
9948
9949 2002-07-09  André Pönitz <poenitz@gmx.net>
9950
9951         * lyxfont.[Ch]: support for wasy symbols
9952
9953 2002-07-08  André Pönitz <poenitz@gmx.net>
9954
9955         * BufferView_pimpl.C: apply John's patch for #93.
9956
9957 2002-07-05  Angus Leeming  <leeming@lyx.org>
9958
9959         * BufferView_pimpl.C (buffer): generate previews if desired.
9960
9961         * LColor.h: add "preview" to the color enum.
9962
9963         * LColor.C (LColor): add a corresponding entry to the items array.
9964
9965         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9966         with this buffer.
9967
9968 2002-07-05  Angus Leeming  <leeming@lyx.org>
9969
9970         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9971         The body of the code is now in the method that is passed an ostream &
9972         rather than a file name.
9973         Pass an additional only_preamble parameter, useful for the forthcoming
9974         preview stuff.
9975
9976 2002-07-03  André Pönitz <poenitz@gmx.net>
9977
9978         * lyxfunc.C: simplify getStatus() a bit for math stuff
9979
9980 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9981
9982         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9983
9984 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9985
9986         * text.C (changeRegionCase): do not change case of all the
9987         document when region ends at paragraph end (bug #461)
9988
9989 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9990
9991         * paragraph.C (startTeXParParams):
9992         (endTeXParParams): add \protect when necessary
9993
9994 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9995
9996         * BufferView_pimpl.C (workAreaExpose): remove warning
9997
9998 2002-06-27  Angus Leeming  <leeming@lyx.org>
9999
10000         * Makefile.am: add lyxlayout_ptr_fwd.h.
10001
10002 2002-06-26  André Pönitz <poenitz@gmx.net>
10003
10004         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10005
10006 2002-06-25  Angus Leeming  <leeming@lyx.org>
10007
10008         * lyxfunc.C (dispatch): Comment out the call to
10009         grfx::GCache::changeDisplay. The method no longer exists now that the
10010         pixmap generation part of the graphics loader has been moved into
10011         InsetGraphics.
10012
10013 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10014
10015         * text2.C: layout as layout
10016
10017         * text.C: layout as layout
10018
10019         * tabular.C (OldFormatRead): layout as layout
10020
10021         * paragraph_pimpl.C (TeXDeeper): layout as layout
10022         (realizeFont): layout as layout
10023
10024         * paragraph.C (writeFile): layout as layout
10025         (validate): layout as layout
10026         (getFont): layout as layout
10027         (getLabelFont): layout as layout
10028         (getLayoutFont): layout as layout
10029         (breakParagraph): layout as layout
10030         (stripLeadingSpaces): layout as layout
10031         (getEndLabel): layout as layout
10032         (getMaxDepthAfter): layout as layout
10033         (applyLayout): layout as layout
10034         (TeXOnePar): layout as layout
10035         (simpleTeXOnePar): layout as layout
10036         (TeXEnvironment): layout as layout
10037         (layout): layout as layout
10038         (layout): layout as layout
10039
10040         * lyxtextclass.C (compare_name): new functor to work with
10041         shared_ptr, layout as layout
10042         (Read): layout as layout
10043         (hasLayout): layout as layout
10044         (operator): layout as layout
10045         (delete_layout): layout as layout
10046         (defaultLayout): layout as layout
10047
10048         * lyxlayout_ptr_fwd.h: new file
10049
10050         * lyxlayout.C (Read): layout as layout
10051
10052         * lyx_cb.C (MenuInsertLabel): layout as layout
10053
10054         * bufferlist.C (newFile): layout as layout
10055
10056         * buffer.C (readLyXformat2): layout as layout
10057         (parseSingleLyXformat2Token): layout as layout
10058         (insertStringAsLines): layout as layout
10059         (asciiParagraph): layout as layout
10060         (latexParagraphs): layout as layout
10061         (makeLinuxDocFile): layout as layout
10062         (simpleLinuxDocOnePar): layout as layout
10063         (makeDocBookFile): layout as layout
10064         (simpleDocBookOnePar): layout as layout
10065         (getLists): layout as layout
10066
10067         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10068
10069         * CutAndPaste.C (cutSelection): layout as layout
10070         (pasteSelection): layout as layout
10071         (SwitchLayoutsBetweenClasses): layout as layout
10072
10073         * BufferView_pimpl.C (Dispatch): layout as layout
10074         (smartQuote): layout as layout
10075
10076         * BufferView2.C (unlockInset): layout as layout
10077
10078 2002-06-24  André Pönitz <poenitz@gmx.net>
10079
10080         * lyxfunc.C: fix #487
10081
10082 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10083
10084         * lyxrc.h:
10085         * lyxrc.C:
10086         * lyxfunc.C: remove display_shortcuts, show_banner
10087
10088 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10089
10090         * Buffer_pimpl.C: oops, update on resize
10091
10092 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10093
10094         * buffer.C:
10095         * converter.C:
10096         * exporter.C:
10097         * lyxfunc.C:
10098         * BufferView.h:
10099         * BufferView.C: use repaint()
10100
10101         * BufferView_pimpl.h:
10102         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10103           as it's a clearer description. Remove superfluous
10104           redraws.
10105
10106 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10107
10108         * text.C: fix bug 488. Not ideal, but getting
10109           getWord() to work properly for the insets that
10110           matter is more difficult ...
10111
10112 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10113
10114         * BufferView_pimpl.C:
10115         * LyXAction.C:
10116         * commandtags.h:
10117         * lyxfunc.C: remove the six million index lyxfuncs to just
10118           one, and DTRT (bug 458)
10119
10120 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10121
10122         * BufferView.h:
10123         * BufferView.C:
10124         * BufferView_pimpl.h:
10125         * BufferView_pimpl.C: clean up resize() stuff,
10126           and unnecessary updateScreen()s
10127
10128 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10129
10130         * BufferView.h:
10131         * BufferView.C:
10132         * BufferView_pimpl.h:
10133         * BufferView_pimpl.C:
10134         * lyxfind.h:
10135         * lyxfind.C:
10136         * minibuffer.C: remove focus management of workarea,
10137           not needed. Use screen's greyOut()
10138
10139 2002-06-17  Herbert Voss  <voss@lyx.org>
10140
10141         * converter.C: (convert) do not post a message, when converting
10142         fails, let the calling function decide what to do in this case
10143
10144 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10145
10146         * lyxfunc.C: tidy up a little
10147
10148 2002-06-16    <alstrup@diku.dk>
10149
10150         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10151         Got rid of FORMS_H_LOCATION include. Now we are
10152         GUII.
10153
10154 2002-06-15  LyX Development team  <lyx@rilke>
10155
10156         * buffer.[Ch] (sgmlOpenTag):
10157         (sgmlCloseTag): Added support for avoiding pernicious mixed
10158         content. Return number of lines written.
10159
10160         (makeLinuxDocFile):
10161         (makeDocBookFile): Fixed calls to sgml*Tag.
10162         Simple white space clean.
10163
10164         (simpleDocBookOnePar): Simple white space clean.
10165
10166         * tabular.[Ch] (docBook): Renamed to docbook and got another
10167         argument to related with the pernicious mixed content.
10168
10169         (docbookRow): Fixed calls for docbook inset method.
10170
10171 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10172
10173         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10174         so it's X11 independent.
10175
10176         * kb*.[Ch]: ditto.
10177
10178         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10179
10180 2002-06-15  Lyx Development team  <lyx@electronia>
10181
10182         * intl.h: Renamed getTrans to getTransManager.
10183
10184 2002-06-14  Angus Leeming  <leeming@lyx.org>
10185
10186         * Makefile.am: nuke forgotten stl_string_fwd.h.
10187
10188 2002-06-12  Angus Leeming  <leeming@lyx.org>
10189
10190         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10191
10192 2002-06-13  Angus Leeming  <leeming@lyx.org>
10193
10194         * LaTeX.C:
10195         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10196
10197 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10198
10199         * kbmap.C (getiso): add support for cyrillic and greek
10200
10201 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10202
10203         * BufferView.h:
10204         * BufferView.C:
10205         * BufferView_pimpl.h:
10206         * BufferView_pimpl.C: move bogus scrolling logic
10207           to xforms
10208
10209 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10210
10211         * lyxfunc.C:
10212         * BufferView_pimpl.C: view->resize() change
10213
10214 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10215
10216         * BufferView_pimpl.C: topCursorVisible
10217           prototype change
10218
10219 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10220
10221         * Makefile.am:
10222         * lyx_gui.h:
10223         * lyx_gui.C: move to frontends/
10224
10225         * main.C:
10226         * lyx_main.h:
10227         * lyx_main.C: changes from above
10228
10229 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10230
10231         * intl.C:
10232         * intl.h:
10233         * kbmap.C:
10234         * kbsequence.C:
10235         * lyx_cb.C:
10236         * lyx_main.C: minor tidy
10237
10238 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10239
10240         * BufferView_pimpl.h:
10241         * BufferView_pimpl.C:
10242         * BufferView.h:
10243         * BufferView.C: make painter() const,
10244           remove dead code
10245
10246         * BufferView2.C: use screen() accessor
10247
10248         * lyx_main.h:
10249         * lyx_main.C: some minor cleanup
10250
10251 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10252
10253         * BufferView_pimpl.h:
10254         * BufferView_pimpl.C: remove enter/leaveView,
10255           use workHeight()
10256
10257 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10258
10259         * BufferView.h:
10260         * BufferView.C:
10261         * BufferView2.C:
10262         * BufferView_pimpl.h:
10263         * BufferView_pimpl.C: only construct screen once,
10264           rename
10265
10266         * lyxrc.C: remove pointless comment
10267
10268 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10269
10270         * BufferView.h:
10271         * BufferView.C: remove active() and belowMouse()
10272
10273         * BufferView_pimpl.h:
10274         * BufferView_pimpl.C: use workarea() not workarea_,
10275           and make it use a scoped_ptr instead
10276
10277 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10278
10279         * lyx_gui.C: add debug message on BadWindow
10280
10281 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10282
10283         * sp_spell.C: fdopen is not part of the C++ standard.
10284
10285         * paragraph.C (InsetIterator): use >= instead of ==
10286
10287 2002-06-07  Angus Leeming  <leeming@lyx.org>
10288
10289         Fixes needed to compile with Compaq cxx 6.5.
10290         * BufferView_pimpl.C:
10291         * DepTable.C:
10292         * buffer.C:
10293         * converter.C:
10294         * encoding.C:
10295         * lyx_gui.C:
10296         * lyx_main.C:
10297         * lyxtextclasslist.C:
10298         * minibuffer.C:
10299         * sp_spell.C:
10300         * tabular_funcs.C:
10301         * vc-backend.C:
10302         all c-library variables have been moved into namespace std. Wrap
10303         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10304
10305         * lyxlength.C:
10306         * tabular-old.C:
10307         * tabular.C:
10308         Add a using std::abs declaration.
10309
10310         * kbmap.h (modifier_pair):
10311         * paragraph.h (InsetTable, InsetList):
10312         * lyxfont.h (FontBits):
10313         type definition made public.
10314
10315         * bufferlist.C (emergencyWriteAll): the compiler complains that
10316         there is more than one possible lyx::class_fun template to choose from.
10317         I re-named the void specialisation as lyx::void_class_fun.
10318
10319         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10320
10321         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10322         the compiler is is unable to find tostr in write_attribute.
10323
10324 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10325
10326         * buffer.C (sgmlError): hide #warning
10327
10328 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10329
10330         * xtl/*: get rid of xtl, which is not in use anyway
10331
10332         * LyXAction.C (init):
10333         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10334         were unimplemented xtl experimentation
10335
10336 2002-06-04  André Pönitz <poenitz@gmx.net>
10337
10338         * lyxfunc.C: disable array operation on simple formulae
10339
10340 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10341
10342         * converter.C: constify a bit
10343
10344 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10345
10346         * lyx_gui.C: check xforms version correctly
10347
10348 2002-04-30  Herbert Voss  <voss@lyx.org>
10349
10350         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10351         "keep" option
10352
10353 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10354
10355         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10356           attempt to register it with a VCS)
10357
10358 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10359
10360         * lyx_main.C (init): honor variables LYX_DIR_13x and
10361         LYX_USERDIR_13x
10362
10363 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10364
10365         * buffer.h:
10366         * buffer.C:
10367         * lyx_main.C: fix a crash on bad command line,
10368           and give a useful exit status on error
10369
10370         * lyxfunc.C (doImport): allow -i lyx to work
10371
10372 2002-03-30  André Pönitz <poenitz@gmx.net>
10373
10374         * lyxfunc.C: mathed font changes
10375
10376 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10377
10378         * LaTeX.C:
10379         * importer.h:
10380         * importer.C:
10381         * lyx_sty.h:
10382         * lyx_sty.C:
10383         * lyxlex.C:
10384         * lyxrow.h:
10385         * lyxtext.h:
10386         * paragraph.h:
10387         * paragraph.C:
10388         * texrow.h:
10389         * texrow.C:
10390         * text.C:
10391         * trans_mgr.h: srcdocs, and some minor cleanups
10392
10393 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10394
10395         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10396         call getFont all the time)
10397
10398 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10399
10400         * switch from SigC signals to boost::signals
10401
10402 2002-05-29  André Pönitz <poenitz@gmx.net>
10403
10404         * paragraph_pimpl.C (getChar): don't call size() too often...
10405
10406 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10407
10408         * paragraph_pimpl.C (insertChar): do not try to update tables when
10409         appending (pos == size())
10410
10411         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10412         in order to reduce drastically the number of comparisons needed to
10413         parse a large document
10414
10415 2002-05-29  André Pönitz <poenitz@gmx.net>
10416
10417         * text.C:
10418         * text2.C:
10419         * lyxtextclass.C:
10420         * sp_pspell.h:
10421         * textclasslist.[Ch]:
10422         * sp_ispell.h: whitespace change
10423
10424 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10425
10426         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10427         lyxaction directly now.
10428
10429 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10430
10431         * trans.C:
10432         * lyxfont.C:
10433         * lyxvc.C: remove unused headers
10434
10435 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10436
10437         * Makefile.am:
10438         * buffer.h:
10439         * undostack.h:
10440         * undostack.C:
10441         * undo_funcs.h:
10442         * undo_funcs.C: some cleanups. Use shared_ptr
10443           and a template for the undo stacks.
10444
10445 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10446
10447         * BufferView_pimpl.h:
10448         * BufferView_pimpl.C:
10449         * kbmap.h:
10450         * kbmap.C:
10451         * kbsequence.h:
10452         * kbsequence.C:
10453         * lyxfunc.h:
10454         * lyxfunc.C:
10455         * text2.C: use key_state/mouse_state
10456
10457 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10458
10459         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10460         and LSubstring
10461
10462         * chset.C: change include order
10463         (loadFile): use boost regex and get rid of LRegex and LSubstring
10464
10465         * Makefile.am (BOOST_LIBS): new variable
10466         (lyx_LDADD): use it
10467
10468         * LaTeX.C: change include order.
10469         (scanAuxFile): use boost regex and get rid of LRegex and
10470         LSubstring
10471         (deplog): ditto
10472
10473 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10474
10475         * ColorHandler.h:
10476         * ColorHandler.C:
10477         * FontInfo.h:
10478         * FontInfo.C: moved to frontends/xforms/
10479
10480         * FontLoader.h:
10481         * FontLoader.C: moved into frontends for GUIIzation
10482
10483         * Makefile.am:
10484         * lyx_gui.C:
10485         * lyxfont.C:
10486         * lyxfunc.C: changes from above
10487
10488 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10489
10490         * LColor.C: remove spurious X include
10491
10492         * BufferView_pimpl.C:
10493         * Makefile.am:
10494         * font.h:
10495         * font.C:
10496         * text.C:
10497         * text2.C: move font metrics to frontends/
10498
10499 2002-05-24  Juergen Vigna  <jug@sad.it>
10500
10501         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10502         setting the undo_cursor.
10503
10504         * ParagraphParameters.h: include local includes first.
10505
10506 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10507
10508         * BufferView_pimpl.C:
10509         * BufferView_pimpl.h:
10510         * Makefile.am:
10511         * WorkArea.h:
10512         * WorkArea.C:
10513         * screen.C: move WorkArea into frontends/
10514
10515         * lyxscreen.h:
10516         * screen.C:
10517         * text.C:
10518         * BufferView.C:
10519         * BufferView2.C: move LyXScreen into frontends/
10520
10521         * lyxlookup.h:
10522         * lyxlookup.C:
10523         * lyx_gui.C: move lyxlookup into frontends/xforms/
10524
10525 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10526
10527         * BufferView2.C:
10528         * BufferView_pimpl.C:
10529         * FontLoader.C:
10530         * LyXView.h:
10531         * LyXView.C:
10532         * Makefile.am:
10533         * WorkArea.C:
10534         * XFormsView.h:
10535         * XFormsView.C:
10536         * buffer.C:
10537         * bufferlist.C:
10538         * bufferview_funcs.C:
10539         * converter.C:
10540         * importer.C:
10541         * lyx_cb.C:
10542         * lyx_gui.C:
10543         * lyx_main.C:
10544         * lyx_find.C:
10545         * lyxfunc.C:
10546         * lyxvc.C:
10547         * minibuffer.C:
10548         * text.C:
10549         * text2.C:
10550         * trans.C:
10551         * vc-backend.C: move LyX/XFormsView into frontends/
10552
10553 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10554
10555         * Makefile.am:
10556         * PainterBase.C:
10557         * PainterBase.h:
10558         * Painter.C:
10559         * Painter.h:
10560         * WorkArea.C:
10561         * WorkArea.h:
10562         * screen.C:
10563         * tabular.C:
10564         * text.C:
10565         * text2.C: move Painter to frontends/
10566
10567 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10568
10569         * buffer.C: comment out some some code that depend upon lyx_format
10570         < 220
10571
10572         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10573         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10574
10575         * buffer.h (NO_COMPABILITY): turn off compability
10576
10577         * ColorHandler.C: include scoped_array.hpp
10578
10579         * font.C: Use more specific smart_ptr header.
10580         * Painter.C: ditto
10581         * gettext.C: ditto
10582         * ShareContainer.h: ditto
10583         * lyx_main.h: ditto
10584         * kbmap.h: ditto
10585         * FontInfo.h: ditto
10586         * BufferView_pimpl.h: ditto
10587         * ColorHandler.h: ditto
10588
10589         * kbmap.C (defkey): change call to shared_ptr::reset
10590
10591 2002-05-21  Juergen Vigna  <jug@sad.it>
10592
10593         * buffer.C (insertErtContents): fix to insert ert asis if it is
10594         non empty. Skip it completely if it contains only whitespaces.
10595
10596 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10597
10598         * BufferView_pimpl.C:
10599         * BufferView2.C: clear selection on paste (bug 393)
10600
10601 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10602
10603         * DepTable.C: include ctime
10604
10605 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10606
10607         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10608
10609 2002-05-14  Juergen Vigna  <jug@sad.it>
10610
10611         * text.C (breakParagraph): fixed function to honor the keepempty
10612         layout in the right maner and also to permit the right breaking
10613         algorithm on empty or non empyt keepempty paragraphs.
10614
10615         * paragraph.C (breakParagraph): we have to check also if the par
10616         is really empty (!size()) for isempty otherwise we do the wrong
10617         paragraph break.
10618
10619 2002-05-10  Juergen Vigna  <jug@sad.it>
10620
10621         * buffer.[Ch] : The following are only changes to the ert
10622         compatibility read reading old LaTeX layout and font stuff and
10623         convert it to ERTInsets.
10624
10625         * buffer.h: added isErtInset().
10626
10627         * buffer.C (struct ErtComp): add a fromlayout bool to check
10628         if we're inside a LaTeX layout.
10629         (isErtInset): new helper function.
10630         (insertErtContents): look for other ert insets before this one
10631         and insert the contents there, so that we don't have subsequent
10632         ERT insets with nothing between them. This way we create only one
10633         inset with multiple paragraphs. Also check if we don't insert only
10634         spaces ' ' as they are ignored anyway afterwards in the .tex file
10635         so if we have only spaces we will ignore this latex part in the
10636         new file.
10637         (parseSingleLyXformat2Token \\layout): better compatibility when
10638         reading layout-latex stuff.
10639         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10640         language tag.
10641         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10642         stuff after reading the inset only get the information back from
10643         the stack.
10644
10645 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10646
10647         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10648
10649         * LaTeXFeatures.C (getBabelOptions): New method.
10650
10651 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10652
10653         * BufferView_pimpl.C (Dispatch): work around missing argument for
10654         'layout'
10655
10656 2002-05-08  Juergen Vigna  <jug@sad.it>
10657
10658         * text.C (leftMargin): handle paragraph leftindent.
10659
10660         * paragraph.C (writeFile): write the new \\leftindent tag.
10661         (validate): handle leftindent code.
10662         (TeXEnvironment): handle paragraphleftindent code again.
10663
10664         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10665
10666         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10667         for paragrap_extra indent code and new token \\leftindent.
10668         (latexParagraphs): handle the leftindent as environment.
10669
10670         * ParameterStruct.h: added leftindent support.
10671
10672         * ParagraphParameters.C (leftIndent): added support functions for
10673         the paragraph left indent.
10674
10675         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10676         more appropriate.
10677
10678 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10679
10680         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10681         inside insetERT.
10682
10683         * text.C (computeBidiTables): No bidi in insetERT.
10684
10685         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10686         in RTL documents.
10687
10688 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10689
10690         * version.C.in: pre 5
10691
10692 2002-05-02  José Matos  <jamatos@fep.up.pt>
10693         * buffer.C (makeDocBookFile): white space changes, add newline to
10694         command styles.
10695         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10696
10697         * tabular.C (docBook): fix typo.
10698
10699 2002-05-03  Juergen Vigna  <jug@sad.it>
10700
10701         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10702         change in LyXText as we can not be sure it was not freed.
10703         (drawOneRow): remove unused code.
10704
10705         * text.C (drawInset): redo the calculation of the need_break_row as
10706         it could have a row which was already freed.
10707         (draw): look at the return value of drawInset and return false if
10708         it also returned false.
10709         (paintRowText): look at the return value of draw and return false if
10710         it also returned false.
10711
10712         * lyxtext.h: added bool return type to drawInset() and draw() so that
10713         if we have a change in the row so that the rowbreak has to be redone
10714         we abort drawing as it will be called again.
10715
10716 2002-05-02  Juergen Vigna  <jug@sad.it>
10717
10718         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10719         a change in the maintext also if we're inside an inset.
10720         (Dispatch): set the cursor again after a break line and after the
10721         screen has been updated as it could be we're in a different row.
10722
10723         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10724         to set the cursor behind the pargraph with > size().
10725         (setCursor): check also for the same paragraph when checking where
10726         to put the cursor if we have a NFR inset.
10727
10728         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10729         parts of layout read further up as it still was in the wrong
10730         position.
10731
10732 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10733
10734         * screen.C (drawFromTo): change sine fullRebreak always return
10735         true.
10736
10737         * buffer.C (parseSingleLyXformat2Token): reindent some
10738
10739         * BufferView_pimpl.C (update): change since fullRebreak always
10740         return true.
10741         (Dispatch): git rid of the last hardcoded "Standard"s.
10742
10743 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10744
10745         * text2.[Ch] (fullRebreak): make it return void now that we always
10746         returned true.
10747
10748 2002-04-30  Juergen Vigna  <jug@sad.it>
10749
10750         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10751         ert compatibility check for "latex" layout.
10752
10753 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10754
10755         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10756         minipages: use col% instead of p%, and also use the current font.
10757         (makeLaTeXFile): Fix use babel condition.
10758         (parseSingleLyXformat2Token): Correct font when reading old floats.
10759
10760 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10761
10762         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10763         inserting list of floats.
10764
10765 2002-04-25  Herbert Voss  <voss@lyx.org>
10766
10767         * MenuBackend.C (expand): don't add the graphics extensions to the
10768         export menu
10769
10770 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10771
10772         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10773         non-existing layout, do not complain if it was the default layout
10774         of the original class (bug #342)
10775
10776 2002-04-24  Juergen Vigna  <jug@sad.it>
10777
10778         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10779         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10780
10781 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10782
10783         * buffer.C (getBibkeyList): If using \bibliography, return the
10784         option field with the reference itself. Enables us to provide natbib
10785         support when using \bibliography.
10786
10787 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10788
10789         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10790
10791         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10792         natbib is provided by the LaTeX class.
10793
10794 2002-04-23  Juergen Vigna  <jug@sad.it>
10795
10796         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10797         Wakeup functions.
10798
10799         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10800
10801 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10802
10803         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10804
10805         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10806         ensuremath around textordmasculine, textordfeminine and
10807         textdegree.
10808
10809 2002-04-19  Juergen Vigna  <jug@sad.it>
10810
10811         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10812         reinitializing the buffer otherwise row-dimensions may be wrong.
10813         (update): reset also the selection cursors if they do exits otherwise
10814         their x/y positions may be wrong.
10815
10816         * text2.C (cursorDown): don't enter the inset if we came from a row
10817         above and are one row over the inset.
10818
10819         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10820         really leaving an inset.
10821
10822 2002-04-18  Juergen Vigna  <jug@sad.it>
10823
10824         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10825         of the selected paragraph does not have the selected layout also if
10826         the last one had!
10827
10828         * text2.C (setLayout): fixed bug which did not change last selected
10829         paragraph.
10830
10831         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10832         changed the read and substituted \\end_float with \\end_inset!
10833
10834         * BufferView_pimpl.C (cursorPrevious):
10835         (cursorNext): fixed to make it work with rows heigher than the work
10836         area without moving the cursor only the draw of the row.
10837         (workAreaMotionNotify): fix jumping over high rows.
10838
10839 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10840
10841         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10842         Ressler.
10843
10844 2002-04-16  Juergen Vigna  <jug@sad.it>
10845
10846         * text2.C (setCursor): set also the irow().
10847         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10848         (cursorUp):
10849         (cursorDown): support for locking an inset if the x_fix value goes
10850         inside it. That way I can transverse insets too with cursor up/down.
10851
10852         * lyxrow.h: added irow helper function same as other (i) functions.
10853
10854         * BufferView_pimpl.C (cursorPrevious):
10855         (cursorNext): fixed for insets!
10856
10857 2002-04-15  Juergen Vigna  <jug@sad.it>
10858
10859         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10860         position otherwise it is wrong in some cases.
10861
10862         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10863         inside the inset before the call.
10864
10865 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10866
10867         * buffer.[Ch] (getBibkeyList): make it const.
10868
10869 2002-04-12  Juergen Vigna  <jug@sad.it>
10870
10871         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10872
10873         * text2.C (getCursorX): new helper function
10874         (setCursor): compute also ix_
10875         (setCursorFromCoordinates): set also ix.
10876
10877         * lyxcursor.h: added ix_ and helper functions.
10878
10879         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10880
10881         * buffer.C (insertStringAsLines): dont break paragraph if the this
10882         paragraph is inside an inset which does not permit it!
10883
10884         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10885         also with no chars on this paragraph.
10886         (paintRowText): only paint stuff if it's inside the workarea!
10887
10888         * paragraph.C (breakParagraph): honor keepempty flag and break the
10889         paragraph always below not above.
10890
10891         * BufferView2.C (unlockInset): update the paragraph layout on inset
10892         unlock as we changed paragraph in such a case.
10893
10894         * lyxfind.C (LyXFind): clear the former selection if not found!
10895
10896         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10897         again called in insertChar().
10898
10899         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10900         an inset which uses the whole row!
10901         (rightMargin): ditto.
10902         (insertChar): force a rebreak if we inserted an inset!
10903
10904 2002-03-28  Herbert Voss  <voss@lyx.org>
10905
10906         * lyxlength.[Ch]: add inBP() to get the right PS-point
10907         units (BigPoint). With inPixels we have rounding errors
10908
10909 2002-04-11  Juergen Vigna  <jug@sad.it>
10910
10911         * text2.C (setCursorFromCoordinates): set iy to the right value.
10912         (setCursor): add check if row->previous exists!
10913
10914         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10915         an old float_type as this was the case in the old code!
10916
10917         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10918
10919         * BufferView2.C (showLockedInsetCursor): use iy
10920         (fitLockedInsetCursor): ditto
10921
10922         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10923         locked insets as there we have the right value now.
10924
10925         * lyxcursor.C: added iy_ variable and iy functions to set to the
10926         baseline of cursor-y of the locked inset.
10927
10928         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10929         (setCursor): fixed for insets which need a full row.
10930
10931         * text.C (rowLastPrintable): don't ignore the last space when before
10932         an inset which needs a full row.
10933         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10934         as last character of a row when before a inset which needs a full row.
10935
10936 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10937
10938         * version.C.in: update date
10939
10940         * text2.C (fullRebreak): try to always return true and see what
10941         happens...
10942
10943 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10944
10945         * MenuBackend.C (expand): use Floating::listName
10946
10947         * FloatList.C (FloatList): add listName argument to the built-in
10948         floats
10949
10950         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10951         text associated with the float.
10952
10953 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10954
10955         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10956
10957 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10958
10959         * ShareContainer.h: add a couple of missing typenames.
10960
10961 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10962
10963         * lyxrc.C (getDescription): use _() correctly rather than N_().
10964
10965 2002-03-28  Herbert Voss  <voss@lyx.org>
10966
10967         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10968         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10969
10970 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10971
10972         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10973         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10974
10975 2002-03-29  Juergen Vigna  <jug@sad.it>
10976
10977         * lyxfunc.C (dispatch): add a missing fitCursor call.
10978
10979         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10980         it was scrolled by a cursor move, so return the bool status.
10981
10982         * BufferView.C (fitCursor): return the bool flag also to the outside
10983         world as this is needed.
10984
10985         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10986
10987         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10988         call the edit() as it is not needed (and wrong) IMO.
10989         (workAreaButtonPress): set the screen_first variable before evt.
10990         unlock the inset as this may change screen_first and then we have
10991         a wrong y position for the click!
10992
10993 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10994
10995         * MenuBackend.C (expand): another translation that I missed
10996
10997 2002-03-28  Juergen Vigna  <jug@sad.it>
10998
10999         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11000
11001         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11002
11003 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11004
11005         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11006
11007         * MenuBackend.C (expand): fix export/view/update when there is no
11008         document open.
11009
11010 2002-03-27  Herbert Voss  <voss@lyx.org>
11011
11012         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11013         and text%
11014
11015 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11016
11017         * bufferview_funcs.C (currentState): only show paragraph number
11018         for is DEVEL_VERSION is set.
11019
11020         * lyxfunc.C (dispatch): put warning in INFO channel
11021
11022         * MenuBackend.C (expand): translate the name of floats
11023
11024         * FloatList.C (FloatList): mark the float names for translation
11025
11026         * converter.C (convert): use LibScriptSearch
11027
11028 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11029
11030         * MenuBackend.C (defaults): fix default menu (we might as well get
11031         rid of it...)
11032
11033 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11034
11035         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11036         directory.
11037
11038 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11039
11040         * lyxvc.C: reorder includes.
11041
11042 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11043
11044         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11045           properly
11046
11047 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11048
11049         * CutAndPaste.C: change layouts earlier on paste
11050           to avoid crashing when calling getFont()
11051
11052 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11053
11054         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11055         irritating #error.
11056
11057 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11058
11059         * WorkArea.C: remove 'Pending' debug message.
11060
11061         * most files: ws cleanup
11062
11063         * buffer.[Ch]: ws changes
11064
11065         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11066
11067 2002-03-21  Juergen Vigna  <jug@sad.it>
11068
11069         * tabular.C (SetMultiColumn): collapse also the contents of the
11070         cells and set the last border right. Added a Buffer const * param.
11071
11072 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11073
11074         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11075         linking or not.
11076
11077 2002-03-19  Juergen Vigna  <jug@sad.it>
11078
11079         * text2.C (clearSelection): reset also xsel_cache.
11080
11081         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11082         where it needs to be called (John tells us to do so too :)
11083         (selectionLost): reset sel_cache.
11084
11085         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11086
11087 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11088
11089         * text2.C (setCursorIntern): put debuging code in INSETS channel
11090
11091 2002-03-19  André Pönitz <poenitz@gmx.net>
11092
11093         * lyxfunc.C: tiny whitespace change
11094
11095 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11096
11097         * ToolbarDefaults.C (init):
11098         * LyXAction.C (init):
11099         * commandtags.h:
11100         * BufferView_pimpl.C (Dispatch):
11101         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11102
11103 2002-03-19  Allan Rae  <rae@lyx.org>
11104
11105         * exporter.C (Export): removeAutoInsets before doing anything else.
11106         While I've just introduced a dependency on BufferView this really is
11107         the best place to clean the buffer otherwise you need to cleanup in
11108         a dozen places before calling export or cleanup in a dozen functions
11109         that export calls.
11110
11111         * converter.C (runLaTeX):
11112         (scanLog): Better handling of removeAutoInsets and screen updates.
11113
11114         * lyxfunc.C (dispatch): small whitespace changes
11115
11116 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11117
11118         * WorkArea.C (C_WorkAreaEvent): return a value.
11119         (event_cb): return 1 if we handled the event, 0 otherwise.
11120
11121         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11122
11123 2002-03-18  Juergen Vigna  <jug@sad.it>
11124
11125         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11126         (GetAdditionalWidth): ditto.
11127         (RightLine): ditto.
11128         (LeftLine): ditto.
11129
11130         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11131         inset if we're there actually (probably not used right now but this
11132         is the direction to go for unifying code).
11133         (paste): disable code to clear the selection.
11134
11135         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11136         inside an InsetText and move the check further up as it is in the
11137         wrong place.
11138
11139         * text2.C (pasteSelection): set a selection over the pasted text.
11140
11141 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11142
11143         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11144         and libgraphics to build on Cygwin.
11145
11146 2002-03-15  Juergen Vigna  <jug@sad.it>
11147
11148         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11149         inserting an Inset into the paragraph. I know this is not the best
11150         fix but we already use current_view in CutAndPaste so we will remove
11151         all of it's using at the same time.
11152
11153         * buffer.C (sgmlError): deactivated function till it is rewritten in
11154         the right mode, now it can create problems.
11155
11156         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11157         before accessing it.
11158
11159 2002-03-14  Juergen Vigna  <jug@sad.it>
11160
11161         * undo_funcs.C (textHandleUndo): do the right thing when updating
11162         the inset after the undo/redo.
11163
11164         * text2.C (setCursor): just some testcode for #44 not ready yet.
11165
11166         * undo_funcs.C (textHandleUndo): set the next() and previous()
11167         pointers of the paragraph to 0 before deleting otherwise we have
11168         problems with the Paragraph::[destructor].
11169
11170         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11171         on a paragraph insertion.
11172
11173 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11174
11175         * buffer.C (asciiParagraph): use += operator for char append to
11176         string.
11177
11178         * paragraph.C (getFontSettings): compare >= not just >
11179         (highestFontInRange): ditto
11180         (setFont): ditto
11181
11182 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11183
11184         * paragraph.C: change several algorithm to be more appripriate for
11185         the problem domain. This is lookip in FontList and in the InsetList.
11186
11187 2002-03-13  André Pönitz <poenitz@gmx.net>
11188
11189         * commandtags.h:
11190         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11191
11192 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11193
11194         * commandtags.h:
11195         * LyXAction.C:
11196         * lyxfunc.C:
11197         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11198
11199 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11200
11201         * Painter.C (display): anon helper function, adjust code for this
11202         change.
11203         (pixmap): remove function.
11204
11205         * Painter.h: remove private display variable.
11206
11207         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11208
11209 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11210
11211         * WorkArea.[Ch]: remove figinset_canvas cruft.
11212
11213 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11214
11215         * lyxtextclass.C (operator): add one item cache optimization.
11216
11217         * bufferlist.h: doxy changes
11218
11219         * bufferlist.C: ws changes
11220
11221         * DepTable.[Ch] (ext_exist): place const in the right spot.
11222
11223         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11224         call resizeInsets.
11225         (workAreaExpose): call resizeInsets when the with BufferView changes.
11226         (Dispatch): adjust for protectedBlank removal
11227         (specialChar): call updateInset if the insert went ok.
11228
11229         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11230         specialChar instead.
11231
11232         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11233
11234         * BufferView.h: doxy change
11235
11236         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11237
11238         * lyxtextclass.C (operator[]): remove non-const version
11239         (defaultLayout): remove non-const version
11240
11241 2002-03-12  Juergen Vigna  <jug@sad.it>
11242
11243         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11244         did resize the LyXText too.
11245
11246         * buffer.C (readLyXformat2): set layout information on newly allocated
11247         paragraphs.
11248
11249         * tabular.C (OldFormatRead): set layout information on the paragraph.
11250
11251 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11252
11253         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11254
11255 2002-03-11  Juergen Vigna  <jug@sad.it>
11256
11257         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11258         plainly wrong.
11259         (resizeCurrentBuffer): force also the insets to resize themselfes.
11260         (moveCursorUpdate): fixed up for InsetText.
11261
11262 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11263
11264         * commandtags.h:
11265         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11266         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11267         value of Dialogs::tooltipsEnabled().
11268         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11269
11270 2002-03-08  Juergen Vigna  <jug@sad.it>
11271
11272         * BufferView_pimpl.C (updateInset): update inset inside inset also
11273         if it isn't inside theLockingInset().
11274
11275 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11276
11277         * buffer.C (asciiParagraph): redo some of the word and line length
11278         handling.
11279         (getLists): look for Caption instead of caption.
11280
11281 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11282
11283         * buffer.C (Buffer): initialize niceFile to true
11284         (makeLaTeXFile):
11285         (makeLinuxDocFile):
11286         (makeDocBookFile): make sure niceFile is true on exit
11287
11288 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11289
11290         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11291
11292 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11293
11294         * LyXSendto.C: remove.
11295         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11296         * lyx_gui.C: remove now-redundant comment.
11297         * ColorHandler.h: remove forward declaration of class WorkArea.
11298         * lyxfunc.C: remove #include "WorkArea.h".
11299
11300 2002-03-07  Juergen Vigna  <jug@sad.it>
11301
11302         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11303         got moved away with the DEPM and also set the inset_owner always
11304         right which before could have been omitted.
11305
11306 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11307
11308         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11309         wanted layout is not found.
11310
11311 2002-03-07  Juergen Vigna  <jug@sad.it>
11312
11313         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11314
11315 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11316
11317         * paragraph.C (breakParagraph): use default layout not layout of
11318         prev paragraph.
11319         (Paragraph): clear ParagraphParameters.
11320
11321 2002-03-06  Juergen Vigna  <jug@sad.it>
11322
11323         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11324         otherwise it would not be a valid lenght. Fixed a special case in
11325         the minipage compatibility read where we end the document with a
11326         minipage.
11327
11328         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11329         was set as it could be 0 for InsetTexts first entry.
11330
11331 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11332
11333         * paragraph.C (writeFile): if layout is empty write out
11334         defaultLayoutName().
11335
11336         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11337         file without named layout we set layout to defaultLayoutName().
11338
11339 2002-03-06  Juergen Vigna  <jug@sad.it>
11340
11341         * CutAndPaste.C (copySelection): set layout for new paragraph.
11342
11343         * text.C (prepareToPrint): leave ERT inset left aligned
11344         (leftMargin): don't indent paragraphs inside ERT insets
11345
11346 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11347
11348         * paragraph.C (breakParagraph): dont call clear do the work manually
11349
11350         * paragraph.[Ch] (clear): remove function
11351
11352 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11353
11354         * paragraph.C (Paragraph): dont call clear, the work has already
11355         been done.
11356
11357         * lyxtextclass.C (operator): assert if n is empty
11358
11359         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11360         work manually instead.
11361
11362 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11363
11364         * BufferView_pimpl.C: protect selectionLost against text == 0
11365
11366 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11367
11368         * text.C (breakParagraph): fix a setting layout to '0' problem.
11369
11370 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11371
11372         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11373         final location of file, for the included files, and graphics.
11374
11375 2002-03-05  Juergen Vigna  <jug@sad.it>
11376
11377         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11378
11379 2002-03-04  Juergen Vigna  <jug@sad.it>
11380
11381         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11382
11383         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11384         last column of multicolumn cells.
11385         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11386
11387 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11388
11389         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11390         file if it doesn't go to a temporary file.
11391
11392         * buffer.C (sgmlOpenTag):
11393         (sgmlCloseTag):  remove extra newline insertion.
11394
11395 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11396
11397         * text.C (getRowNearY): comment out debug msg
11398
11399 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11400
11401         * text2.C: first -> first_y
11402
11403         * text.C (getRowNearY): add some attemts at a possible
11404         optimization, not working.
11405
11406         * tabular.[Ch]: add BufferParams to several function so that newly
11407         created paragraph can be initialized to he default layotu for the
11408         buffers textclass.
11409
11410         * tabular-old.C (ReadOld): add buf->params to call of Init
11411
11412         * screen.C: rename text->first to text->first_y
11413
11414         * paragraph.C (breakParagraph): always set layout in the broken
11415         paragraph
11416
11417         * lyxtextclass.C (Read): remove lowercase
11418         (hasLayout): ditto
11419         (operator): ditto
11420         (delete_layout): ditto
11421
11422         * lyxtext.h: rename first -> first_y
11423
11424         * lyxlayout.C (Read): remove lowercase
11425         (name): ditto
11426         (setName): ditto
11427         (obsoleted_by): ditto
11428
11429         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11430
11431         * buffer.C (insertErtContents): add params are to InsetERT
11432         (parseSingleLyXformat2Token): add code to check if a paragraphs
11433         layout really exist.
11434         (parseSingleLyXformat2Token): add params to several inset
11435         constructors
11436         (asciiParagraph): remove lowercase, do the layout comparisons with
11437         no_case
11438
11439         * BufferView_pimpl.C (cursorNext): first -> first_y
11440         (resizeCurrentBuffer): first -> first_y
11441         (updateScrollbar): first -> first_y
11442         (scrollCB): first -> first_y
11443         (workAreaMotionNotify): first -> first_y
11444         (workAreaButtonPress): first -> first_y
11445         (checkInsetHit): first -> first_y
11446         (cursorPrevious): first -> first_y
11447         (cursorNext): first -> first_y
11448         (Dispatch): add buffer_->params to severl inset contructors
11449
11450 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11451
11452         * lyxlayout.C (Read): remove some debug info that I forgot.
11453
11454         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11455         clean up the code slightly.
11456         (makeLinuxDocFile): ditto
11457         (makeDocBookFile): ditto
11458
11459         * text2.C: layout as string
11460
11461         * text.C: layout as string
11462
11463         * paragraph_pimpl.C: layout as string
11464
11465         * paragraph.[Ch]: layout as string
11466
11467         * lyxtextclasslist.[Ch]: layout as string
11468
11469         * lyxtextclass.[Ch]: layout as string
11470
11471         * lyxtext.h: layout as string
11472
11473         * lyxlayout.[Ch]: layout as string
11474
11475         * lyx_cb.C: layout as string
11476
11477         * bufferview_funcs.C: layout as string
11478
11479         * bufferparams.C: layout as string
11480
11481         * buffer.C: layout as string
11482
11483         * LyXView.[Ch]: layout as string
11484
11485         * LaTeXFeatures.[Ch]: layout as string
11486
11487         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11488
11489         * BufferView_pimpl.C: change current_layout to string, remove
11490         lyx::layout_type.
11491         (Dispatch):
11492         (smartQuote):
11493         (insertInset):
11494         (workAreaButtonRelease): layout as string
11495
11496         * BufferView2.C (unlockInset): adjust
11497
11498         * vspace.C (asLatexCommand): use an explict temp variable.
11499
11500 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11501
11502         * Makefile.am: use FRONTEND_*
11503
11504 2002-03-01  Juergen Vigna  <jug@sad.it>
11505
11506         * tabular.C (SetWidthOfMulticolCell): changed to something better
11507         I hope but still work in progress.
11508         (recalculateMulticolumnsOfColumn): renamed function from
11509         recalculateMulticolCells as it is more appropriate now.
11510         (SetWidthOfCell): calculate multicols better.
11511
11512 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11513
11514         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11515
11516         * lyxfunc.C (processKeySym): print sequence also if it is
11517         `deleted' (complete)
11518
11519         * kbsequence.C (print): print sequence even if it is deleted
11520         (complete would be a better word, actually).
11521
11522         * lyxfunc.C (dispatch): print complete options after a prefix key
11523
11524         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11525
11526 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11527
11528         * text2.C (setCharFont): eliminate setCharFont code duplication.
11529
11530 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11531
11532         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11533         LFUN_TABULAR_FEATURE (bug #177)
11534
11535 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11536
11537         * Makefile.am: remove figure.h
11538
11539 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11540
11541         * Bufferview_pimpl.C:
11542         * CutAndPasteC:
11543         * LaTeX.C:
11544         * LyXSendto.C:
11545         * buffer.C:
11546         * bufferlist.C:
11547         * converter.C:
11548         * language.C:
11549         * lyxfunc.C:
11550         * lyxvc.C:
11551         * paragraph.C:
11552         * text.C:
11553         * text2.C: remove #include "lyx_gui_misc.h".
11554
11555         * LaTeX.C: added #include <cstdio>
11556
11557 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11558
11559         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11560         that the paragraph following this one can have.
11561
11562         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11563
11564         * vspace.C (asLatexCommand): fix bogus gcc warning
11565
11566         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11567
11568 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11569
11570         * text2.C (setLayout): get rid of redundant code
11571
11572 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11573
11574         * text2.C (incDepth): make sure depth cannot be increased beyond
11575         reasonable values.
11576
11577 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11578
11579         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11580         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11581
11582         * PainterBase.h (image):
11583         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11584         a LyXImage const *.
11585
11586 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11587
11588         * BufferView.C:
11589         * BufferView.h:
11590         * BufferView_pimpl.C:
11591         * BufferView_pimpl.h:
11592         * LaTeXFeatures.C:
11593         * LyXAction.C:
11594         * LyXView.C:
11595         * Makefile.am:
11596         * UpdateList.h:
11597         * UpdateList.C:
11598         * buffer.C:
11599         * figure.h:
11600         * figureForm.C:
11601         * figureForm.h:
11602         * figure_form.C:
11603         * figure_form.h:
11604         * lyx_cb.C:
11605         * lyx_gui.C:
11606         * lyx_gui_misc.C:
11607         * lyxfunc.C:
11608         * sp_base.h:
11609         * sp_ispell.h:
11610         * sp_pspell.h:
11611         * sp_spell.C: remove fig inset, and the crap house of
11612           cards that follows it
11613
11614 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11615
11616         * Makefile.am:
11617         * lyxserver.C:
11618         * os2_defines.h:
11619         * os2_errortable.h:
11620         * nt_defines.h: move .h into support/
11621
11622         * vms_defines.h: remove
11623
11624         * WorkArea.C: add space in debug output
11625
11626         * text2.C:
11627         * paragraph.C:
11628         * buffer.C: add WITH_WARNINGS
11629
11630         * vc-backend.h:
11631         * vc-backend.C:
11632         * bufferlist.C: s/retrive/retrieve/, add docs
11633
11634         * vspace.h:
11635         * vspace.C:
11636         * kbmap.h:
11637         * lyxlength.h:
11638         * lyxgluelength.h:
11639         * length_common.h:
11640         * chset.h:
11641         * chset.C: add docs
11642
11643         * lyxgui.C: add ID to X error handler
11644
11645         * lyxtestclass.c: fix typo
11646
11647 2002-02-26  Juergen Vigna  <jug@sad.it>
11648
11649         * tabular_funcs.C (write_attribute): changed so that some default
11650         attributes are not written at all.
11651         (getTokenValue): set default values before trying to read the
11652         value so we have the return value always set as default if we don't
11653         find the token we search for.
11654
11655         * tabular.C (Write): write bools as bools not as strings!
11656
11657 2002-02-22  Juergen Vigna  <jug@sad.it>
11658
11659         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11660         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11661
11662         * text.C (leftMargin): don't add an indent for paragraphs inside
11663         tabular cells (fix #208).
11664
11665 2002-02-21  José Matos  <jamatos@fep.up.pt>
11666
11667         * tabular.C (docBook): fixed support for long tables.
11668
11669 2002-02-20  Juergen Vigna  <jug@sad.it>
11670
11671         * text2.C (getFont): get the drawing font of the Inset if this
11672         paragraph is inside an inset (only important for InsetERT for now).
11673
11674         * buffer.C (insertErtContents): use new lanugage params in ERT
11675         constructor.
11676
11677         * CutAndPaste.C: commenting out seemingly uneeded code.
11678
11679 2002-02-19  Allan Rae  <rae@lyx.org>
11680
11681         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11682         Iterators might be simple to use but they also get invalidated.
11683         (removeAutoInsets): renamed saved cursor tracking variables and added
11684         some comments to clarify what everything does.
11685
11686 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11687
11688         * Chktex.C:
11689         * LaTeX.C:
11690         * LyXSendto.C:
11691         * converter.C:
11692         * lyx_cb.C:
11693         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11694         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11695
11696         * lyxfunc.C:
11697         * vc-backend.h: remove #include "support/syscall.h"
11698
11699         * LaTeX.C:
11700         * LyXSendto.C:
11701         * converter.C: rearrange #includes in Lars' approved fashion.
11702
11703         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11704         forward declare class Timeout in the header file.
11705
11706         * XFormsView.C: changes due to the above.
11707
11708         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11709         similar to LyXView.
11710
11711         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11712         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11713
11714 2002-02-18  José Matos  <jamatos@fep.up.pt>
11715
11716         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11717         insets contents.
11718
11719 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11720
11721         * a lot of small ws changes
11722         * add a lot of using std::XXX
11723         * use std construcs some places where approp.
11724         * use some exisint stuff from lyxfunctional where approp.
11725         * Make file changes to use partial linking (lets test this now...)
11726
11727 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11728
11729         * Chktex.C:
11730         * buffer.C:
11731         remove #include "support/syscontr.h" as it's redundant. Always has been.
11732
11733         * Chktex.C:
11734         * LaTeX.C:
11735         * LyXSendto.C:
11736         * converter.C:
11737         * lyx_cb.C:
11738         * vc-backend.C:
11739         change Systemcalls::System to Systemcalls::Wait and
11740         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11741         No change of functionality, just reflects the stripped down Systemcalls
11742         class.
11743
11744 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11745
11746         * debug.[Ch]: add a GRAPHICS type to the enum.
11747
11748 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11749
11750         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11751
11752         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11753         there is an inset.
11754
11755 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11756
11757         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11758         match the changes below.
11759
11760         * text2.C (toggleInset): if there is not editable inset at cursor
11761         position, try to see if cursor is _inside_ a collapsable inset
11762         and close it.
11763
11764 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11765
11766         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11767         document menu has a nice checkbox
11768
11769 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11770
11771         * lyxlength.C (asLatexString): change PW to output as percent of
11772         \textwidth.
11773
11774         * lengthcommon.C: change '%' to 't%'
11775
11776         * lyxfunc.C (dispatch): a few comments from Martin
11777
11778 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11779
11780         * WorkArea.h:
11781         * WorkArea.C:
11782         * BufferView_pimpl.h:
11783         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11784           the X selection.
11785
11786 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11787
11788         * vspace.C (inPixels): fix compiler warning
11789
11790 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11791
11792         * lyxfunc.C (getStatus): fix status message for disabled commands.
11793
11794 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11795
11796         * BufferView_pimpl.C: fix crash on close buffer
11797         during selection (#227)
11798
11799 2002-01-27  Herbert Voss  <voss@lyx.org>
11800
11801         * buffer.C: link old Figure to new graphic inset
11802
11803 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11804
11805         * FontLoader.C (getFontinfo): Change the latex font names in order
11806         to match the names of type1inst.
11807
11808 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11809
11810         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11811
11812         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11813         (extchanged): ditto
11814         (ext_exist): ditto
11815         (remove_files_with_extension): ditto
11816         (remove_file): ditto
11817         (write): ditto
11818
11819         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11820         document is smaller than the work area height. Do not initialize
11821         static variables to 0.
11822
11823 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11824
11825         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11826
11827         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11828         LFUN_LAYOUT_PARAGRAPHS.
11829
11830         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11831         tabular. It is possible to provide a possible cell, which will
11832         typically be the actcell from the corresponding insettabular
11833
11834         * lyxfunc.C (getStatus): small cleanup; disable
11835         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11836         true
11837
11838 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11839
11840         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11841
11842         * paragraph.C (startTeXParParams):
11843         (endTeXParParams): new methods. The LaTeX code to
11844         start/end paragraph formatting
11845         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11846         empty (fixes bug #200)
11847
11848         * vspace.C (inPixels): adapt to the change below
11849         (inPixels): [later] more cleanups (remove unused variables)
11850
11851         * lyxlength.C (inPixels): change to use a width and a height as
11852         parameter.
11853
11854 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11855
11856         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11857         Replaced with \paperwidth
11858
11859         * DepTable.C (insert): add std:: qualifier
11860
11861 2002-01-18  Allan Rae  <rae@lyx.org>
11862
11863         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11864         updated also?
11865
11866         * text.C (drawInset): Turned out I didn't know enough about how
11867         rebreaking worked.  This fixes most of the redraw problems.  I see
11868         an occasional cursor trail when a line is broken now and the cursor
11869         placement can seem out by a few pixels also after a rebreak.
11870
11871 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11872
11873         * buffer.C (parseSingleLyXformat2Token): update because minipage
11874         width is now a LyXLength
11875
11876         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11877
11878         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11879         math insets
11880
11881 2002-01-17  Juergen Vigna  <jug@sad.it>
11882
11883         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11884
11885         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11886         is set correctly and the inset is updated correctly.
11887
11888 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11889
11890         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11891         the beginning of the loop.
11892
11893 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11894
11895         * lyxrc.C: improve help for use_scalable_fonts
11896
11897 2002-01-17  Allan Rae  <rae@lyx.org>
11898
11899         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11900
11901 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11902
11903         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11904         make sure to set their inset_owner to the right value (bug #171)
11905
11906 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11907
11908         * DepTable.h
11909         * DepTable.C: Implement mtime checking to reduce time spent doing
11910         CRCs.
11911
11912 2002-01-16  Juergen Vigna  <jug@sad.it>
11913
11914         * tabular.C (GetAdditionalHeight): one of error fixed.
11915
11916         * lyxrc.C (output): small fix in writing use_pspell.
11917
11918 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11919
11920         * sp_base.h: #include LString.h
11921
11922 2002-01-16  Allan Rae  <rae@lyx.org>
11923
11924         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11925         Can someone check this please?
11926
11927         * text.C (drawInset): It was possible that p.row would be removed by
11928         breakAgainOneRow upsetting a few other settings.  There may be another
11929         small tweak possible by setting need_break_row = 0 when p.row has been
11930         removed but I don't know enough about the logic here.
11931
11932 2002-01-15  Allan Rae  <rae@lyx.org>
11933
11934         * text.C (insertChar): removed conditional truism.
11935
11936         * BufferView2.C (removeAutoInsets): More tweaks.
11937         cur_par_prev could be a stray pointer.  Check for trailing empty line
11938         in case last line was cur_par and only had an error inset on it.
11939
11940 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11941
11942         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11943         absolute
11944
11945         * vc-backend.C (most methods):
11946         * exporter.C (Export):
11947         * converter.C (convert):
11948         (runLaTeX):
11949         * LyXSendto.C (SendtoApplyCB):
11950         * lyxfunc.C (dispatch):
11951         (menuNew):
11952         (open):
11953         (doImport):
11954         * lyx_cb.C (AutoSave):
11955         (InsertAsciiFile):
11956         * BufferView_pimpl.C (MenuInsertLyXFile):
11957         * buffer.C (runChktex): use Buffer::filePath().
11958
11959         * buffer.h: rename filename to filename_; rename filepath to
11960         filepath_ and make it private
11961         (filePath): new method
11962
11963         * buffer.C (writeFile): use fileName()
11964         (getLatexName):
11965
11966         * lyx_main.C (init): fix starting  of LyX when the binary is a
11967         link from so,ewhere else.
11968
11969         * minibuffer.C: include <cctype> for isprint
11970
11971 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11972
11973         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11974         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11975         name clash with InsetCollapsable's width function.
11976
11977 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11978
11979         * lastfiles.C: include <iterator>
11980
11981 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11982
11983         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11984         std::count.
11985
11986         * buffer.C (makeLaTeXFile): ditto.
11987         Also make loop operation more transparent.
11988
11989 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11990
11991         * ToolbarDefaults.C: remove trailing comma closing namespace.
11992
11993         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11994
11995         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11996         as in WorkArea.
11997
11998         * trans.C (Load): comment out unused variable, allowed.
11999
12000 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12001
12002         * minibuffer.[Ch] (append_char): new method to recieve input from the
12003         drop-down completion browser. If a key was pressed, then recieve this
12004         char and append it to the existing string.
12005         (peek_event): modify the positioning data passed to the completion
12006         browser so that it can be placed above the minibuffer rather than below.
12007 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12008
12009         * LyXAction.C (init): alloe error-next for readonly documents.
12010
12011         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12012         count.
12013
12014 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12015
12016         * bufferlist.C (readFile): create the buffer _after_ checking that
12017         the file exists.
12018
12019         * lyxfunc.C (verboseDispatch): fix handling of arguments
12020
12021         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12022
12023         * lyxrc.C: use string::erase() instead of initializing to "".
12024
12025
12026 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12027
12028         * BufferView_pimpl.h:
12029         * BufferView_pimpl.C:
12030         * WorkArea.h:
12031         * WorkArea.C:
12032         * text2.C: tell X when we have made a selection for copying
12033
12034 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12035
12036         * BufferView_pimpl.C (MenuInsertLyXFile):
12037         * lyxfunc.C (menuNew):
12038         (open):
12039         (doImport): add shortcuts to directory buttons
12040
12041         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12042         open a float)
12043
12044         * lyxfunc.C (setStatusMessage):
12045         (getStatusMessage): new methods
12046         (getStatus):use setStatusMessage instead of setErrorMessage
12047         (dispatch): when function is disabled, set error message here
12048         [instead of in getStatus previously]
12049
12050         * BufferView_pimpl.C (workAreaButtonRelease): update
12051         toolbar/menubar here too.
12052
12053 2002-01-13  Allan Rae  <rae@lyx.org>
12054
12055         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12056         Now seems indestructible.  Remaining task is to audit all other
12057         code affected by deleteEmptyParagraphMechanism.  One small quirk
12058         left is that an empty document with an error in the preamble can
12059         be made to report an error but no error box appears.  I don't know
12060         where it goes.
12061         (removeAutoInsets): Improved comments.
12062
12063 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12064
12065         * Thesaurus.h:
12066         * Thesaurus.C: update for Aiksaurus 0.14
12067
12068 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12069
12070         * text2.C (firstParagraph): removed member function, all uses
12071         replaces with ownerParagraph
12072         (redoParagraphs): here
12073         (updateInset): here
12074         (toggleAppendix): here
12075         * BufferView2.C (insertErrors): here
12076         (setCursorFromRow): here
12077
12078 2002-01-13  Allan Rae  <rae@lyx.org>
12079
12080         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12081         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12082         There is still a way to segfault this although you may have to do this
12083         multiple times: Have an InsetERT with an unknown command in it.
12084         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12085         <down-arrow>, <Enter> again, View->DVI, BANG!
12086
12087         * text2.C (setCursor):
12088         (deleteEmptyParagraphMechanism):
12089         * lyxtext.h (setCursor):
12090         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12091         Making use of the return value may help fix other bugs.
12092
12093 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12094
12095         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12096
12097         * LyXView.C (updateMenubar): call MenuBar::update here
12098         (updateToolbar): but not here
12099         (showState): do not update toolbar/menubar
12100
12101         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12102         should need to care about that.
12103
12104         * lyxfunc.C (verboseDispatch): simplify a bit
12105         (getStatus): have a version which takes a pseudoaction, and
12106         another which requires a (kb_action,string).
12107
12108         * LyXAction.C (retrieveActionArg): make it work also when action
12109         is not a pseudo-action.
12110         (getActionName): simplify a bit
12111         (helpText):
12112
12113 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12114
12115         * lyxfunc.C (verboseDispatch): new families of methods with
12116         several ways to specify a command and a bool to indicate whether
12117         the command name and shortcut should be displayed in minibuffer
12118         (eventually, we could extend that to a finer bitmask like
12119         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12120         (dispatch): the pristine dispatch command which just, well,
12121         dispatchs! Note it still sets its result to minibuffer; I'm not
12122         sure we want that.
12123
12124         * lyxfunc.h: remove setHintMessage
12125
12126         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12127
12128 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12129
12130         * BufferView_pimpl.C (specialChar): delete new inset if we have
12131         not been able to insert it.
12132
12133         * kbmap.C: revert to using int instead of kb_action, since all we
12134         are dealing with is pseudo-actions.
12135
12136         * LyXAction.C (searchActionArg): change to return int instead of
12137         kb_action, since the result is a pseudoaction.
12138
12139 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12140
12141         * buffer.C (insertErtContents): Fix (partially) the font bug.
12142
12143 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12144
12145         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12146         as the other one is broken on my machine!
12147
12148 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12149
12150         * commandtags.h:
12151         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12152
12153 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12154
12155         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12156         reflect their actual use. Provide compatibility code for older lyxrc
12157         files.
12158
12159         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12160         FL_NORMAL_STYLE.
12161         change names of popup font variables in line with the changes to lyxrc.C
12162
12163 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12164
12165         * buffer.C (asciiParagraph): avoid outputing a word twice after
12166         an inset.
12167
12168         * lyxrc.C (getDescription): document that document_path and
12169         template_path can be empty.
12170
12171 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12172
12173         * LaTeXFeatures.C (getMacros):
12174         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12175
12176         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12177
12178         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12179         getPackages.
12180         (getPackages): rename feature "floats" to "float". Use an array to
12181         iterate over 'simple' features (i.e. just a \usepackage). Add
12182         handling of "amsmath" (renamed from "amsstyle").
12183
12184 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12185
12186         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12187         features list.
12188
12189 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12190
12191         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12192         FuncStaus::FuncStatus & FuncStaus::some_method().
12193
12194 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12195
12196         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12197         of the func_satus stuff. Edited and massaged in various ways by
12198         JMarc.
12199
12200         * lyxfunc.C (getStatus): use FuncStatus
12201
12202 2002-01-08  Juergen Vigna  <jug@sad.it>
12203
12204         * text.C (nextBreakPoint): use function Inset::isChar().
12205
12206         * paragraph.C (TeXOnePar): use function
12207         Inset::forceDefaultParagraphs.
12208
12209         * buffer.C (latexParagraphs): use function
12210         Inset::forceDefaultParagraphs.
12211
12212 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12213
12214         * lyx_gui.C (init): set the style of the menu popups to
12215         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12216
12217 2002-01-07  Juergen Vigna  <jug@sad.it>
12218
12219         * text.C (setHeightOfRow): small fix
12220         (prepareToPrint): don't look at alignment if we don't have the place
12221         for doing it.
12222
12223 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12224
12225         * box.C: New file. Move the Box methods and functions out of box.h,
12226         following Lars' suggestion.
12227
12228 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12229
12230         * box.h: #include "support/LOstream.h", needed for inlined function.
12231
12232         * lyxtextclass.C:
12233         * lyxtextclasslist.C: added some using std declarations.
12234
12235 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12236
12237         * box.h: make signed dimensions to allow insets wider than
12238           the screen (bug #162)
12239
12240         * BufferView_pimpl.C: add some insetHit debug
12241
12242 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12243
12244         * vc-backend.C: add FIXME
12245
12246 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12247
12248         * lyxfunc.C (getStatus): enable code for showing math font status
12249         in toolbar/menu.
12250
12251 2002-01-07  Juergen Vigna  <jug@sad.it>
12252
12253         * text.C (nextBreakPoint): removed debug output not needed anymore.
12254
12255 2002-01-06  Juergen Vigna  <jug@sad.it>
12256
12257         * text.C (nextBreakPoint): fixed up this function we had this bug
12258         since ever but now hopefully we break row better.
12259         (insertChar): we have to check if an inset is the next char as it
12260         could now happen that a large inset is causing a break.
12261
12262 2002-01-05  Juergen Vigna  <jug@sad.it>
12263
12264         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12265         if it doesn't like to be drawed.
12266
12267 2002-01-04  Juergen Vigna  <jug@sad.it>
12268
12269         * BufferView2.C (lockInset): forgot to set a cursor.
12270
12271         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12272
12273 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12274
12275         * FormMathsPanel.C:
12276         * FormMathsPanel.h
12277         * MathsSymbols.C:
12278         * form_maths_panel.C:
12279         * form_maths_panel.h:
12280         * form_maths_panel.fd: implemented sub- and super- buttons in math
12281         panel.
12282
12283         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12284         (or ^ space) to be used as in TeX (req'd by André).
12285
12286         * lyxfunc.C: Allow ^ and _ again to be used both as
12287         super/subscript (mathed) and as themselves (in text).
12288
12289 2002-01-03  Allan Rae  <rae@lyx.org>
12290
12291         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12292         "LyX" or the filename of the current buffer if it has one.  This is a
12293         modified form of John Levon's patch.
12294
12295         * XFormsView.C (setWindowTitle): also set icon title.
12296
12297         * LyXView.h (setWindowTitle): signature changed.
12298         * XFormsView.h (setWindowTitle): ditto.
12299
12300 2002-01-02  Juergen Vigna  <jug@sad.it>
12301
12302         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12303
12304 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12305
12306         * screen.C (topCursorVisible): introduce a temp var for
12307         text->cursor.row(), handle the case where this row is null. (kindo
12308         hachish)
12309
12310         * text2.C (setCursor): add a couple of asserts.
12311
12312         * paragraph.h (inset_iterator): add -> operator
12313
12314         * paragraph.[Ch] (autoDeleteInsets): remove member function
12315
12316         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12317         cursor pos correctly and handle inset deletion by itself.
12318         (insertErrors): move iterator declaration out of for expression
12319
12320         * lyxtextclass.C: add <algorithm>
12321
12322         * Makefile.am: added the new files to sources, removed layout.C
12323
12324         * layout.C: removed file
12325
12326         * layout.h: remove LYX_DUMMY_LAYOUT
12327
12328         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12329         layout.
12330
12331         * lyxlayout.[Ch]:
12332         * lyxtextclass.[Ch]:
12333         * lyxtextclasslist.[Ch]: new files
12334
12335         * include order changes to a lot of files, also changes because of
12336         the six new files.
12337
12338 2001-12-27  Juergen Vigna  <jug@sad.it>
12339
12340         * buffer.C (asciiParagraph): more fixes.
12341
12342         * tabular.C (ascii): make ascii export support export of only the
12343         data separated by a column-delimiter.
12344         (ascii): better support for ascii export.
12345
12346         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12347
12348 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12349
12350         * tabular_funcs.C: use a "using std::getline" instead of the
12351         previous fix from Angus (necessary for cxx + lyxstring)
12352
12353 2001-12-24  Juergen Vigna  <jug@sad.it>
12354
12355         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12356
12357         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12358         problems. First check a minipage also if we have some ert-contents
12359         (not only on par->size(), second set the right depth of the paragraph
12360         on the relink to the root-paragraph-list!
12361
12362         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12363         which then did not anymore update the main paragraphs on undo/redo!
12364
12365 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12366
12367         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12368         code. Support all font-changing funcs (even those which are not in
12369         menu currently). Support for reporting font settings in
12370         mathed (disabled until Andre provides a function on mathed's side).
12371
12372         * func_status.h (toggle): small helper function to set toggle
12373         state on a flag.
12374
12375 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12376
12377         * tabular_funcs.C: getline -> std::getline
12378
12379 2001-12-21  Juergen Vigna  <jug@sad.it>
12380
12381         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12382         accessed and could be 0 (I couldn't generate this but it seems
12383         Michael could!).
12384
12385 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12386
12387         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12388         * tabular_funcs.h: here and include iosfwd
12389
12390 2001-12-20  Juergen Vigna  <jug@sad.it>
12391
12392         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12393         inside inset but undo_par was.
12394
12395 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12396
12397         * Thesaurus.C: always include <config.h> in sources.
12398
12399         * Painter.h:
12400         * lyxlookup.h:
12401         * box.h: do not include <config.h> in header files
12402
12403         * text.C (paintLastRow): remove unused variable
12404
12405         * text.C (transformChar):
12406         (insertChar):
12407         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12408
12409         * Painter.C (text):
12410         * font.C (width): rewrite to use uppercase() instead of
12411         islower/toupper.
12412
12413         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12414
12415 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12416
12417         * lyxfind.C: clean up of find failure position change
12418
12419 2001-12-20  Juergen Vigna  <jug@sad.it>
12420
12421         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12422
12423         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12424         (TeXRow): added to LaTeX a single tabular row.
12425         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12426         (Latex): simplified and finally good LT-h/f support.
12427         (various_functions): just small adaptions for LT-h/f support.
12428
12429         * tabular_funcs.[hC]: added and moved here all not classfunctions
12430         of LyXTabular.
12431
12432 2001-12-19  Juergen Vigna  <jug@sad.it>
12433
12434         * tabular.[Ch]: better support for longtabular options (not finished
12435         yet!)
12436
12437 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12438
12439         * text.C (paintLastRow): use the label font instead of the font of
12440         the last character to compute the size of *_BOX. This makes more
12441         sense and avoids a crash with empty paragraphs.
12442         Use Painter::rectangle to draw EMPTY_BOX.
12443
12444 2001-12-19  Juergen Vigna  <jug@sad.it>
12445
12446         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12447         the paragraphs if the replaced paragraph is not the first one!
12448         Tried to delete not used paragraphs but does not work yet so for
12449         now it's inside #ifdef's and by default off!
12450
12451 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12452
12453         * MenuBackend.C: include "lyx_main.h" instead of declaring
12454         lastfiles (actually was declared as LastFiles* instead of a
12455         scoped_ptr).
12456
12457 2001-12-17  Juergen Vigna  <jug@sad.it>
12458
12459         * tabular.C (AppendColumn): applied John's fix
12460
12461 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12462
12463         * BufferView.h:
12464         * BufferView.C:
12465         * BufferView_pimpl.h:
12466         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12467
12468         * Makefile.am:
12469         * box.h: new start of class for above
12470
12471         * lyxfunc.C: ignore space-only minibuffer dispatches.
12472           Show the command name when it doesn't exist
12473
12474         * minibuffer.C: don't add empty lines to the history
12475
12476         * minibuffer.C: add a space on dropdown completion
12477
12478 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12479
12480         * text.C: fix line above/below drawing in insets
12481
12482 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12483
12484         * lyxlength.C (LyXLength): Initialize private variables.
12485
12486 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12487
12488         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12489         when inserting error insets.
12490
12491 2001-12-13  Juergen Vigna  <jug@sad.it>
12492
12493         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12494         actually sometimes the before-paragraph.
12495         (setUndo): don't clear the redostack if we're not actually undoing!
12496
12497 2001-12-06  Juergen Vigna  <jug@sad.it>
12498
12499         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12500         and fixed redoing of main paragraph, so we can use it now ;)
12501
12502         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12503
12504 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12505
12506         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12507         Juergen's request
12508
12509 2001-12-13  André Pönitz <poenitz@gmx.net>
12510
12511         * undostack.[Ch]:
12512         * undo_func.C: minor cleanup
12513
12514 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12515
12516         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12517         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12518         font in urw-fonts package which is marked as -urw-fontspecific and
12519         does not work (incidentally, changing the encoding in the
12520         fonts.dir of this package to -adobe-fontspecific fixes the
12521         problem).
12522
12523         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12524         is a crash when undoing first paragraph (Juergen, please take a
12525         look). THis does not mean the undo fix is wrong, just that it
12526         uncovers problems.
12527
12528         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12529         the (Paragraph*) version when needed instead of duplicating the
12530         code.
12531
12532         * text.C (workWidth): use Inset::parOwner to find out where the
12533         inset has been inserted. This is a huge performance gain for large
12534         documents with lots of insets. If Inset::parOwner is not set, fall
12535         back on the brute force method
12536
12537         * paragraph_pimpl.C (insertInset):
12538         * paragraph.C (Paragraph):
12539         (cutIntoMinibuffer): set parOwner of insets when
12540         inserting/removing them
12541
12542         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12543
12544 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12545
12546         * commandtags.h:
12547         * LyXAction.C:
12548         * lyx_main.C:
12549         * lyxfunc.C:
12550         * mathed/formulabase.C:
12551         * mathed/math_cursor.[Ch]:
12552         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12553
12554
12555 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12556
12557         * lyxlength.[Ch] (operator!=): new function
12558
12559 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12560
12561         * text.C (workWidth): use Inset::parOwner to find out where the
12562         inset has been inserted. This is a huge performance gain for large
12563         documents with lots of insets. If Inset::parOwner is not set, fall
12564         back on the brute force method
12565
12566         * paragraph_pimpl.C (insertInset):
12567         * paragraph.C (Paragraph):
12568         (cutIntoMinibuffer): set parOwner of insets when
12569         inserting/removing them
12570
12571         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12572
12573 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12574
12575         * tabular-old.C (getTokenValue):
12576         * tabular.C (getTokenValue):
12577         (write_attribute): new versions for LyXLength
12578         (everywhere): adjust the use of widths
12579
12580         * tabular.h: change the type of widths from string to LyXLength
12581
12582 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12583
12584         * paragraph.C: fixed missing line number count when exporting
12585         Environments to LaTeX file
12586
12587         * buffer.C: added informational message for checking line numbers.
12588
12589 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12590
12591         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12592         paragraph, do the 'double space' part, but not the 'empty
12593         paragraph' one.
12594
12595         * text.C (workWidth): small optimization
12596         (getLengthMarkerHeight): use minimal size for negative lengths.
12597
12598 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12599
12600         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12601
12602         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12603
12604 2001-12-11  André Pönitz <poenitz@gmx.net>
12605
12606         * FontLoader.C:
12607         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12608
12609 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12610
12611         * text2.C: keep selection on a setFont()
12612
12613 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12614
12615         * lyx_cb.C: another bv->text misuse, from insert label
12616
12617 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12618
12619         * kbsequence.h:
12620         * kbsequence.C: re-instate nmodifier mask
12621
12622 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12623
12624         * lyx_main.h: make lyxGUI private.
12625
12626 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12627
12628         * lyxfind.C: place the cursor correctly on failed search
12629
12630 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12631
12632         * text.C (getLengthMarkerHeight): for small heights, the arrows
12633         are not always on top/bottom of the text
12634         (drawLengthMarker): smaller arrows; take the left margin in
12635         account; draw also vfills.
12636         (paintFirstRow):
12637         (paintLastRow): remove special code for vfill and standard spaces,
12638         since everything is handled in drawLengthMarker now.
12639
12640 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12641
12642         * buffer.C (insertErtContents): try to handle font and language
12643         interaction a bit better.g
12644
12645         * ColorHandler.C (updateColor): change the hash to cover the whole
12646         LColor enum, ws cleanup
12647         (getGCLinepars): ditto
12648         (getGCLinepars): only lookup in the linecache once.
12649
12650 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12651
12652         * iterators.C (operator++): Make the iterator more robust
12653
12654         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12655         (John's patch)
12656         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12657
12658 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12659
12660         * lyxtext.h:
12661         * text.C: better added space drawing
12662
12663 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12664
12665         * LyXView.C:
12666         * BufferView2.C: fix layout combo update on inset unlock
12667
12668 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12669
12670         * Makefile.am: don't compile unused files
12671
12672 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12673
12674         * lyxfunc.C:
12675         * commandtags.h:
12676         * LyXAction.C: remove old LFUN_LAYOUTNO
12677
12678 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12679
12680         * paragraph_pimpl.h:
12681         * paragraph_pimpl.C: isTextAt() doesn't need font param
12682
12683 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12684
12685         * lyxlex.h:
12686         * lyxlex.C: little cleanup
12687
12688 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12689
12690         * BufferView_pimpl.C: fix insertAscii for insets
12691
12692 2001-12-05  Juergen Vigna  <jug@sad.it>
12693
12694         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12695         set the right font on the "multi" paragraph paste!
12696
12697 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12698
12699         * trans_decl.h:
12700         * trans_mgr.[Ch]:
12701         * trans.[Ch]:
12702         * lyxgluelength.C:
12703         * lyxlength.C: remove out-commented code.
12704
12705         * BufferView_pimpl:
12706         * CutAndPaste.C:
12707         * DepTable.C:
12708         * buffer.C:
12709         * chset.C:
12710         * lastfiles.C:
12711         * lyxlex.C:
12712         * lyxlex_pimpl.C:
12713         * lyxserver.C:
12714         * screen.C:
12715         * tabular-old.C:
12716         * tabular.C:
12717         * text.C:
12718         * trans_mgr.C:
12719         * vc-backend.C: change "while(" to "while ("
12720
12721         * lyxlength.[Ch]: add zero function to check if length is zero or
12722         not
12723         * lyxgluelength.C: use it
12724
12725 2001-12-05  Allan Rae  <rae@lyx.org>
12726
12727         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12728         Works for 2.95.3, from what I understand of Garst's reports this should
12729         work for other g++ versions.  We're screwed if the abs(int) definition
12730         changed between bugfix releases of gcc.
12731
12732 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12733
12734         * text.C: fix chapter label offset !
12735
12736 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12737
12738         * lyxtext.h:
12739         * text.C: fix hfill at end of line, clean up
12740
12741 2001-12-04  Juergen Vigna  <jug@sad.it>
12742
12743         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12744         that we force an update of the inset and it's owners if neccessary.
12745
12746 2001-12-03  Juergen Vigna  <jug@sad.it>
12747
12748         * text.C (rowLast): simplified code
12749
12750 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12751
12752         * lyxfunc.C: fix show options on timeout
12753
12754 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12755
12756         * screen.C (topCursorVisible): scroll half a page when the cursor
12757         reached top of bottom of screen
12758
12759 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12760
12761         * minibuffer.C: deactivate on loss of focus
12762
12763 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12764
12765         * vspace.[Ch] (operator!=): add operator.
12766
12767 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12768
12769         * BufferView_pimpl.C: refuse to open an inset when
12770         there's a selection.
12771
12772 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12773
12774         * BufferView_pimpl.C: allow to click on RHS of full row insets
12775
12776 2001-11-30  Juergen Vigna  <jug@sad.it>
12777
12778         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12779         insets for undo reasons.
12780
12781 2001-11-28  André Pönitz <poenitz@gmx.net>
12782
12783         * vspace.[Ch]: cosmetical changes
12784
12785 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12786
12787         * LyXAction.h:
12788         * LyXAction.C:
12789         * lyxfunc.h:
12790         * lyxfunc.C:
12791         * kbmap.h:
12792         * kbmap.C:
12793         * lyxrc.C:
12794         * kbsequence.h:
12795         * kbsequence.C: part re-write of old kb code
12796
12797         * Painter.C:
12798         * WorkArea.C: remove Lgb_bug_find_hack
12799
12800 2001-11-30  José Matos <jamatos@fep.up.pt>
12801
12802         * buffer.C (makeDocBookFile): add a comment to point a hack.
12803         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12804         Fixed a double write of labels.
12805
12806 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12807
12808         * LaTeX.C:
12809         * LaTeX.h Fixed bug in LaTeX class where it would not
12810         re-run latex if no depfiles were changed, but the .dvi was removed.
12811
12812 2001-11-28  André Pönitz <poenitz@gmx.net>
12813
12814         * all the files from the change on 2001/11/26:
12815         use lyx::layout_type instead of LyXTextClass::size_type
12816         use lyx::textclass_type instead of LyXTextClassList::size_type
12817
12818 2001-11-29  Juergen Vigna  <jug@sad.it>
12819
12820         * text.C: added support for paragraph::isFreeSpacing()
12821
12822         * buffer.C: same as above
12823
12824         * paragraph.h: inserted isFreeSpacing() function to enable
12825         FreeSpacing inside InsetERT.
12826
12827         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12828         of the paragraph's in the cut/copy buffer to 0!
12829
12830         * text2.C (removeRow): remove the assert as it can!
12831
12832         * lyxtext.h: added helper function firstRow returning firstrow and
12833         made firstrow private again.
12834
12835         * BufferView2.C (lockInset): don't relock if we're already locked!
12836
12837         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12838         the only paragraph.
12839         (removeRow): added Assert::(firstrow)
12840
12841         * debug.C: forgot to add INSETTEXT here.
12842
12843 2001-11-28  Juergen Vigna  <jug@sad.it>
12844
12845         * sp_spell.C (initialize): changed error text to more general
12846         spellchecker command use (not only ispell!)
12847
12848         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12849
12850         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12851
12852 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12853
12854         * vspace.C: initialise lyxgluelength on failure
12855
12856 2001-11-28  Allan Rae  <rae@lyx.org>
12857
12858         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12859         declaration & definition that looks like a function declaration.
12860
12861 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12862
12863         * BufferView2.C (copy):
12864         (copyEnvironment): do not clear the selection when doing a copy.
12865
12866         * text.C (paintFirstRow): compilation fix
12867
12868 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12869
12870         * tabular.C (Latex): correct line count when writing latex.
12871
12872 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12873
12874         * paragraph_pimpl.h:
12875         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12876           bug a bit
12877
12878 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12879
12880         * text.C:
12881         * LColor.h:
12882         * LColor.C: change vfillline->added_space
12883
12884         * text.C: add markers and text for added space
12885
12886         * vspace.C: fix comment
12887
12888 2001-11-28  André Pönitz <poenitz@gmx.net>
12889
12890         * paragraph.C: whitespace changes
12891         * all the other files from the change on 2001/11/26:
12892         change *::pos_type into lyx::pos_type
12893
12894 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12895
12896         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12897         language of the document when inserting error insets.
12898
12899 2001-11-26  André Pönitz <poenitz@gmx.net>
12900
12901         * BufferView_pimpl.[Ch]:
12902         *       CutAndPaste.C:
12903         * buffer.[Ch]:
12904         * lyxcursor.[Ch]:
12905         * lyxfind.C:
12906         * lyxfunc.C:
12907         * lyxrow.[Ch]:
12908         * paragraph.[Ch]:
12909         * paragraph_pimpl.[Ch]:
12910         * sp_spell.C:
12911         * text.C:
12912         * text2.C: reduce header dependencies, introduce type for positions
12913
12914 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12915
12916         * <various>: change to use Alert.h
12917
12918 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12919
12920         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12921         when encountering an unknown token.
12922         (readLyXformat2): Show an error message if there were unknown tokens.
12923
12924 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12925
12926         * BufferView2.C:
12927         * BufferView_pimpl.C:
12928         * buffer.C:
12929         * paragraph.h:
12930         * text.C:
12931         * text2.C: use par->isInset()
12932
12933 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12934
12935         * paragraph_pimpl.h:
12936         * paragraph_pimpl.C: cleanup
12937
12938 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12939
12940         * text2.C (removeRow):
12941         * text.C (setHeightOfRow): remove useless (and costly) call to
12942         getRow.
12943
12944 2001-11-20  Allan Rae  <rae@lyx.org>
12945
12946         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12947         Now need Inset*::checkInsertChar() to return true for appropriate
12948         cases so that the characters in the minibuffer will actually be
12949         inserted.
12950
12951 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12952
12953         * text.C: change the order of the includes.
12954         (workWidth): initialize it at once.
12955         (workWidth): make maxw unsigned
12956         (setHeightOfRow): remove unused variable (inset)
12957         (selectSelectedWord): remove unused variable (inset)
12958         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12959
12960 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12961
12962         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12963         server is not running.
12964         (openConnection):
12965         (closeConnection): add debug info when server is disabled.
12966
12967         * ColorHandler.C (getGCForeground): send debug message to GUI
12968         channel.
12969
12970         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12971
12972         * kbmap.C (bind): modify because return conventions of
12973         kb_sequence::parse have changed.
12974
12975         * kbsequence.C (parse): only ignore spaces and not any stupid
12976         control character. This avoids tests like s[i] <= ' ', which are
12977         guaranteed to fail with 8bit characters and signed chars.
12978         Change return code to string::npos when there have been no error
12979         (0 was a bad idea when error is at first character)
12980
12981 2001-11-14  José Matos  <jamatos@fep.up.pt>
12982
12983         * buffer.h:
12984         * buffer.C (simpleDocBookOnePar): removed unused argument.
12985
12986 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12987
12988         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12989         insets which are part of a word. Paragraph::isLetter takes care of
12990         that now. Use Paragraph::isInset to identify insets.
12991         (selectSelectedWord): do not test for hyphenation break.
12992
12993         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12994         that protected spaces are considered as spaces.
12995
12996         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12997         Inset::isLetter.
12998
12999 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13000
13001         * lyxserver.h:
13002         * lyxserver.C: fix it. and small cleanup.
13003
13004 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13005
13006         * BufferView_pimpl.C: use inline helpers
13007
13008         * LaTeXFeatures.h:
13009         * LaTeXFeatures.C: fix typos
13010
13011         * Spacing.h:
13012         * Spacing.C: move spacing_string into class
13013
13014         * ToolbarDefaults.C: move stuff into namespace anon
13015
13016         * layout.h: update enum
13017
13018         * lyxfunc.C: use better debug
13019
13020         * minibuffer.h: fix typo
13021
13022         * debug.h:
13023         * debug.C:
13024         * WorkArea.C: add and use Debug::WORKAREA
13025
13026         * lyxtext.h:
13027         * text.C:
13028         * text2.C: code re-organisation, inline helpers
13029
13030 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13031
13032         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13033         std::vector.empty().
13034
13035 2001-11-09  Allan Rae  <rae@lyx.org>
13036
13037         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13038         '\n's after tables.  Tabular and ERT inset work now makes this no
13039         longer necessary.
13040
13041 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13042
13043         * minibuffer.h:
13044         * minibuffer.C: fix crash, improve drop-down completion
13045
13046 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13047
13048         * lyxserver.h:
13049         * lyxserver.C: invalidate fd's when doing endPipe()
13050
13051 2001-11-08  José Matos  <jamatos@fep.up.pt>
13052
13053         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13054         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13055
13056         * paragraph.h:
13057         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13058
13059 2001-11-07  José Matos  <jamatos@fep.up.pt>
13060
13061         * buffer.h:
13062         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13063         const qualifier.
13064
13065         * buffer.C (sgmlOpenTag):
13066         * buffer.C (sgmlCloseTag): removed debug info.
13067
13068         * buffer.h (sgmlOpenTag):
13069         * buffer.h (sgmlCloseTag): made public.
13070
13071 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13072
13073         * buffer.C (saveParamsAsDefaults):
13074         * lyx_cb.C (MenuLayoutSave): remove
13075
13076         * LyXAction.C (init):
13077         * commandtags.h:
13078         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13079
13080 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13081
13082         * buffer.C (setPaperStuff): removed from here...
13083
13084         * bufferparams.C (setPaperStuff): ... and moved there.
13085
13086 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13087
13088         * minibuffer.h:
13089         * minibuffer.C:
13090         * XFormsView.C: add support for drop-down completion
13091
13092 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13093
13094         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13095         commands.
13096
13097 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13098
13099         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13100         disabled.
13101
13102 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13103
13104         * lyx_main.C: change ref to known bugs
13105
13106 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13107
13108         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13109         to work around older babel problems.
13110
13111 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13112
13113         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13114
13115 2001-10-24  Juergen Vigna  <jug@sad.it>
13116
13117         * tabular-old.C (ReadOld): below variable changes reflected.
13118
13119         * tabular.[Ch]: added ltType struct for longtable header/footer
13120         defines and changed all instances where they are used. Added
13121         future support for double top/bottom rows.
13122
13123 2001-10-24  José Matos  <jamatos@fep.up.pt>
13124
13125         * buffer.h (docbookHandleCaption):
13126         * buffer.C (docbookHandleCaption): removed unused function.
13127         (makeDocBookFile): moved docbook supported version to v4.1.
13128
13129 2001-10-24  José Matos  <jamatos@fep.up.pt>
13130
13131         * tabular.h:
13132         * tabular.C (docbookRow): new function to export docbook code of a row.
13133         (DocBook): now honors the longtable flags.
13134
13135 2001-10-23  José Matos  <jamatos@fep.up.pt>
13136
13137         * LaTeXFeatures.h:
13138         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13139         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13140
13141         * buffer.C (makeLinuxDocFile):
13142         (makeDocBookFile): reworked the preamble, more clean, and with
13143         support for lyx defined entities. Changed the document declaration
13144         to be more XML friendly.
13145
13146         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13147         if we need to output XML that should be done with a filter.
13148
13149 2001-10-22  Juergen Vigna  <jug@sad.it>
13150
13151         * sp_pspell.h (class PSpell): add alive function needed in the
13152         controller to see if the spellchecker could be started.
13153
13154 2001-10-22  Juergen Vigna  <jug@sad.it>
13155
13156         * buffer.C (insertStringAsLines): modify the font for inserting
13157         chars in certain conditions by calling checkInsertChar(font).
13158
13159 2001-10-19  Juergen Vigna  <jug@sad.it>
13160
13161         * text.C (workWidth): use getRow instead of wrong algorithm.
13162         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13163
13164 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13165
13166         * lyxserver.h:
13167         * lyxserver.C:
13168         * lyx_main.h:
13169         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13170
13171 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13172
13173         * text.C (workWidth): do not search for the exact row when
13174         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13175         optimization for big documents.
13176
13177 2001-10-18  Juergen Vigna  <jug@sad.it>
13178
13179         * text.C (workWidth): new function with added Inset * parameter.
13180
13181 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13182
13183         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13184
13185         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13186         change return type of getColumnNearX.
13187
13188
13189         * text.C (changeRegionCase): use uppercase/lowercase instead of
13190         toupper/tolower.
13191         (leftMargin):
13192         (rightMargin): simplify code by factoring out the uses of
13193         textclasslist.
13194         (labelFill):
13195         (numberOfHfills):
13196         (setHeightOfRow):
13197         (appendParagraph): use Paragraph::size_type
13198
13199 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13200
13201         * vspace.C (asLatexString): add a missing break
13202
13203 2001-10-15  Herbert Voss  <voss@perce.de>
13204
13205         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13206
13207 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13208
13209         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13210         is not available.
13211
13212 2001-10-10  André Pönitz <poenitz@gmx.net>
13213
13214         * lyxfunc.C: removed greek_kb_flag.
13215
13216 2001-10-10  Herbert Voss  <voss@perce.de>
13217
13218         * lyx_main.C: delete global string help_lyxdir.
13219
13220 2001-10-09  Herbert Voss  <voss@perce.de>
13221
13222         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13223
13224         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13225
13226         * lyx_main.C: added global string help_lyxdir.
13227
13228         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13229
13230 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13231
13232         * lyxrc.C (set_font_norm_type): support iso8859-4
13233
13234 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13235
13236         * LaTeX.C (deplog): add another regex for MikTeX
13237
13238 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13239
13240         * lyxrc.C (set_font_norm_type): support iso8859-3
13241
13242 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13243
13244         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13245
13246         * LaTeXFeatures.C: remove special case of french and index
13247
13248         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13249         before \begin{document}). This solves several incompatibilities.
13250
13251 2001-10-03  Garst Reese  <reese@isn.net>
13252
13253         * lyx_cb.C: change CheckTex error msg.
13254
13255 2001-10-03  José Matos  <jamatos@fep.up.pt>
13256
13257         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13258
13259 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13260
13261         * .cvsignore: update
13262
13263         * lyx_main.C (commandLineVersionInfo): use new style version info.
13264
13265         * buffer.C (writeFile):
13266         (makeLaTeXFile):
13267         (makeLinuxDocFile):
13268         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13269
13270         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13271
13272         * version.h: update to use stuff in version.C
13273
13274         * version.C.in: new file. Contains version information determined
13275         at compile time. This is a merging of version.h and
13276         version_info.h.in.
13277
13278 2001-10-03  Juergen Vigna  <jug@sad.it>
13279
13280         * BufferView_pimpl.C (update): don't change "dirty" status in
13281         updateInset call.
13282
13283 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13284
13285         * WorkArea.C (c-tor): re-position version string slightly.
13286
13287 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13288
13289         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13290         revert to previous code.
13291
13292         WorkArea.[Ch]: (show, destroySplash): methods removed.
13293
13294         WorkArea.C: rework code so that it's an amalgam of the codes before and
13295         after the splash screen was moved to WorkArea.
13296
13297 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13298
13299         * lyxrc.C (read):
13300         * vspace.C (inPixels):
13301         (lyx_advance):
13302         * kbmap.C (bind):
13303         * buffer.C (insertStringAsLines):
13304         (asciiParagraph): fix types to be large enough
13305
13306         * lyxlex_pimpl.h: change member status from short to int
13307
13308         * layout.h: fix type of endlabeltype
13309
13310         * kbmap.C (bind):
13311         * kbsequence.C (parse): change return type to string::size_type
13312
13313         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13314         variable
13315
13316         * Bullet.C (bulletSize):
13317         (bulletEntry): do not use short ints as parameters
13318
13319         * BufferView2.C (insertLyXFile): change a char to an int.
13320
13321         * WorkArea.C (WorkArea): remove unneeded floats in computation
13322
13323 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13324
13325         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13326
13327         * paragraph.C (asString): Do not ignore newline/hfill chars when
13328         copying to the clipboard.
13329
13330 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13331
13332         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13333         after a multi-line inset.
13334
13335 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13336
13337         * paragraph.C (validate): Set NeedLyXFootnoteCode
13338
13339 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13340
13341         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13342         and decrease-error to decrease.
13343
13344 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13345
13346         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13347         it more readable (should be equivalent)
13348
13349 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13350
13351         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13352
13353 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13354
13355         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13356         of a cursor (row, etc.) after a character has been deleted
13357         (deleteEmptyParagraphMechanism): call the method above on _all_
13358         cursors held by the LyXText when a double space has been
13359         detected/deleted.
13360
13361 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13362
13363         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13364         pixmap.
13365         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13366
13367         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13368         background. Use greyOut() and the new show() methods to toggle between
13369         the foreground and background. Add code to remove the splash after
13370         its initial showing.
13371
13372         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13373         (create_forms): no longer call Dialogs::showSplash.
13374
13375 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13376
13377         * .cvsignore: add version_info.h
13378
13379 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13380
13381         * version_info.h.in: new file
13382
13383         * Makefile.am: add version_info.h.in
13384
13385         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13386         version_info.h instead of VERSION_INFO
13387
13388 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13389
13390         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13391         The ERT inset now returns string().
13392
13393 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13394
13395         * lyxtext.h, text.C (selectNextWord): renamed as
13396         selectNextWordToSpellcheck.
13397
13398         * text.C (selectNextWordToSpellcheck): Modified to not select
13399         words inside an ERT inset.
13400
13401 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13402
13403         * lyx_cb.C (MenuLayoutSave): change a bit the question
13404
13405         * sp_base.h: include <sys/types.h>
13406
13407 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13408
13409         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13410
13411 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13412
13413         * several files: fix typos in user-visible strings
13414
13415 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13416
13417         * text2.C (pasteSelection): do not set the selection, since it
13418         will be cleared later. Actually, the intent was to fix the way the
13419         selection was set, but I figured rmoving the code was just as good.
13420
13421 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13422
13423         * FontLoader.C (available): Check if font is available without
13424         loading the font.
13425
13426 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13427
13428         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13429
13430 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13431
13432         * lyxrc.[Ch]: added display_graphics variable and associated code.
13433
13434 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13435
13436         * bufferparams.C (hasClassDefaults): new method. Returns true if
13437         the buffer parameters correspond to known class defaults
13438
13439 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13440
13441         * XFormsView.C (show): set minimum size to the main window.
13442
13443 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13444
13445         * text2.C (copySelection):
13446         (cutSelection):
13447         * lyxfind.C (LyXReplace):
13448         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13449         LyXText::selectionAsString.
13450
13451         * paragraph.C (asString): add "label" argument to the second form
13452
13453         * text2.C (selectionAsString): add "label" argument and pass it to
13454         Paragraph::asString.
13455
13456 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13457
13458         * lyx_main.C (commandLineHelp): remove version information
13459
13460 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13461
13462         * lyx_main.C: add -version commandline option
13463
13464 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13465
13466         * paragraph.h: make the optional constructor arg required instead.
13467         some modifications to other files because of this.
13468
13469         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13470
13471         * lyxserver.C (C_LyXComm_callback): make it static
13472
13473         * lyx_main.C (error_handler): make it static
13474
13475         * lyx_gui.C (LyX_XErrHandler): make it static
13476
13477         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13478
13479         * WorkArea.C: make the extern "C" methods static.
13480
13481         * Makefile.am (lyx_LDADD): simplify
13482
13483 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13484
13485         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13486         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13487
13488         * LyXAction.C (init):
13489         * lyxfunc.C (dispatch): associated code removal.
13490
13491 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13492
13493         * lyxfont.h (isSymbolFont): shut off warning
13494
13495         * text.C (setHeightOfRow):
13496         (getVisibleRow): fix crash with empty paragraphs which have a
13497         bottom line
13498
13499 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13500
13501         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13502         code.
13503
13504 2001-09-04  José Matos  <jamatos@fep.up.pt>
13505         * buffer.C
13506         * buffer.h
13507         * tabular.C (docbook): rename docBook method to docbook.
13508
13509 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13510
13511         * Makefile.am: add dependencies to main.o.
13512
13513 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13514
13515         * FontLoader.C (available): Return false if !lyxrc.use_gui
13516
13517 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13518
13519         * FontInfo.C (query):
13520         * converter.C (view):
13521         * importer.C (Import):
13522         * exporter.C (Export): Can not -> cannot.
13523
13524 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13525
13526         * BufferView_pimpl.C: allow to create index inset even if
13527           string is empty
13528
13529 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13530
13531         * buffer.C (getLists): replace boost::tie code with an explicit pair
13532         as boost::tie can break some compilers.
13533
13534         * iterators.h: Added a std:: declaration to the return type of
13535         ParIterator::size.
13536
13537 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13538
13539         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13540           case.
13541
13542 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13543
13544         * iterators.[Ch]: New files. Provide paragraph iterators.
13545
13546         * buffer.C (changeLanguage): Use paragraph iterators.
13547         (isMultiLingual): ditto
13548
13549         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13550
13551 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13552
13553         * FontLoader.C: Support for cmr font.
13554
13555 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13556
13557         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13558         (available): New method.
13559
13560         * FontInfo.C (getFontname): Use scalable fonts even when
13561         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13562         found.
13563
13564 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13565
13566         * converter.C (Formats::view): reverted! Incorrect fix.
13567
13568 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13569
13570         * converter.C (Formats::view): only output the -paper option
13571         if the dvi viewer is xdvi, thereby fixing bug #233429.
13572
13573 2001-08-23  Herbert Voss  <voss@perce>
13574
13575         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13576
13577 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13578
13579         * Spacing.h (Spacing): Set space to Default on in the default
13580         constructor.
13581
13582 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13583
13584         * vc-backend.h (RCS::versionString): add RCS to version
13585         (CVS::versionString): add CVS to version
13586
13587         * vc-backend.C (scanMaster): do not add CVS to version.
13588         (scanMaster): do not add RCS to version
13589
13590         * lyxvc.C (versionString): new method
13591
13592         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13593
13594 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13595
13596         * Spacing.C (set): initialize fval
13597
13598 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13599
13600         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13601         " or \.
13602
13603 2001-08-16  Juergen Vigna  <jug@sad.it>
13604
13605         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13606
13607 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13608
13609         * BufferView_pimpl.C:
13610         * figureForm.C:
13611         * lyxtext.h:
13612         * text2.C: setParagraph takes linespacing now
13613
13614 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13615
13616         * LyxAction.C: add internal LFUN_CITATION_INSERT
13617
13618         * LyXView.C: actually apply fix
13619
13620         * bufferlist.C: fix open non-existent file
13621
13622         * lyxfind.C: fix indentation
13623
13624         * lyxfunc.C: remove unneeded assert, fix typo
13625
13626 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13627
13628         * MenuBackend.C: use "Floatname List"
13629
13630 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13631
13632         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13633         when converting LaTeX layout to insetERT.
13634         Generate a non-collapsed float when reading old float
13635
13636 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13637
13638         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13639         ERT insets.
13640
13641 2001-08-13  Juergen Vigna  <jug@sad.it>
13642
13643         * text.C (fill): return 0 instead of 20 as this seems to be the more
13644         correct value.
13645
13646 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13647
13648         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13649         lyxrc.font_norm.
13650
13651 2001-08-13  Juergen Vigna  <jug@sad.it>
13652
13653         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13654         casesensitive off.
13655         (SearchBackward): comment out the unlocking of the inset_owner this
13656         should not be needed!
13657
13658 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13659
13660         * Many files: Remove inherit_language, and add latex_language
13661
13662         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13663         collapsible insets.
13664
13665 2001-08-10  Juergen Vigna  <jug@sad.it>
13666
13667         * text.C (prepareToPrint): fixed hfill-width in draw!
13668
13669         * BufferView2.C (selectLastWord): save the selection cursor as this
13670         now is cleared in the function LyXText::clearSelection!
13671
13672 2001-08-08  Juergen Vigna  <jug@sad.it>
13673
13674         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13675         BACKSPACE type functions.
13676
13677         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13678         is only cutted from the document but not put in the cut-buffer, where
13679         still the old stuff should be.
13680
13681         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13682
13683         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13684
13685         * tabular.C (SetWidthOfCell): fixed special case where the width
13686         was not updated!
13687         (LeftLine): handle '|' in align_special.
13688         (RightLine): ditto
13689         (LeftAlreadyDrawed): ditto
13690         (SetWidthOfCell): ditto
13691
13692 2001-08-07  Juergen Vigna  <jug@sad.it>
13693
13694         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13695
13696 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13697
13698         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13699         * lyxlex.[hC]: ditto
13700
13701 2001-08-06  Juergen Vigna  <jug@sad.it>
13702
13703         * text.C (getVisibleRow): fix up row clearing a bit.
13704
13705 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13706
13707         * minibuffer.C: make sure the X server sees the changes in the input.
13708
13709 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13710
13711         * paragraph.C (getFont): split into...
13712         (getLabelFont): this
13713         (getLayoutFont): and this
13714         * paragraph_pimpl.C (realizeFont): calling this
13715
13716         * text2.C (getFont): split into...
13717         (getLayoutFont): this
13718         (getLabelFont): and this
13719         (realizeFont): all three calling this
13720
13721         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13722         files where used.
13723
13724 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13725
13726         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13727
13728 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13729
13730         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13731         layouts from the Quote inset insertion.
13732
13733 2001-08-03  Juergen Vigna  <jug@sad.it>
13734
13735         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13736
13737         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13738         only if status not is already CHANGED_IN_DRAW (second level).
13739
13740         * text.C (draw): don't set the need_break_row when inside an
13741         InsetText LyXText.
13742
13743 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13744
13745         * buffer.C (parseSingleLyXformat2Token): handle more latex
13746         conversion cases.
13747
13748         * bufferview_funcs.[hC]: change function names to
13749         begin with small char, adjust other files.
13750
13751 2001-08-02  André Pönitz <poenitz@gmx.net>
13752
13753         * lyxfunc.C:
13754         BufferView_pimpl.C: remove broken special code for math-greek
13755
13756 2001-08-02  Juergen Vigna  <jug@sad.it>
13757
13758         * BufferView_pimpl.C (update): redone this function so that we
13759         update the text again if there was a CHANGE_IN_DRAW.
13760
13761         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13762         (drawFromTo): added a new internal bool which is used by draw() and
13763         redraw() function.
13764         (general): some cursor drawing problems fixed.
13765
13766 2001-08-01  Juergen Vigna  <jug@sad.it>
13767
13768         * lyxfind.C (LyXFind): fixed
13769         (SearchForward): ditto
13770         (SearchBackward): ditto
13771
13772         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13773         spurius drawing of the cursor in the main area.
13774
13775         * text2.C (status): small fix which could lead to a segfault!
13776         (clearSelection): remove unneeded BufferView param.
13777
13778 2001-08-01  André Pönitz <poenitz@gmx.net>
13779
13780         * lyxfunc.C: small change due to changed mathed interface
13781
13782 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13783
13784         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13785
13786 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13787
13788         * lyxfunc.c: fail gracefully if file doesn't exist
13789
13790         * LyXSendto.C:
13791         * buffer.C:
13792         * lyxfunc.C:
13793         * BufferView_pimpl.C: IsDirWriteable() proto changed
13794
13795         * LyXView.C: fix updateWindowTitle() to store the last title
13796
13797 2001-07-31  Juergen Vigna  <jug@sad.it>
13798
13799         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13800         the font (wrong since using of Paragraph::highestFontInRange).
13801
13802         * paragraph.C (highestFontInRange): added a default_size parameter.
13803
13804         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13805         (setHeightOfRow): reformat
13806
13807 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13808
13809         * converter.[hC] + affected files: move to (inital-char)lowercase
13810         function names.
13811
13812         * ParagraphParameters.C (ParagraphParameters): remove commented code
13813
13814         * PainterBase.[Ch]: remove commented code
13815
13816         * LaTeXFeatures.h: add "bool floats" for float.sty
13817
13818         * LaTeXFeatures.C (LaTeXFeatures): init floats
13819         (require): handle float
13820         (getPackages): do it with floats
13821
13822 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13823
13824         * BufferView_pimpl.C (Dispatch): improve handling of
13825         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13826
13827         * commandtags.h: #include lyxfont.h here temporarily to avoid
13828         keybinding bug.
13829
13830         * bufferlist.h: include LString.h here.
13831
13832 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13833
13834         * text2.C (getStringToIndex): new method.
13835
13836 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13837
13838         * *: Reduced header file dependencies all over.
13839
13840 2001-07-30  Baruch Even  <baruch@lyx.org>
13841
13842         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13843
13844 2001-07-29  Baruch Even  <baruch@lyx.org>
13845
13846         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13847
13848 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13849
13850         * ParameterStruct.h (endif): add a default constructor to make
13851         sure that all variables is initialized.
13852
13853         * ParagraphParameters.C (ParagraphParameters): adjust
13854
13855 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13856
13857         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13858         index; also, check that there is something to index, and that it
13859         does not span over several paragraphs.
13860         (doubleClick): use WHOLE_WORD_STRICT for double click.
13861
13862         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13863
13864         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13865         scheme.
13866
13867 2001-07-26  Baruch Even  <baruch@lyx.org>
13868
13869         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13870         an InsetFig figure, backwards compatible reading of old figure code.
13871
13872 2001-07-27  Juergen Vigna  <jug@sad.it>
13873
13874         * text2.C: font.realize function adaption.
13875
13876         * text.C (draw): add a warnings lyxerr text if needed.
13877
13878         * layout.C: font.realize function adaption.
13879
13880         * language.C: add inherit_language and implement it's handlings
13881
13882         * bufferview_funcs.C (StyleReset): remove language parameter from
13883         font creation (should be language_inherit now).
13884
13885         * bufferparams.C (writeFile): handle ignore_language.
13886
13887         * paragraph.C (getFontSettings): the language has to be resolved
13888         otherwise we have problems in LyXFont!
13889
13890         * lyxfont.C (lyxWriteChanges): added document_language parameter
13891         (update): removed unneeded language parameter
13892
13893         * paragraph.C (validate): fixed wrong output of color-package when
13894         using interface colors for certain fonts in certain environments,
13895         which should not seen as that on the final output.
13896
13897 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13898
13899         * BufferView_pimpl.C:
13900         * Thesaurus.h:
13901         * Thesaurus.C:
13902         * Makefile.am:
13903         * commandtags.h:
13904         * LyXAction.C: add thesaurus support
13905
13906         * lyxfind.h:
13907         * lyxfind.C: add "once" parameter, for thesaurus, to not
13908           move to the next match
13909
13910 2001-07-26  Juergen Vigna  <jug@sad.it>
13911
13912         * lyxfont.C (realize): honor ignore_language too!
13913         (resolved): ditto.
13914
13915         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13916
13917         * text.C (draw): one place more for ignore_language to not draw
13918         itself!
13919
13920 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13921
13922         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13923
13924 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13925
13926         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13927         the minipage conversion problem.
13928
13929 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13930
13931         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13932         insert an inset.
13933
13934 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13935
13936         * BufferView.h: don't forward declare WorkArea
13937
13938         * BufferView.C: don't include WorkArea.h
13939
13940 2001-07-25  André Pönitz <poenitz@gmx.net>
13941
13942         * commandtags.h:
13943         * LyXAction.C:
13944         * lyxfunc.C:  new LFUN 'math-space'
13945
13946         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13947
13948 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13949
13950         * text2.C (toggleInset): call open/close
13951
13952 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13953
13954         * lyxfunc.C (dispatch): add debug for the disabled case
13955
13956         * font.C (buttonText): make similar to rectText
13957
13958         * buffer.C (readInset): comment out parsing of insetlist and
13959         insttheorem
13960
13961         * PainterBase.C (rectText): small correction
13962
13963         * BufferView_pimpl.C: comment out insettheorem and insetlist
13964         * LyXAction.C: ditto
13965         * commandtags.h: ditto
13966
13967 2001-07-24  Juergen Vigna  <jug@sad.it>
13968
13969         * text.C (draw): honor the ignore_language.
13970
13971         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13972
13973 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13974
13975         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13976         char inset.
13977
13978 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13979
13980         * lyxtext.h: remove unused (and unimplemented) methods
13981
13982 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13983
13984         * text.C (getVisibleRow): honor background color
13985
13986         * PainterBase.h:
13987         * Painter.h: remove default color argument for fillRectangle
13988
13989         * text.C (backgroundColor): new method
13990
13991 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13992
13993         * text.C (getVisibleRow): adjust
13994
13995         * font.[Ch] (rectText): new method, metrics
13996         (buttonText): new method, metrics
13997
13998         * PainterBase.[hC]: make rectText and buttonText always draw and take
13999         fewer paramteres.
14000
14001 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14002
14003         * ToolbarDefaults.C (read):
14004         * MenuBackend.C (read): allow escaping in all strings
14005
14006         * BufferView_pimpl.C (insertAndEditInset): new method.
14007         (Dispatch): use insertAndEditInset whenever appropriate.
14008
14009         * BufferView_pimpl.C (insertNote): removed
14010
14011         * BufferView_pimpl.C (smartQuote): new method, moved from
14012         BufferView; if an insetquote cannot be inserted, insert a '"'
14013         character instead.
14014
14015         * BufferView2.C: remove insertCorrectQuote();
14016
14017         * lyxfunc.C (getStatus): Add support for all remaingin
14018         inset-insert lfuns.
14019
14020         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14021
14022         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14023         command (necessary to pass " as parameter of self-insert.
14024
14025         * text.C (selectWordWhenUnderCursor):
14026         (selectWord): add word_location parameter
14027         (selectWordWhenUnderCursor): same + remove special code for word
14028         boundary.
14029         (selectNextWord): use kind() to guess type of insetspecialchar,
14030         not latex().
14031
14032         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14033         (insertErtContents): create ert insets as collapsed.
14034         (readInset): better compatibility code for Info inset.
14035
14036 2001-07-20  Juergen Vigna  <jug@sad.it>
14037
14038         * lyxfunc.C (dispatch): use always LyXFind now!
14039
14040         * text2.C (init): add a reinit flag so that the LyXText can be
14041         reinited instead of deleted and reallocated (used in InsetText).
14042
14043         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14044
14045         * text.C: ditto
14046
14047         * text2.C: ditto
14048
14049 2001-07-18  Juergen Vigna  <jug@sad.it>
14050
14051         * text.C (selectNextWord): handle insets inside inset by calling
14052         always the bv->text functions so that we can go up the_locking_inset!
14053
14054         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14055         in strange locations when inside an inset!
14056
14057         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14058         handling to include insets.
14059
14060         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14061
14062 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14063
14064         * LyXAction.C (init):
14065         * commandtags.h:
14066         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14067         LIGATURE_BREAK, since the name is so stupid.
14068
14069 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14070
14071         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14072         InsetInfos.
14073
14074         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14075
14076         * sp_form.[Ch]: remove.
14077
14078         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14079
14080         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14081         InsetInfo.
14082
14083         * src/buffer.C (readInset): ditto.
14084
14085 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14086
14087         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14088         menuSeparator(), endOfSentenceDot(), ldots() and
14089         hyphenationPoint(), which are therefore removed.
14090         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14091
14092         * LyXAction.C (init):
14093         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14094
14095         * paragraph.C (getWord): removed.
14096
14097         * BufferView_pimpl.C (Dispatch): use last word or selection for
14098         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14099
14100         * lyx_main.C (queryUserLyXDir): do not ask before creating
14101         user_dir, except if it has been named explicitely.
14102
14103 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14104
14105         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14106         a document of zero size.
14107
14108 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14109
14110         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14111         approriately in the c-tor and in require().
14112         (getPackages): output the appropriate LaTeX for natbib support.
14113
14114         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14115         variables "use_natbib" and "use_numerical_citations" when reading the
14116         LyX file.
14117         (readInset): read the various natbib cite commands.
14118         (validate): white-space change.
14119
14120         * bufferparams.[Ch]: new variables "bool use_natbib" and
14121         "bool use_numerical_citations".
14122         (writeFile): output them in the LyX file.
14123
14124 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14125
14126         * lyxfunc.C (getStatus): add support for all the inset insertion
14127         commands.
14128
14129         * text2.C (insertInset):
14130         * paragraph.C (insetAllowed):
14131         * BufferView_pimpl.C (insertInset): update to take in account the
14132         renaming of insertInsetAllowed
14133
14134         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14135
14136         * text2.C (getInset): new method. returns inset at cursor position.
14137
14138         * BufferView_pimpl.C (Dispatch): changes because of this.
14139
14140         * LyXAction.C (init): rename open-stuff to inset-toggle.
14141
14142         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14143
14144         * text2.C (toggleInset): renamed from openStuff; use
14145         Inset::open().
14146
14147 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14148
14149         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14150
14151         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14152
14153 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14154
14155         * buffer.C (readLyXformat2): Add filename to the error dialog
14156
14157 2001-07-18  Juergen Vigna  <jug@sad.it>
14158
14159         * tabular.C (GetCellNumber): put an assert here instead of the check!
14160
14161 2001-07-17  Juergen Vigna  <jug@sad.it>
14162
14163         * BufferView_pimpl.C (toggleSelection): adapted too.
14164
14165         * text.C (selectNextWord): adapted for use with insets.
14166         (selectSelectedWord): ditto
14167
14168 2001-07-17  Juergen Vigna  <jug@sad.it>
14169
14170         * sp_spell.C (PSpell): fix initialitation order.
14171
14172 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14173
14174         * paragraph.C: spacing
14175
14176 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14177
14178         * sp_spell.C: repair language selection for pspell
14179
14180 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14181
14182         * lyxfunc.h: change more methods to begin with lower char.
14183
14184 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14185
14186         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14187         for unknown layouts.
14188
14189 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14190
14191         * buffer.C (readLyXformat2): Generate an error dialog if there are
14192         unknown layouts.
14193
14194 2001-07-16  Juergen Vigna  <jug@sad.it>
14195
14196         * sp_spell.C: always compile ISpell part.
14197
14198         * lyxrc.C: added use_pspell entry and it's handling.
14199
14200 2001-07-13  Juergen Vigna  <jug@sad.it>
14201
14202         * sp_spell.C: removed double includes.
14203
14204 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14205
14206         Consistent use of Lsstream.h:
14207         * Lsstream.h: added using std::stringstream for consistencies sake.
14208
14209         * buffer.C: removed using std::stringstream
14210
14211         * lyxfont.C (stateText):
14212         * paragraph.C (asString):
14213         * text.C (selectNextWord, selectSelectedWord):
14214         * text2.C (setCounter):
14215         * vspace.C (asString, asLatexString):
14216         std::ostringstream -> ostringstream.
14217
14218 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14219
14220         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14221         * commandtags.h: add LFUN_HELP_ABOUTLYX
14222         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14223
14224 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14225
14226         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14227         cursorToggle()
14228         * lyx_gui_misc.C: remove spellchecker
14229         * lyxfunc.C: showSpellchecker
14230         * sp_base.h: added
14231         * sp_ispell.h: added
14232         * sp_pspell.h: added
14233         * sp_spell.C: added
14234         * sp_form.[Ch]: removed
14235         * spellchecker.[Ch]: removed
14236
14237 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14238
14239         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14240         is set.
14241         (simpleTeXSpecialChars): Simply print the input character without
14242         any special translation if pass_thru is set.
14243
14244         * layout.h: Added bool pass_thru to layout class for being able to
14245         implement pass through of a paragraph for Literate Programming.
14246
14247         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14248         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14249         * layout.C (Read): add "passthru" to list of layout tags and add
14250         code to set the pass_thru boolean when it is read.
14251
14252 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14253
14254         * trans_decl.h: remove allowed from KmodInfo
14255
14256         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14257         remove allowed code
14258         (Load): adjust
14259
14260         * paragraph_pimpl.C (erase): use boost::prior
14261
14262         * Painter.C (text): use data() instead of c_str() when length is
14263         also provided.
14264         * WorkArea.C (putClipboard): ditto
14265         * font.h (width): ditto
14266
14267         * BufferView2.C: use it-> instead of (*it). for iterators
14268         * texrow.C: ditto
14269         * paragraph_pimpl.C: ditto
14270         * paragraph.C: ditto
14271         * minibuffer.C: ditto
14272         * language.C: ditto
14273         * kbmap.C: ditto
14274         * encoding.C: ditto
14275         * counters.C: ditto
14276         * converter.C: ditto
14277         * chset.C: ditto
14278         * Variables.C: ditto
14279         * TextCache.C: ditto
14280         * MenuBackend.C: ditto
14281         * LyXAction.C: ditto
14282         * LColor.C: ditto
14283         * FloatList.C: ditto
14284         * DepTable.C: ditto
14285         * ColorHandler.C (LyXColorHandler): ditto
14286
14287 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14288
14289         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14290
14291         * text2.C (openStuff): reintroduce this method (which had been
14292         nuked in NEW_INSETS frenzy).
14293
14294         * lyxfunc.C (Dispatch): when an action has not been handled, use
14295         its name in the error message, not its number.
14296
14297         * paragraph.C (inInset): change method name to begin with lowercase.
14298
14299         * undo_funcs.C:
14300         * text2.C: updates because of this.
14301
14302 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14303
14304         * ToolbarDefaults.C (add): add spaces in error message
14305
14306 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14307
14308         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14309         (readLyXformat2): rename return_par to first_par, use lyxlex's
14310         pushToken and remove the manual push handling.
14311         (parseSingleLyXformat2Token): add another ert comp. variable:
14312         in_tabular, rename return_par to first_par. handle newlines better
14313
14314 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14315
14316         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14317
14318 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14319
14320         * text2.C (getParFromID): removed
14321
14322         * buffer.C (getParFromID): new method moved form lyxtext.
14323         * BufferView2.C (insertErrors): adjust
14324         (setCursorFromRow): adjust
14325         * BufferView_pimpl.C (restorePosition): adjust
14326         * lyxfunc.C (Dispatch): adjust
14327         * undo_funcs.C (textUndo): adjust
14328         (textRedo): adjust
14329         (textHandleUndo): adjust
14330         (textHandleUndo): adjust
14331
14332 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14333
14334         * buffer.C: up' the LYX_FORMAT
14335
14336         * lyxfont.h: turn NO_LATEX on as default
14337
14338         * buffer.C (insertErtContents): new methods of tex style compability.
14339         (parseSingleLyXformat2Token): use it several places.
14340         * tabular.C (OldFormatRead): and here
14341
14342 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14343
14344         * text2.C: remove some commented code.
14345         reindent file.
14346
14347         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14348         * trans.C: changes because of the above.
14349
14350 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14351
14352         * text2.C (setCounter): Fix counters bug with bibliography layout.
14353
14354 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14355
14356         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14357         own member functions
14358         (simpleTeXSpecialChars): ditto
14359
14360 2001-07-06  Juergen Vigna  <jug@sad.it>
14361
14362         * a lot of files: changed the access to LyXText::status and the
14363         call of undo-functions.
14364
14365         * undo.[Ch]: added a inset_id to the undo informations.
14366
14367         * undo_funcs.[Ch]: added and moved here all undo functions.
14368
14369         * lyxtext.h: give the status enum a weight, made status_ a private
14370         variable and made accessor functions for it, removed the whole bunch
14371         of undo-functions as they are now in their own file, make some
14372         functions publically available. Added function ownerParagraph with
14373         int parameter.
14374
14375         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14376         made InInset() a const function, added getParFromID() function.
14377
14378         * buffer.[Ch]: added const version for inset_iterator functions,
14379         added getInsetFromID() function.
14380
14381         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14382         changed undo functions for new version.
14383
14384 2001-07-05  Juergen Vigna  <jug@sad.it>
14385
14386         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14387         unknow mechanism does not call the proper constructor but only this
14388         one also if I request the other!?
14389
14390 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14391
14392         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14393
14394         * text2.C (LyXText): use initialization lists.
14395
14396         * lyxtext.h (Selection): initialize set_ and mark_
14397         (init): remove method
14398
14399 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14400
14401         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14402
14403 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14404
14405         * screen.[Ch]: change method names to begin with lowercase
14406
14407         * BufferView_pimpl.C (updateScrollbar): simplify further and
14408         hopefully make it a bit faster.
14409
14410 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14411
14412         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14413         calling directly xforms functions.
14414
14415         * Painter.C (Painter):
14416         * lyx_cb.C (MenuWrite):
14417         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14418         fl_display.
14419
14420         * lyx_gui.C: remove bogus guiruntime extern declaration.
14421
14422 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14423
14424         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14425         in NEW_INSETS
14426         (redoDrawingOfParagraph): ditto
14427         (redoParagraphs): ditto
14428         (cutSelection): don't create a object for CutAndPaste use the
14429         static method directly
14430         (pasteSelection): ditto
14431
14432         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14433         LyXview (+ rename)
14434
14435 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14436
14437         * modifications to some other files because of this.
14438
14439         * Makefile.am (lyx_SOURCES): add XFormsView
14440
14441         * XFormsView.[Ch]: new files
14442
14443         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14444         the main window. Move the gui dependent stuff to XFormsView
14445
14446 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14447
14448         * tabular.C (GetCellInset): update cur_cell also in the row/col
14449         version of this function.
14450
14451         * lyxfunc.C: no need to include figure_form.h here.
14452
14453         * FontLoader.h:
14454         * lyxfunc.h:
14455         * lyxscreen.h:
14456         * text2.C:
14457         * lyxvc.C: no need to include forms.h here.
14458
14459 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14460
14461         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14462
14463         * lyxfunc.C (Dispatch):
14464         * Spacing.C (set):
14465         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14466         constructor argument.
14467
14468 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14469
14470         * paragraph.C (Paragraph): dont't clear, and just set layout.
14471         (makeSameLayout): use params's copy contructor.
14472
14473         * ParagraphParameters.[Ch] (makeSame): delete method
14474
14475 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14476
14477         * Variables.[Ch]: fix indentation, rename set to isSet
14478
14479 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14480
14481         * lyxfunc.C (Dispatch): fix typo
14482
14483 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14484
14485         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14486         upper_bound.
14487
14488         * bufferlist.C: include assert.h for emergencyWrite().
14489
14490 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14491
14492         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14493           give up at last (bug #425202) !
14494
14495 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14496
14497         * lyx_gui_misc.C:
14498         * sp_form.h:
14499         * sp_form.C:
14500         * spellchecker.h:
14501         * spellchecker.C: strip spellchecker options and bring up
14502           preferences tab instead
14503
14504 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14505
14506         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14507         the istringstream constructor
14508
14509 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14510
14511         * paragraph.C (getLayout): fix return value
14512
14513         * paragraph.h: do not declare getLayout as inline.
14514
14515         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14516
14517 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14518
14519         * lyxcursor.h (operator<): new func
14520         (operator>): new func
14521         (operator>=): new func
14522         (operator<=): new func
14523
14524         * text.C (changeCase): use selection.start and selection.end
14525         (changeRegionCase): require from to be <= to. Require par to be a
14526         valid paragraph.
14527
14528         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14529
14530 2001-06-27  Juergen Vigna  <jug@sad.it>
14531
14532         * text.C (cursorLeftOneWord): changed to return the cursor and added
14533         overlay with BufferView * parameter which calls this one.
14534         (getWord): added
14535         (selectWord): use new getWord function.
14536         (changeCase): renamed from changeWordCase as and extended to work
14537         also on selections.
14538
14539         * lyxtext.h: added enum word_location
14540
14541         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14542         changeCase as this operates now also on selections.
14543
14544 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14545
14546         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14547
14548         * many files: send debug output to Debug::INFO instead of
14549         Debug::ANY.
14550
14551         * converter.C (View):
14552         (Convert):
14553         (Move): send debug output to Debug::FILES instead of console.
14554
14555 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14556
14557         * lyxfunc.C (getStatus): use func_status
14558
14559         * func_status.h: new header, describing the results of
14560         LyXFunc::getStatus;
14561
14562         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14563         LFUN_MATH_HALIGN.
14564
14565 2001-06-25  The LyX Project  <jug@sad.it>
14566
14567         * buffer.C (sgmlOpenTag):
14568         (sgmlCloseTag):
14569         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14570
14571 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14572
14573         * text2.C: remove some dead code
14574
14575         * tabular.C (GetCellInset): store the last cell checked (gotten)
14576
14577         * tabular.h: add the helper for the speedup
14578
14579         * lyxtext.h: remove some dead code
14580
14581 2001-06-26  The LyX Project  <Asger>
14582
14583         * paragraph.C: Change export to LaTeX of alignment to
14584         \begin{center} and family for better roundtrip work with reLyX.
14585
14586         * Tune the math drawing a bit.
14587
14588 2001-06-25  The LyX Project  <Asger>
14589
14590         * LColor.C (LColor): New color for math background. New color
14591         for buttons.
14592
14593 2001-06-25  The LyX Project  <jug@sad.it>
14594
14595         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14596
14597         * lyxfunc.C (Open):
14598         * bufferlist.C (newFile): do not restrict to files ending with
14599         .lyx
14600
14601         * BufferView_pimpl.C (MenuInsertLyXFile):
14602
14603 2001-06-24  The LyX Project  <jug@sad.it>
14604
14605         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14606         of compare_no_case
14607
14608 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14609
14610         * lyxtext.h: rename most methods to begin with a small char.
14611         Lots of changes because of this.
14612
14613         * paragraph.C (Paragraph): do not call fitToSize
14614         (erase): call Pimpl::erase
14615         (insertChar): call Pimpl::insertChar
14616         (insertInset): call Pipl::insertInset
14617         (breakParagraph): do not call fitToSize
14618         (breakParagraphConservative): do not call fitToSize
14619         (fitToSize): remove method
14620
14621         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14622
14623 2001-06-24  The LyX Project  <Asger>
14624
14625         * Fix Qt compilation^2
14626
14627 2001-06-24  The LyX Project  <jug@sad.it>
14628
14629         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14630         depthHook(getDepth()-1).
14631
14632         * paragraph.h:
14633         * ParagraphParameters.h:
14634         * ParameterStruct.h: change type of depth to unsigned int ==
14635         depth_type. Many adaptations to other files before of that.
14636
14637 2001-06-24  The LyX Project  <Asger>
14638
14639         * Fix Qt compilation.
14640
14641 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14642
14643         * paragraph.h: renamed several methods to begin with small letter.
14644         several changes to many parts of the code because of this.
14645
14646 2001-06-23  The LyX Project  <jug@sad.it>
14647
14648         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14649         rewritten to discard all double spaces when KeepEmpty is off
14650         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14651         to only handle newlines but not fiddle with spaces and friends.
14652
14653         * lyxfunc.C (MenuNew): when doing 'new from template', use
14654         template_path as default directory
14655
14656 2001-06-23  The LyX Project  <Asger>
14657
14658         * Clean-up of header file includes all over
14659         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14660
14661 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14662
14663         * paragraph.h: renamed from lyxparagraph.h
14664
14665 2001-06-23  Asger  <lyx@violet.home.sad.it>
14666
14667         * Buffer.h: Removed Buffer::resize
14668         * BufferList.h: Removed BufferList::resize
14669         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14670         the document lazily when we change the width, or the font settings.
14671
14672 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14673
14674         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14675
14676 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14677
14678         * buffer.h: remove out of date comment
14679
14680 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14681
14682         * lyxscreen.h:
14683         * screen.C: fix "theoretical" GC leak
14684
14685 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14686
14687         * LaTeX.C (scanAuxFile):
14688         (deplog): remove trailing \r when reading stream (useful under
14689         win32)
14690
14691 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14692
14693         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14694         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14695         and BufferView::theLockingInset(Inset*), so should use them and not
14696         access bv_->text->the_locking_inset directly.
14697
14698         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14699
14700 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14701
14702         * Makefile.am:
14703         * tex-defs.h: remove old unused file
14704
14705 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14706
14707         * BufferView_pimpl.C: fix typo, remove minibuffer message
14708           when buffer has loaded
14709
14710 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14711
14712         * lyxfunc.C (Dispatch): use stringstream
14713         (MenuNew): use stringstream
14714         (Open): use stringstream
14715
14716         * importer.C (Import): use stringstream
14717
14718         * bufferview_funcs.C (CurrentState): use stringstream
14719
14720         * LaTeX.C (run): use stringstream
14721
14722         * BufferView_pimpl.C (savePosition): use stringstream
14723         (restorePosition): use stringstream
14724         (MenuInsertLyXFile): use stringstream
14725
14726 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14727
14728         * BufferView.C:
14729         * Bullet.C:
14730         * ColorHandler.C:
14731         * FontInfo.C:
14732         * FontLoader.C:
14733         * LColor.C:
14734         * LaTeXFeatures.C:
14735         * Painter.C:
14736         * gettext.C:
14737         * lyx_gui_misc.C:
14738         * lyxserver.C:
14739         * vspace.C: removed // -*- C++ -*- as first line.
14740
14741         * lyxfind.h:
14742         * version.h: added // -*- C++ -*- as first line.
14743
14744 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14745
14746         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14747
14748         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14749         of string
14750
14751 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14752
14753         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14754         of floats.
14755
14756 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14757
14758         * gettext.C: include LString.h even when --disable-nls is on.
14759
14760 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14761
14762         * converter.h (Get): changed argument type from int to
14763         FormatList::size_type to avoid unnecessary conversion.
14764
14765         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14766         before using it.
14767
14768 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14769
14770         * gettext.h: include LString.h even when --disable-nls is on.
14771
14772 2001-06-07  Juergen Vigna  <jug@sad.it>
14773
14774         * text.C (BreakAgain): subst spaces with tabs.
14775
14776         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14777         (resizeInsetsLyXText): set force on resizeLyXText.
14778
14779 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14780
14781         * gettext.h (gettext_init):
14782         (locale_init): use a real definition instead of a macro
14783
14784 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14785
14786         * Bufferview_pimpl.C:
14787         * LColor.h:
14788         * LColor.C: further lcolor tidies
14789
14790 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14791
14792         * BufferView_pimpl.C (updateScrollbar): simplify.
14793
14794         * BufferView2.C: don't include insets/insetinfo.h, change
14795         prototype for insertInset and call the Pimpl version. let
14796         updateInset call Pimpl version.
14797
14798         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14799         gotoInset to BufferView::Pimpl
14800
14801 2001-06-01  Juergen Vigna  <jug@sad.it>
14802
14803         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14804         inside a LockingInset (is the update needed at all?).
14805
14806 2001-05-31  Juergen Vigna  <jug@sad.it>
14807
14808         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14809         here not the old one otherwise how should we compare it afterwards
14810         if it's the same!
14811
14812 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14813
14814         * lyxfont.C:
14815         * tabular.C:
14816         * tabular-old.C:
14817         * FontInfo.C: bring C functions into global namespace when
14818         necessary
14819
14820 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14821
14822         * LString.h: make sure config.h has been loaded before LString.h.
14823
14824         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14825         (one for each char read by EatLine!).
14826
14827         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14828         variables.
14829
14830 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14831
14832         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14833         to the same as the par we break from
14834
14835 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14836
14837         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14838
14839         * MenuBackend.C (expand): also create menu entries for wide
14840         versions of the floats.
14841
14842         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14843
14844         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14845
14846         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14847         frontends/Makefile.am
14848
14849         * text2.C: adjust
14850         * text.C: adjust
14851
14852
14853         * tabular.C (getTokenValue): add std::
14854
14855         * tabular-old.C (getTokenValue): add std::
14856         (getTokenValue): ditto
14857         (getTokenValue): ditto
14858
14859         * screen.C (ToggleSelection): adjust
14860
14861         * lyxtext.h: put selection cursors inside a Selection struct.
14862
14863         * lyxfunc.C (moveCursorUpdate): adjust
14864
14865         * lyxfont.C (latexWriteStartChanges): add std::
14866
14867         * lyxfind.C: adjust
14868
14869         * font.h: delete with(char const *, LyXFont const &)
14870
14871         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14872
14873         * FontInfo.C (getFontname): add std::
14874
14875         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14876         (workAreaButtonPress): adjust
14877         (tripleClick): adjust
14878         (update): adjust
14879         (moveCursorUpdate): adjust
14880         (Dispatch): adjust
14881
14882         * BufferView2.C (gotoInset): adjust
14883
14884 2001-05-30  Juergen Vigna  <jug@sad.it>
14885
14886         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14887         to check pspell I add this as default as I now have new pspell
14888         libraries and they seem to use this.
14889
14890 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14891
14892         * text2.C (CutSelection): make the cursor valid before the call to
14893         ClearSelection.
14894
14895 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14896
14897         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14898         relied on 0 terminated strings and other horrors. Bug found due to
14899         the new assert in lyxstring!
14900
14901         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14902         KP_ keys.
14903
14904 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14905
14906         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14907         to latinkeys.bind.
14908
14909         * lyxfunc.C (processKeySym): change method of getting to the
14910         self-insert char.
14911
14912         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14913         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14914         * BufferView_pimpl.[Ch]: here as private methods.
14915
14916 2001-05-28  Juergen Vigna  <jug@sad.it>
14917
14918         * text.C (SetHeightOfRow): added the update() call again as it is
14919         needed to initialize inset dimensions!
14920
14921 2001-05-16  Juergen Vigna  <jug@sad.it>
14922
14923         * text2.C (SetCharFont): Add new function with BufferView * and
14924         bool toggleall parameters for setting insets internal fonts.
14925         (SetFont): Freeze the undo as we may change fonts in Insets and
14926         all this change should be inside only one Undo!
14927
14928         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14929         setting font's in insets as for them we have the SetFont function!
14930
14931 2001-05-15  Juergen Vigna  <jug@sad.it>
14932
14933         * text2.C (ClearSelection): to be sure we REALLY don't have any
14934         selection anymore!
14935
14936         * tabular.C (TeXCellPreamble): fixed the left border problem for
14937         multicolumn cells.
14938
14939 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14940
14941         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14942         dependancy file
14943
14944 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14945
14946         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14947         LFUN_BREAKPARAGRAPH.
14948
14949         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14950         help test to "internal only", similar for LFUN_INSERT_URL
14951
14952         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14953         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14954         auto_region_delete and deadkeys.
14955
14956 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14957
14958         * LColor.h:
14959         * LColor.C: remove some dead entries, tidy a little
14960
14961 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14962
14963         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14964         commented code.
14965         (Dispatch): implement LFUN_ESCAPE
14966
14967         * commandtags.h: add LFUN_ESCAPE
14968
14969         * LyXAction.C (init): add entry for LFUN_ESCAPE
14970
14971         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14972         Remove commented code.
14973         (insertNote): moved here
14974         (open_new_inset): moved here
14975
14976         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14977         BufferView_pimpl
14978
14979 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14980
14981         * kbmap.C (findbinding): clean it up and make it work correctly.
14982
14983         * lyx_main.C (init): do not pass argc and argv as parameters
14984
14985 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14986
14987         * buffer.C: fix path for OS/2 & Win32
14988
14989         * lyx_gui.C:
14990         * lyx_main:
14991         * lyx_main.C: Added os:: class.
14992
14993         * os2_defines.h: update
14994
14995 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14996
14997         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14998         better by trying again with reduced state.
14999
15000 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15001
15002         * lyxrc.C (read): print error about invalid key sequence only when
15003         debugging (because not all latinX keysyms are known to some X
15004         servers)
15005
15006         * kbsequence.C (getiso): add a few std:: qualifiers
15007         (getiso): comment out extra return statement.
15008
15009 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15010
15011         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15012         handling.
15013         (Dispatch): enhance the accent inset a bit. (not perfect)
15014
15015 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15016
15017         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15018
15019 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15020
15021         * bufferlist.C (emergencyWrite): fix assert() call
15022
15023 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15024
15025         * text.C (InsertChar): Added trivial patch to only send the "you
15026         can not do multiple spaces this way" message once during a
15027         session.
15028
15029 2001-05-08  Baruch Even  <baruch@lyx.org>
15030
15031         * Makefile.am: Changed order of libraries to get LyX to link properly
15032         with the gnome frontend.
15033
15034 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15035
15036         * LaTeXFeatures.h: add a std:: qualifier
15037
15038 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15039
15040         * paragraph.C (String): use stringstream
15041
15042 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15043
15044         * paragraph.C (writeFile): remove footflag arg
15045
15046         * buffer.C (makeLaTeXFile): use stringstream
15047         (latexParagraphs): remove footnot gurba
15048
15049         * LaTeXFeatures.C (getPackages): use stringstream
15050         (getMacros): likewise
15051         (getTClassPreamble): likewise
15052         (getFloatDefinitions): new method
15053
15054         * paragraph.C (writeFile): reindent
15055         (Erase): reindent
15056
15057         * WorkArea.h: revert the xpos + etc changes.
15058
15059         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15060
15061         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15062
15063         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15064         (pasteSelection): likewise
15065         * text2.C (CreateUndo): likewise
15066
15067 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15068
15069         * minibuffer.C (peek_event): temporarily reduce the functionality
15070         of the minibuffer (to allow args on lfuns)
15071
15072         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15073         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15074
15075         * buffer.C (readInset): add compability reading of old float
15076         lists, add reading of new style float list.
15077         (readInset): avoid reevaluation of inscmd.getCmdName()
15078         (getLists): reindent
15079
15080         * MenuBackend.C (MenuItem): implement parsing of
15081         md_floatlistinsert and md_floatinsert.
15082         (expand::LastFiles): move initalizaton of iterators out of loop,
15083         avoid reevaluation.
15084         (expand::Documents): introduce typdedef vector<string> Strings,
15085         and use it.
15086         (expand::ExportFormats): introduce typedef vector<Format const *>
15087         Formats, and use it.
15088         (expand): implement FloatListInsert and FloatInsert.
15089
15090         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15091         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15092         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15093
15094         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15095         handling.
15096         (Dispatch::LFUN_FLOAT_LIST): implement
15097
15098 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15099
15100         * LaTeX.C (run): Fix problem with --export code.
15101
15102 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15103
15104         * BufferView.[Ch] (workarea): removed.
15105         (getClipboard) new method; wrapper for workarea()->getClipboard()
15106
15107         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15108         bug.
15109
15110         * WorkArea.h (width, height, xpos, ypos): These methods all
15111         returned the dimensions of the work_area sub-area of WorkArea,
15112         resulting in a position error if the WorkArea were resized. Now
15113         return the dimensions of the entire WorkArea.
15114
15115         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15116
15117 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15118
15119         * LaTeX.C (deplog): correct the syntax of regex reg1
15120
15121 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15122
15123         * undo.C: remove !NEW_INSETS cruft
15124
15125 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15126
15127         * text2.C: remove !NEW_INSETS cruft
15128
15129         * text.C: remove !NEW_INSETS cruft
15130
15131         * tabular.C: remove !NEW_INSETS cruft
15132
15133         * spellchecker.C: remove !NEW_INSETS cruft
15134
15135         * lyxtext.h: remove !NEW_INSETS cruft
15136
15137         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15138
15139         * lyxfunc.C: remove !NEW_INSETS cruft
15140
15141         * lyxfind.C: remove !NEW_INSETS cruft
15142
15143         * lyx_cb.C: remove !NEW_INSETS cruft
15144
15145         * figureForm.C: remove  !NEW_INSETS cruft
15146
15147         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15148
15149         * buffer.[Ch]: remove !NEW_INSETS cruft
15150
15151         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15152
15153         * CutAndPaste.C: remove !NEW_INSETS cruft
15154
15155         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15156
15157         * BufferView2.C: remove !NEW_INSETS cruft
15158
15159         * BufferView.h: remove !NEW_INSETS cruft
15160
15161 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15162
15163         * Lsstream.h: include LString.h before the sstream headers to
15164         fix problem with gcc 2.95.3 and lyxstring
15165
15166 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15167
15168         * lyx_main.C: add using directives when needed for C functions
15169         declared in std:: namespace.
15170
15171 2001-04-27  Juergen Vigna  <jug@sad.it>
15172
15173         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15174         (SetHeightOfRow): comment out the update call should not be needed!
15175
15176 2001-04-13  Juergen Vigna  <jug@sad.it>
15177
15178         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15179         (LyXTabular): tried to minimize operator= operations (and realized
15180         hopfully Lars wish).
15181
15182 2001-04-27  Juergen Vigna  <jug@sad.it>
15183
15184         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15185
15186 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15187
15188         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15189
15190         * buffer.C (readInset): hack to make listof algorithm work
15191
15192         * BufferView_pimpl.C: hack to make listof algorithm work
15193
15194 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15195
15196         * LyXAction.C: removed all !NEW_INSETS cruft
15197         (init): moved lfun_item in method
15198
15199         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15200
15201 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15202
15203         * BufferView2.C (theLockingInset): white space.
15204
15205 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15206
15207         * minibuffer.C: include <iostream>
15208
15209         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15210
15211         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15212
15213         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15214
15215         * text.[Ch] (TransposeChars): new method
15216
15217 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15218
15219         * call message directly through LyXView instead of through LyXFunc
15220         * BufferView2.C: adjust
15221         * BufferView_pimpl.C: adjust
15222         * FontLoader.C: adjust
15223         * buffer.C: adjust
15224         * bufferview_funcs.C: adjust
15225         * converter.C: adjust
15226         * figureForm.C: adjust
15227         * importer.C: adjust
15228         * lyx_cb.C: adjust
15229         * lyx_gui_misc.C: adjust
15230         * lyxfunc.C: adjust
15231         * lyxvc.C: adjust
15232         * text2.C: adjust
15233         + more files in subdirs
15234
15235         * lyxparagraph.h (size): move up int file
15236         (GetLayout): ditto
15237
15238         * adjust all uses of Assert to lyx::Assert.
15239
15240         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15241         lyxfunctional in namespace lyx
15242         * layout.C (hasLayout): ditto
15243         (GetLayout): ditto
15244         (GetLayout): ditto
15245         (delete_layout): ditto
15246         (NumberOfClass): ditto
15247         * converter.C (GetFormat): ditto
15248         (GetNumber): ditto
15249         (Add): ditto
15250         (Delete): ditto
15251         (SetViewer): ditto
15252         * bufferlist.C (getFileNames): ditto
15253         (emergencyWriteAll): ditto
15254         (exists): ditto
15255         (getBuffer): ditto
15256         * MenuBackend.C (hasSubmenu): ditto
15257         (hasMenu): ditto
15258         (getMenu): ditto
15259         * BufferView_pimpl.C (getInsetByCode): ditto
15260
15261 2001-04-18  Juergen Vigna  <jug@sad.it>
15262
15263         * vspace.C (asLatexString): fixed the 100% problem.
15264
15265 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15266
15267         * lyxfunc.C (Dispatch):
15268         * minibuffer.C:
15269         * minibuffer.h: add a few std:: qualifiers
15270
15271 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15272
15273         * minibuffer.[Ch]: reimplement so that commands is initiated and
15274         run from lyxfunc, simplified som handling, and made the completion
15275         and history code for complete. wip.
15276
15277         * lyxfunc.C (processKeySym): call message
15278         (miniDispatch): new temporary method
15279         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15280         (LFUN_MESSAGE): implement
15281         (LFUN_MESSAGE_PUSH): implement
15282         (LFUN_MESSAGE_POP): implement
15283         (initMiniBuffer): the initial/defualt minibuffer message.
15284
15285         * lyxfont.[Ch]: inline some more getters
15286
15287         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15288
15289         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15290
15291         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15292         (AutoSave): use LFUN_MESSAGE
15293         (Reconfigure): ditto
15294
15295         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15296
15297         * figureForm.C: use LFUN_MESSAGE
15298
15299         * converter.C (runLaTeX): use LFUN_MESSAGE
15300
15301         * bufferview_funcs.C: use LFUN_MESSAGE
15302         (Melt): ditto
15303         (changeDepth): ditto
15304
15305         * bufferparams.h: use boost::
15306
15307         * bufferlist.h: inherit privately from noncopyable
15308
15309         * bufferlist.C (loadLyXFile): remove some commented code.
15310
15311         * buffer.C (runChktex): use LFUN_MESSAGE
15312
15313         * ShareContainer.h: inherit privately from noncopyable
15314
15315         * ParagraphParameters.[hC] (depth): inline it.
15316
15317         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15318         methods.
15319         (message): new method
15320         (messagePush): ditto
15321         (messagePop): ditto
15322         (show): init minibuffer
15323         (showState): direct call
15324
15325         * LaTeX.[Ch]: inherit privately from noncopyable
15326         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15327         instead of WriteStatus.
15328
15329         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15330
15331         * BufferView_pimpl.C (buffer): don't init minibuffer
15332         (workAreaButtonPress): use LFUN_MESSAGE
15333         (workAreaButtonRelease): ditto
15334         (savePosition): ditto
15335         (restorePosition): ditto
15336         (MenuInsertLyXFile): ditto
15337         (workAreaExpose): don't init minibuffer
15338         (update): remove commented code, simplify
15339
15340         * BufferView2.C (openStuff): use LFUN_MESSAGE
15341         (toggleFloat): ditto
15342         (menuUndo): ditto
15343         (menuRedo): ditto
15344         (copyEnvironment): ditto
15345         (pasteEnvironment): ditto
15346         (copy): ditto
15347         (cut): ditto
15348         (paste): ditto
15349         (gotoInset): ditto
15350         (updateInset): remove some commented code
15351
15352         * lastfiles.h: inherit privately from noncopyable
15353         * layout.h: ditto
15354         * lyx_gui.h: ditto
15355         * lyx_main.h: ditto
15356         * lyxlex.h: ditto
15357         * lyxlex_pimpl.h: ditto
15358
15359         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15360         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15361         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15362
15363         * LyXAction.h: inherit privately from noncopyable, add methods
15364         func_begin, func_end, returning iterators to the func map.
15365
15366         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15367         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15368         (func_begin): new method
15369         (func_end): new method
15370
15371         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15372         and not)
15373         (copySelection): ditto
15374         (pasteSelection): ditto
15375
15376         * BufferView.C: whitespace change
15377         * BufferView.h: inherit privately from noncopyable
15378
15379 2001-04-16  Allan Rae  <rae@lyx.org>
15380
15381         * tabular-old.C (l_getline):
15382         * spellchecker.C (sc_check_word):
15383         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15384         an unrecognised preprocessor directive.  So ensure they're wrapped.
15385
15386 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15387
15388         * src/exporter.C (Export): Give an error message when path to file
15389         contains spaces.
15390
15391 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15392
15393         * LaTeX.C (deplog): Always check that foundfile exists.
15394
15395 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15396
15397         * lyx_main.h:
15398         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15399
15400 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15401
15402         * tabular.[Ch] (getLabelList): implement new method
15403
15404         * minibuffer.h: comment ouf setTiimer
15405
15406         * minibuffer.C (ExecutingCB): constify res
15407         (peek_event): constify s
15408         (Set): constify ntext
15409         (Init): constify nicename
15410
15411         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15412
15413         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15414         (savePosition): use two params to Minibuffer::Set
15415         (restorePosition): ditto
15416
15417 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15418
15419         * lyx_main.C: include language.h
15420
15421         * Makefile.am (lyx_main.o): add language.h
15422
15423 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15424
15425         * exporter.C:
15426         * paragraph.C:
15427         * screen.C:
15428         * tabular.C:
15429         * CutAndPaste.C: include gettext.h
15430
15431         * lyxfont.h: remove old hack with ON and OFF.
15432
15433         * lyxparagraph.h:
15434         * lyxfont.h: do not include language.h...
15435
15436         * BufferView2.C:
15437         * LaTeXFeatures.C:
15438         * Painter.C:
15439         * bufferview_funcs.C:
15440         * font.C:
15441         * lyxfont.C:
15442         * text.C:
15443         * text2.C:
15444         * trans_mgr.C:
15445         * paragraph.C: ... but do it here instead
15446
15447 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15448
15449         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15450
15451         * tabular.C: small reformat
15452
15453         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15454         NEW_INSETS version
15455         (GetChar): ditto
15456         (BreakParagraph): ditto
15457         (SetOnlyLayout): ditto
15458         (SetLayout): ditto
15459
15460         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15461         with one arg less.
15462
15463         * lastfiles.C: removed most using decl, add std:: where needed
15464
15465         * buffer.C: ws changes
15466
15467         * MenuBackend.C (class compare_format): put into anon namespace
15468         (expand): constify label, names, action, action2
15469         (expand):
15470
15471         * text.C (SingleWidth): constify font
15472         (IsBoundary): constify rtl2
15473         (GetVisibleRow): constify ww
15474
15475         * LaTeX.C (deplog): constify logfile
15476
15477         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15478         start_x, end_x
15479         (workAreaExpose): constify widthChange, heightChange
15480
15481         * lyxrow.C (par): moved
15482         (height): moved
15483         (next): moved
15484         * lyxrow.h: as inlines here
15485
15486         * lyxfont.h (shape): moved from lyxfont.C
15487         (emph): moved from lyxfont.C
15488
15489         * lyxfont.C (LyXFont): use initialization list for all
15490         constructors
15491         (shape): move to lyxfont.h as inline
15492         (emph): move to lyxfont.h as inline
15493
15494
15495 2001-04-04  Juergen Vigna  <jug@sad.it>
15496
15497         * vspace.C: had to include stdio.h for use of sscanf
15498
15499 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15500
15501         * BufferView.h:
15502         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15503         independent of xforms.
15504
15505 2001-04-02  Juergen Vigna  <jug@sad.it>
15506
15507         * spellchecker.C: fixed namespace placing!
15508
15509 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15510
15511         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15512         the LyXParagraph * is 0.
15513
15514 2001-03-29  Juergen Vigna  <jug@sad.it>
15515
15516         * vspace.C: added support for %, c%, p%, l%.
15517         (stringFromUnit): added helper function.
15518         (asLatexString): changed to give right results for the %-values.
15519
15520         * buffer.C: convert the widthp in a width%.
15521
15522 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15523
15524         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15525         figureForm.[Ch].
15526
15527         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15528         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15529
15530         * lyx_cb.[Ch]: see above.
15531
15532         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15533         form1.[Ch].
15534
15535         * form1.[Ch]:
15536         * lyx.[Ch]: replaced by figure_form.[Ch].
15537
15538         * lyx_gui.C:
15539         * lyx_gui_misc.C:
15540         * lyxfunc.C: changed headers associated with above changes.
15541
15542 2001-03-27  Juergen Vigna  <jug@sad.it>
15543
15544         * BufferView_pimpl.C: set the temporary cursor right!
15545
15546 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15547
15548         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15549
15550 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15551
15552         * LString.h: removed "using std::getline"!
15553
15554         * BufferView_pimpl.C (Dispatch): changes due to changes in
15555         InsetInclude::Params.
15556
15557         * buffer.C (tag_name): removed redundant break statements as they were
15558         producing lots of warnings with my compiler.
15559
15560 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15561
15562         * LString.h: add "using std::getline" when using the real <string>.
15563
15564 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15565
15566         * buffer.C: removed bitset usage.
15567         PAR_TAG moved to an anonymous name space.
15568         (tag_name): new funtion, also in the anonymous namespace.
15569         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15570         (makeDocBookFile): clean code. Completed transition from string arrays
15571         to string vectors.
15572         (SimpleDocBookOnePar): code clean.
15573
15574 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15575
15576         * tabular.C: add some comments.
15577
15578 2001-03-22  Juergen Vigna  <jug@sad.it>
15579
15580         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15581         compatibility read a bit and fixed bug with minipage in different
15582         depth.
15583
15584 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15585
15586         * buffer.C (pop_tag): removed.
15587         (push_tag): removed.
15588         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15589         array replaced with vector. Added support for CDATA sections.
15590         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15591         at any nest level.
15592         (makeDocBookFile): XML conformant declaration of CDATA section,
15593         fixed bug related to <emphasis> in the first paragraph char.
15594         (sgmlOpenTag): exclude empty tags.
15595         (sgmlCloseTag): ditto.
15596
15597         * buffer.h (pop_tag): removed.
15598         (push_tag): removed.
15599
15600 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15601
15602         * language.h (Languages): added size_type and size().
15603
15604 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15605
15606         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15607         response on compability reading of minipages. One probliem is that
15608         the old usage of minipages was «flertydig»
15609
15610         * several files here and in subdirs: don't use static at file
15611         scope use anon namespaces instead.
15612
15613 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15614
15615         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15616         LaTeX output. This is necessary for Literate document
15617         processing.
15618
15619 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15620
15621         * buffer.C: insert hfill when needed.
15622
15623         * tabular.C (l_getline): use string::erase, small whitespace change.
15624
15625         * BufferView_pimpl.C: try the anon namespace.
15626         * WorkArea.C: ditto
15627
15628 2001-03-16  Juergen Vigna  <jug@sad.it>
15629
15630         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15631         otherwise it won't open options-dialogs.
15632
15633         * buffer.C: honor pextraWidth(p) on converting minipages.
15634
15635         * tabular.C (l_getline): changed the functions to strip trailing \r.
15636
15637 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15638
15639         * BufferView_pimpl.C:
15640         * minibuffer..C: added "using SigC::slot" declaration.
15641
15642 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15643
15644         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15645
15646         * text2.C: ditto
15647
15648         * text.C: ditto
15649
15650         * paragraph.C: ditto
15651
15652         * lyxtext.h: NO_PEXTRA
15653
15654         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15655
15656         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15657         * ParameterStruct.h: ditto
15658         * ParagraphParameters.h: ditto
15659         * lyxparagraph.h: ditto
15660
15661 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15662
15663         * buffer.C: add compability for minipage alignment.
15664         (latexParagraphs): remove unwanted pextra check.
15665
15666         * several files: remove CXX_WORKING_NAMESPACES
15667
15668         * buffer.C (pop_tag): tie is in namespace boost
15669
15670         * BufferView.h: noncopyable is in namespace boost
15671         * lyxlex.h: ditto
15672         * lyx_main.h: ditto
15673         * lyx_gui.h: ditto
15674         * layout.h: ditto
15675         * lastfiles.h: ditto
15676         * bufferlist.h: ditto
15677         * ShareContainer.h: ditto
15678         * LyXView.h: ditto
15679         * LyXAction.h: ditto
15680         * LaTeX.h: ditto
15681
15682 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15683
15684         * Merging changes from BRANCH_MVC back into HEAD.
15685
15686         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15687
15688 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15689
15690         * BufferView_pimpl.C: change from intl.C
15691
15692         * combox.h:
15693         * combox.C:
15694         * Makefile.am: move combox.*
15695
15696         * form1.h:
15697         * form1.C:
15698         * lyx_gui.C:
15699         * intl.h:
15700         * intl.C: remove dialog (covered by prefs)
15701
15702 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15703
15704         * lyxfunc.C (Dispatch): removed redundant break statement.
15705
15706 2001-03-14  Juergen Vigna  <jug@sad.it>
15707
15708         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15709
15710 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15711
15712         * buffer.C: add hack to fix compability reading of minipages.
15713
15714 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15715
15716         * buffer.C (getLists): Cleanup.
15717
15718 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15719
15720         * lyxfont.C (update): don't honor toggleall on font size.
15721
15722 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15723
15724         * bmtable.c:
15725         * bmtable.h:
15726         * Makefile.am: moved to frontends/xforms/
15727
15728         * lyx_gui_misc.C:
15729         * lyxfunc.C:
15730         * BufferView_pimpl.C: changes for moved mathpanel
15731
15732 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15733
15734         * gettext.h: fix gettext_init() in --disable-nls
15735
15736 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15737
15738         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15739
15740 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15741
15742         * lyx.C:
15743         * lyx.h: strip external form
15744
15745 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15746
15747         * BufferView_pimpl.C: add comment, destroySplash()
15748
15749 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15750
15751         * BufferView_pimpl.C:
15752         * LyXAction.C:
15753         * buffer.C:
15754         * commandtags.h:
15755         * lyxfunc.C: use re-worked insetinclude
15756
15757 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15758
15759         * buffer.C: add using std::stringstream.
15760
15761         * lyx_cb.C: readd using std::ios.
15762
15763         * buffer.C: add using std::map.
15764
15765         * BufferView_pimpl.C: add using std::vector.
15766
15767         * ShareContainer.h: add std:: to swap.
15768
15769         * buffer.h: add some typedefs
15770         * buffer.C (getLists): use them
15771         (getLists): renamed from getTocList.
15772         add a counter for the different float types and use it in the
15773         generated string.
15774         (getLists): use the same counter for the NEW_INSETS and the "non"
15775         NEW_INSETS
15776
15777         * lyx_cb.h: remove unused items, includes, using etc.
15778
15779         * ShareContainer.h: remove some commented code, add more comments
15780         and "documentation".
15781
15782 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15783
15784         * buffer.C (getTocList): make the list also when NEW_INSETS is
15785         defined.
15786
15787         * buffer.h: remove TocType
15788
15789         * buffer.C (getTocList): change to return a map<string,
15790         vector<TocItem> >, implement for dynamic number of list.
15791
15792         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15793         * text2.C (PasteSelection): adjust
15794         * CutAndPaste.C (pasteSelection): adjust
15795
15796         * FloatList.C (FloatList): update from the new_insets branch.
15797         * Floating.[Ch]: ditto
15798         * LaTeXFeatures.C: ditto
15799         * buffer.C: ditto
15800         * lyxlex_pimpl.C: ditto
15801
15802         * paragraph.C (Last): remove when NEW_INSETS is defined.
15803
15804         * other file: changes because of the above.
15805
15806 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15807
15808         * lyxparagraph.h: rename next to next_, previous to previous_,
15809         make them private for NEW_INSETS. Rename Next() to next(),
15810         Previous() to previous().
15811
15812         * other files: changes because of the above.
15813
15814 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15815
15816         * BufferView.h:
15817         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15818         problem.
15819
15820 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15821
15822         * main.C (main): pass lyx_localedir to gettext_init().
15823
15824         * gettext.h: remove locale_init and gettext_init macros
15825
15826         * gettext.C (locale_init): new function
15827         (gettext_init): new function
15828
15829         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15830         setlocale().
15831
15832 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15833
15834         * Moved credits to frontends:
15835         * credits.[Ch]: removed
15836         * credits_form.[Ch]: removed
15837         * lyx_gui_misc.C: remove credits stuff
15838         * Makefile.am:
15839
15840 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15841
15842         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15843
15844         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15845         unneeded destructor.
15846
15847         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15848         a standalone pointer again.
15849
15850         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15851
15852 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15853
15854         * Makefile.am:
15855         * filedlg.h:
15856         * filedlg.C:
15857         * LyXAction.C:
15858         * ToolbarDefaults.C:
15859         * bufferlist.C:
15860         * commandtags.h:
15861         * form1.C:
15862         * form1.h:
15863         * lyx_cb.C:
15864         * lyx_cb.h:
15865         * lyxfunc.h:
15866         * lyxfunc.C:
15867         * BufferView_pimpl.C: use new file dialog in GUII
15868
15869         * lyx_cb.h:
15870         * lyx_cb.C: remove LayoutsCB to Toolbar
15871
15872 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15873
15874         * ShareContainer.h (get): add std:: qualifier
15875
15876 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15877
15878         * ShareContainer.h: define a proper ShareContainer::value_type
15879         type (and use typename to please compaq cxx)
15880
15881 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15882
15883         * lyxparagraph.h: move serveral local vars to
15884         ParameterStruct/ParagraphParameters., use ShareContainer in
15885         FontTable., make vars in FontTable private and add getter and
15886         setter.
15887
15888         * paragraph.C: changes because of the above.
15889
15890         * lyxfont.h: remove copy constructor and copy assignment. (the
15891         default ones is ok), move number inside FontBits. move inlines to
15892         lyxfont.C
15893
15894         * lyxfont.C: add number to initializaton of statics, move several
15895         inlines here. constify several local vars. some whitespace
15896         cleanup. Dont hide outerscope variables.
15897
15898         * Spacing.h: add two new constructors to match the set methods.
15899
15900         * ShareContainer.h: new file, will perhaps be moved to support
15901
15902         * ParameterStruct.h: new file
15903
15904         * ParagraphParameters.h: new file
15905
15906         * ParagraphParameters.C: new file
15907
15908         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15909         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15910
15911         * BufferView_pimpl.C: ParagraphParameter changes.
15912         * buffer.C: Likewise.
15913         * bufferview_funcs.C: Likewise.
15914         * text.C: Likewise.
15915         * text2.C: Likewise.
15916
15917 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15918
15919         * lyxfind.C (LyXReplace): do not redefine default argument in
15920         implementation.
15921         (IsStringInText): ditto
15922         (SearchForward): ditto
15923         (SearchBackward): ditto
15924
15925 2001-03-06  Juergen Vigna  <jug@sad.it>
15926
15927         * lyxfind.C (IsStringInText): put parentes around expressions.
15928
15929 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15930
15931         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15932
15933 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15934
15935         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15936
15937         * stl_string_fwd.h: add comment
15938
15939         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15940
15941         * tabular.h:
15942         * tabular.C: remove unused DocBook methods
15943
15944         * intl.C:
15945         * language.C:
15946         * paragraph.C:
15947         * buffer.C:
15948         killed DO_USE_DEFAULT_LANGUAGE
15949
15950 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15951
15952         * lyx_gui.C: do not include language.h.
15953
15954         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15955         arguments in function implementation.
15956
15957 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15958
15959         * BufferView_pimpl.C: add <ctime>
15960
15961 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15962
15963         * BufferView_pimpl.C: add using std::find_if
15964
15965 2001-02-27  José Matos  <jamatos@fep.up.pt>
15966
15967         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15968         by OnlyPath.
15969
15970 2001-02-11  José Matos  <jamatos@fep.up.pt>
15971
15972         * buffer.C (makeDocBookFile): command styles now have a parameter as
15973         "title" by default.
15974
15975 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15976
15977         * layout_forms.[Ch]: removed
15978         * lyx_cb.[Ch]: out character
15979         * lyx_gui.C: out character
15980         * lyx_gui_misc.C: out character
15981         * bufferview_funcs.C: : out character,
15982         added toggleall as parameter in ToggleAndShow
15983
15984 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15985
15986         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15987
15988         * text2.C (SetCurrentFont): Disable number property at boundary.
15989
15990 2001-02-26  Juergen Vigna  <jug@sad.it>
15991
15992         * lyxfunc.C (getStatus): added a string argument override function so
15993         that this is correctly called from LyXFunc::Dispatch if it contains a
15994         do_not_use_argument which is used!
15995         (Dispatch): added check for "custom" export and call appropriate func.
15996
15997 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15998
15999         * lyxrc.C: Add language_command_local, language_use_babel and
16000         language_global_options.
16001
16002         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16003
16004         * buffer.C (makeLaTeXFile): Use language_use_babel and
16005         language_global_options.
16006
16007 2001-02-23  Juergen Vigna  <jug@sad.it>
16008
16009         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16010         which works with LyXText and putted it inside BufferView. Here now we
16011         only call for that part the BufferView::Dispatch() function.
16012
16013         * BufferView.C (Dispatch): added.
16014
16015         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16016         functions which needs to use a LyXText over from LyXFunc.
16017         (MenuInsertLyXFile): added
16018         (getInsetByCode): added
16019         (moveCursorUpdate): added
16020         (static TEXT): added
16021
16022 2001-02-22  Juergen Vigna  <jug@sad.it>
16023
16024         * BufferView_pimpl.C (update): call a status update to see if LyXText
16025         needs it.
16026
16027 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16028
16029         * vc-backend.C (revert): implement for CVS
16030         (getLog): implement for CVS
16031
16032 2001-02-20  Juergen Vigna  <jug@sad.it>
16033
16034         * text2.C (ClearSelection): added BufferView param for inset_owner call
16035
16036         * lyxfunc.C (TEXT): added this function and use it instead of
16037         directly owner->view()-text of getLyXText().
16038
16039 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16040
16041         * src/layout_forms.C: out preamble
16042         * src/layout_forms.h: out preamble
16043         * src/lyx_cb.C: out preamble
16044         * src/lyx_cb.h: out preamble
16045         * src/lyx_gui.C: out preamble
16046         * src/lyx_gui_misc.C: out preamble
16047         * src/lyxfunc.C: connect with guii preamble
16048
16049 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16050
16051         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16052
16053 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16054
16055         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16056         whether to run bibtex.
16057
16058 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16059
16060         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16061
16062 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16063
16064         * Makefile.am (lyx_SOURCES): removed bibforms.h
16065
16066         * vspace.h: doxygen
16067
16068         * text.C (GetVisibleRow): make several local vars const
16069
16070         * tabular.C: small cleanup.
16071
16072         * lyxserver.C (callback): use compare instead of strncmp
16073
16074         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16075         inlines to after class or to paragraph.C
16076
16077         * lyxfont.h: remove friend operator!=
16078
16079         * converter.h: move friend bool operator< to non friend and after
16080         class def.
16081
16082         * combox.h: small cleanup
16083
16084         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16085         to inlines after class def.
16086
16087         * buffer.C (pop_tag): use string operations instead of strcmp
16088
16089         * bmtable.c: doxygen, small cleanup
16090
16091         * LaTeX.h: remove friend operator==
16092
16093 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16094
16095         * screen.C:
16096         * lyxrc.[Ch]:
16097         * lyxfunc.C:
16098         * lyxfont.[Ch]:
16099         * lyx_cb.C:
16100         * intl.[Ch]:
16101         * commandtags.h:
16102         * buffer.C:
16103         * WorkArea.[Ch]:
16104         * LyXAction.C:
16105         * BufferView_pimpl.C:
16106         * BufferView.[Ch]: remove cruft
16107
16108 2001-02-14  Juergen Vigna  <jug@sad.it>
16109
16110         * lyxfunc.C: removed #if 0 unused code
16111
16112         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16113
16114         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16115
16116         * text2.C (SetSelection): added a BufferView * parameter
16117
16118 2001-02-13  Juergen Vigna  <jug@sad.it>
16119
16120         * lyxfunc.C (Dispatch): fixed protected blank problem.
16121         * BufferView2.C (protectedBlank): added LyxText * parameter.
16122
16123         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16124         (AppendColumn): same as above for column_info.
16125
16126         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16127         (moveCursorUpdate): use a LyXText param for support of InsetText.
16128
16129         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16130         (tripleClick): ditto
16131
16132         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16133
16134         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16135
16136         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16137
16138         * text2.C (SetSelection): set correct update status if inset_owner
16139         (ToggleFree): ditto
16140
16141 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16142
16143         * tabular.C: remove some commented code.
16144
16145 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16146
16147         * BufferView_pimpl.C: call hideSplash()
16148
16149         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16150
16151         * include_form.h:
16152         * bibforms.h: remove
16153
16154         * lyxfunc.C:
16155         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16156           add LFUN_CHILD_CREATE
16157
16158         * counters.h: fix tiny typo
16159
16160         * lyx_cb.C:
16161         * lyx.h:
16162         * lyx_gui.C:
16163         * lyx.C: move splash to frontends/xforms/
16164
16165         * lyx_gui_misc.C: move Include and Bibform to frontends
16166
16167         * lyxvc.h: clarify comment
16168
16169         * vspace.C: tiny housekeeping
16170
16171 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16172
16173         * text.C (PrepareToPrint): RTL Fix.
16174
16175         * paragraph.C (GetUChar): New method.
16176         (String):  Use GetUChar.
16177
16178         * buffer.C (asciiParagraph): Use GetUChar.
16179
16180 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16181
16182         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16183
16184 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16185
16186         * buffer.h:
16187         * buffer.C: rename to getLogName(), handle
16188           build log / latex log nicely
16189
16190 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16191
16192         * MenuBackend.C:
16193         * MenuBackend.h: remove support for reference menuitem type.
16194
16195 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16196
16197         * BufferView_pimpl.C: housekeeping
16198         * BufferView_pimpl.h:
16199         * LyXView.h:
16200         * Makefile.am:
16201         * Timeout.C:
16202         * Timeout.h:
16203         * minibuffer.h: move Timeout GUI-I
16204
16205 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16206
16207         * lyxrc.C (read): Update converters data-structures.
16208
16209 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16210
16211         * LaTeX.h (operator!=): add operator != for Aux_Info
16212
16213 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16214
16215         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16216
16217         * LaTeXLog.C: deleted, useful code moved to Buffer
16218
16219         * buffer.h:
16220         * buffer.C: new function getLatexLogName()
16221
16222         * lyx_gui_misc.C:
16223         * lyx_gui.C:
16224         * lyxvc.C:
16225         * lyxvc.h:
16226         * lyxfunc.C: use frontends for LaTeX and VC logs
16227
16228 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16229
16230         * LaTeX.h: yet another std:: that Allan forgot.
16231
16232         * Variables.C (set): renamed from isset(), because this clashes
16233         with some HP-UX macros (grr).
16234
16235 2001-02-06  Allan Rae  <rae@lyx.org>
16236
16237         * LaTeX.h: Another bug fix.  Missing std:: this time.
16238
16239 2001-02-04  Allan Rae  <rae@lyx.org>
16240
16241         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16242         floats problem. I've left it commented out because it's not quite
16243         correct.  It should also test that the current object is a table or
16244         figure inset.  But I haven't gotten around to figuring out how to do
16245         that.  I *think* it'll be something like: "table" == inset.type()
16246
16247         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16248         bool.
16249
16250 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16251
16252         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16253         all the citation/databases/styles in the auxilary file.
16254         (run): Rerun latex if there was a babel language error.
16255
16256 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16257
16258         * text.C (Backspace): Preserve the font when changing newline char
16259         with a space.
16260         (BreakParagraph): If the cursor is before a space, delete the space.
16261
16262         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16263
16264 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16265
16266         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16267         new argument (code).
16268         (ChangeCitationsIfUnique): New method.
16269
16270         * paragraph.C (GetPositionOfInset): Handle bibkey.
16271
16272 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16273
16274         * BufferView_pimpl.h: change type of Position::par_pos to
16275         LyXParagraph::size_type.
16276
16277 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16278
16279         * BufferView_pimpl.C (savePosition, restorePosition): Write
16280         messages to minibuffer.
16281
16282 2001-01-28  José Matos  <jamatos@fep.up.pt>
16283
16284         * buffer.C (makeDocBookFile): adds support for document language.
16285         A silly restriction on the name of LatexCommand types where removed.
16286         Added support for CDATA sections, allows to chars unescaped, used
16287         among others in code, to avoid escape < and >.
16288
16289 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16290
16291         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16292         saved positions instrad of a stack. Furthermore, a position is
16293         stored using paragraph id/paragraph position.
16294
16295         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16296         Remove LFUN_REF_BACK.
16297
16298 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16299
16300         * converter.C (dvipdfm_options): New method.
16301
16302 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16303
16304         * vspace.C (isValidLength): Fix for empty input string.
16305
16306 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16307
16308         * LyXAction.C (init): change description of LFUN_FIGURE to
16309         "Insert Graphics"
16310
16311 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16312
16313         * LaTeX.C: add using directive
16314
16315 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16316
16317         * MenuBackend.C (expand): Fix the sorting of the formats.
16318
16319 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16320
16321         * lyx_main.C: tiny error message fix
16322
16323 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16324
16325         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16326         calling fl_initialize(). This fixes the problem with ',' as
16327         decimal separator in text files.
16328
16329 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16330
16331         * trans.C (process): Fix the keymap bug.
16332
16333 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16334
16335         * LaTeX.C (scanAuxFiles): New method. Provides support for
16336         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16337         (scanLogFile) Scan for "run BibTeX" messages.
16338
16339         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16340         OT1 font encoding. Also, load the aecompl package if the ae
16341         package is loaded.
16342
16343         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16344
16345 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16346
16347         * texrow.C (increasePos): turn two error messages into debug
16348         messages.
16349
16350 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16351
16352         * LaTeX.C (scanAux): Handle the \@input macro.
16353         (runBibTeX): Use scanAux().
16354
16355         * language.C (latex_options_): New field.
16356
16357         * LaTeXFeatures.C (getMacros): Add language macros.
16358
16359         * buffer.C (makeLaTeXFile): Small fix.
16360
16361 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16362
16363         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16364
16365         * text2.C: add a using directive.
16366
16367 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16368
16369         * BufferView2.C:
16370         * lyx_gui_misc.h:
16371         * lyxfr1.C:
16372         * lyxfunc.C: kill LyXBell.
16373
16374 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16375
16376         * text.C (IsBoundary): Remove the error message
16377
16378         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16379
16380         * lyxrc.C (setDefaults): Correct initialization value for
16381         font_norm_type.
16382
16383 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16384
16385         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16386         gotoError().
16387
16388         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16389         and GotoNextNote().
16390
16391         * src/LyXAction.C: Added reference-next.
16392
16393         * text.C (InsertChar): Use contains instead of strchr.
16394
16395         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16396
16397 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16398
16399         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16400         alignment commands (when needed).
16401
16402         * text.C (InsertChar): Add ':' to number separator chars.