]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
clone NVI, other small stuff
[lyx.git] / src / ChangeLog
1 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * tabular.C (cellstruct): use initialization, store a shared_ptr
4         to insettext instead of the insettext directly, adjust to fit.
5         (operator=):  new function
6         (swap): new function
7         (rowstruct): use initialization
8         (columnstruct): use initialization
9         (ltType): use initialization
10         
11
12         * lyxlength.h (swap): new function 
13
14         * LColor.[Ch] (operator=): use the common semantics 
15
16 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
17
18         * lyxfind.C (findNextChange): update the bufferview after setting
19         the selection
20
21 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
22
23         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
24         number of InsetOptArgs has already been inserted.
25
26         * output_latex.C (latexOptArgInsets): new method. This outputs all
27         the optarg insets, up to the limit defined in the layout file.
28         (optArgInset): removed
29         (TeXOnePar): call latexOptArgInsets; correctly update texrow
30
31 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
32
33         * paragraph.C (isLetter): remove special spellchecker-related
34         code; return true also for digits
35         (isWord, isKomma): remove
36
37         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
38         * lyxfind.C (MatchString()): use isLetter instead of isWord
39
40 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
41
42         * pariterator.h (operatir=): comment out un-implemented member
43         function.
44
45         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
46         static cast.
47
48 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
49
50         * lyxfont.h: include LColor.h to satisfy concept checks.
51
52 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
53
54         * pariterator.h: add typdefs for value_type, difference_type,
55         pointer and reference to satisfy concept checks. Also add default
56         constructor for same reason.
57
58         * pariterator.C (operator++): add post-increment operator to
59         satisfy concept checks.
60
61         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
62         checks.
63
64         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
65
66         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
67         checks. Also rename base_type to BaseType to follow naming
68         standard better.
69
70         * FloatList.h: include Floating.h to satisfy concept checks.
71
72 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
73
74         * lyxfunc.C (getStatus): when the origin of the request is menu or
75         toolbar, and the LyXView does not have focus, do as if there was
76         no buffer (bug 1720)
77
78         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
79         FuncRequest to individual entries of LFUN_SEQUENCE
80
81 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
82
83         * output_latex.C (TeXOnePar): override runparams.moving_arg
84         according to the needprotect value of the current paragraph (bug
85         1739)
86
87         * paragraph.C (simpleTeXOnePar): no need to override
88         runparams.moving_args here
89
90 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
91
92         * vspace.C: fix off-by-one-error, related to fix #1682
93
94 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
95
96         * lengthcommon.C: a more general fix for bug 1682
97
98 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
99
100         * text.C (backspace): fix crash
101
102 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
103
104         * format.[Ch] (getFormatFromFile): new method
105         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
106
107 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
108
109         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
110
111 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
112
113         * lyxfunc.C (dispatch): remove the verbose argument
114         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
115         instead
116
117         * kbmap.C (defkey): set the origin of func to KEYBOARD
118
119         * MenuBackend.C (MenuItem):
120         * ToolbarBackend.C (add): set the origin of func to UI
121
122         * funcrequest.[Ch]: add origin member, which indicates which part
123         of LyX requests an action
124
125 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
126
127         * converter.C (move): don't lie in the error message
128         * converter.h (isReachable, move): document
129
130 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
131
132         * buffer.C: remove unused using lyx::support::atoi
133         * paragraph_funcs.C: ditto
134
135 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
136
137         * bufferlist.C (exists): use bind and equal_to instead of
138         compare_memfun
139         (getBuffer): ditto
140         * lyxtextclasslist.C (NumberOfClass): ditto
141
142         * cursor.C (insert): use for_each instead of explicit for loop
143
144         * bufferlist.C (getFileNames): use std::transform and
145         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
146
147         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
148         for loop
149
150         * buffer.C (changeLanguage): use for_each instead of explicit for
151         loop
152         (hasParWithID): implement using getParFromID
153
154         * LaTeXFeatures.C: ws change only
155
156         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
157         to cleanup a bit.
158
159         * BufferView_pimpl.C (trackChanges): use for_each instead of
160         expilicit for loop
161
162 2004-11-04  André Pönitz  <poenitz@gmx.net>
163
164         * undo.h:
165         * undo.C (textUndoOrRedo): fix crash when creating undo information.
166
167         * dociterator.C (asDocIterator): use hard assert again.
168
169 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
170
171         * lyxlength.C (asLatexString): rewrite so that it does not use
172         snprintf anymore
173
174 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
175
176         * text3.C (specialChar, dispatch): make sure cursor moves to the
177         right after inserting an inset
178
179 2004-11-02  José Matos  <jamatos@lyx.org>
180
181         * output_docbook.C (docbook):
182         * paragraph.C (getID):
183         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
184         garantee that the output is always legal.
185
186         * tabular.C (docbook):
187         * outputprams.[Ch]: remove mixed contents.
188
189 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
190
191         * text2.C (setCounter): prevent endless loop
192
193 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
194
195         * exporter.C (copyFile): use the mover instead of support::copy()
196         * exporter.C (Export): pass format and latex name to copyFile()
197         * exporter.h (addExternalFile): document
198         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
199
200 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
201
202         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
203
204 2004-10-30  José Matos  <jamatos@lyx.org>
205
206         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
207         text and no inset or font change. This allows to use CDATA
208         sections just for the whole paragraph.
209
210 2004-10-30  José Matos  <jamatos@lyx.org>
211
212         * paragraph.C (getFirstWord): remove unused variable.
213
214 2004-10-30  José Matos  <jamatos@lyx.org>
215
216         * paragraph.C (getFirstWord): the content should always be escaped
217         there.
218         (simpleDocBookOnePar):
219         * output_docbook.C (makeEnvironment): replace reference to CDATA
220         to style pass_thru.
221
222 2004-10-30  José Matos  <jamatos@lyx.org>
223
224         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
225
226 2004-10-30  José Matos  <jamatos@lyx.org>
227
228         * output_docbook.C (makeParagraphs):
229         * paragraph.[Ch] (emptyTag): for docbook and company, if the
230         standard paragraph has only a given type of content drop the wrapper.
231
232 2004-10-29  José Matos  <jamatos@lyx.org>
233
234         * output_docbook.C (makeEnvironment):
235         * sgml.C (openTag):
236         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
237
238 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
239
240         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
241         (cleanID): sanitize any id.
242
243 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
244
245         * buffer.C, lyxlex_pimpl.C:
246         * lyxlex_pimpl.C (setFile):
247         s/getExtFromContents/getFormatFromContents/
248
249 2004-10-28  José Matos  <jamatos@lyx.org>
250
251         * output_docbook.C (makeEnvironment): move id to broadest possible
252         scope.
253
254         * sgml.C (openTag): apply substitution of <> for all attributes.
255
256 2004-10-28  José Matos  <jamatos@lyx.org>
257
258         * buffer.C (makeLinuxDocFile, makeDocBookFile):
259         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
260         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
261
262         * sgml.[Ch]: new version for open and closeTag for paragraph and
263         for strings. Now they handle the ids of paragraphs.
264
265 2004-10-26  Angus Leeming  <leeming@lyx.org>
266
267         * Makefile.am: add mover.[Ch].
268
269         * converter.C (convert, move): use the new Movers to move external
270         files to the temp directory.
271
272         * lyx_main.C (init): ensure that the global system_movers data
273         is initialised.
274
275         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
276         preferences file.
277
278         * mover.[Ch]: new files, defining a Mover as a utility to move an
279         external file between directories and, if necessary, manipulate this
280         file using a helper script.
281
282 2004-10-25  José Matos  <jamatos@lyx.org>
283
284         * output_docbook.C (makeCommand): merge two if's that tested the
285         same condition.
286
287 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
288
289         * sgml.C (escapeString): fix warning in a better way
290
291 2004-10-25  José Matos  <jamatos@lyx.org>
292
293         * sgml.C (escapeString): import the require boosts header file for
294         tie, and avoid a signed unsigned comparison.
295
296 2004-10-25  José Matos  <jamatos@lyx.org>
297
298         * sgml.h: add #include <string>
299
300 2004-10-25  José Matos  <jamatos@lyx.org>
301
302         * sgml.[Ch] (escapeString): new function to escape all the string.
303
304 2004-10-24  José Matos  <jamatos@lyx.org>
305
306         * paragraph.[Ch] (getFirstWord): new function to get the first
307         word. Useful for description.
308         (simpleDocBookOnePar): remove depth argument, add another that
309         says where to start the paragraph.
310
311         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
312         use the new functions to fix cleanly the support for descriptions.
313
314 2004-10-24  José Matos  <jamatos@lyx.org>
315
316         * buffer.C (makeLinuxDocFile, makeDocBookFile):
317         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
318         * output_linuxdoc.C (linuxdocParagraphs):
319         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
320         add buffer as argument.
321
322 2004-10-24  José Matos  <jamatos@lyx.org>
323
324         * output_docbook.C (makeEnvironment, searchEnvironment): place
325         CDATA inside paragraphs and fix scope for listitems.
326
327 2004-10-24  José Matos  <jamatos@lyx.org>
328
329         * output_docbook.C: remove using statement for stack.
330
331 2004-10-23  José Matos  <jamatos@lyx.org>
332
333         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
334         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
335         docbook. The new scheme is recursive and makes use of iterators, the
336         same as latex export works.
337         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
338         directly with the paragraph contents. This code was moved up to
339         output_docbook.C (docbookParagraphs).
340         * sgml.C (openTag, closeTag): removed unneeded newlines.
341         (closeEnvTags) removed.
342
343 2004-10-23  André Pönitz  <poenitz@gmx.net>
344
345         * undo.C (textUndoOrRedo):
346         * dociterator.C (asDocIterator): work around crash
347
348         * cursor.C (getStatus): replace ASSERT by more verbose error message
349           and manual correction of the problem. Should increase stability
350           while providing more sensible information.
351
352 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
353
354         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
355
356         * bufferlist.C (previous, next): new methods
357
358         * lfuns.h:
359         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
360
361 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
362
363         * buffer.C (makeDocBookFile): add dsssl stylesheet control
364         entities to preamble.
365
366 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
367
368         * messages.C (Pimpl): strip off translation context information
369
370 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
371
372         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
373         the cursor is correct (bug 1694)
374
375 2004-10-13  José Matos  <jamatos@lyx.org>
376
377         * output_docbook.C (docbookParagraphs): fix closing tags in the
378         end of the document.
379
380 2004-10-09  José Matos  <jamatos@lyx.org>
381
382         * buffer.C: format up to 237.
383         * bufferparams.C (write): use tostr to convert booleans to strings.
384
385 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
386
387         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
388
389 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
390
391         * LaTeX.C: implement use of babel language in xindy.
392
393 2004-10-05  José Matos  <jamatos@lyx.org>
394
395         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
396         Add new translators to help reading and writing the lyx file.
397
398 2004-10-05  José Matos  <jamatos@lyx.org>
399
400         * ParagraphParameters.C (read):
401         * text.C (readParToken): replace nexToken by more appropriate lex
402         methods.
403
404 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
405
406         * LaTeX.C (runMakeIndex):
407         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
408         (usually 'makeindex') configurable.
409
410         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
411         with a variable rather than with a number.
412
413 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
414
415         * output_latex.C (TeXOnePar): make sure font setting is the first
416         thing that gets output (and the last at the end). Should fix bug
417         1404.
418
419 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
420
421         * pch.h: use proper signal include
422
423         * LaTeX.h: Use preferred calling of Boost.Signal
424         * buffer.h: ditto
425
426 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
427
428         * pch.h: dont include <boost/function/function0.hpp>
429
430         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
431
432         * paragraph_pimpl.h: remove usage of ShareContainer
433
434         * paragraph_pimpl.C: remove initialization of ShareContainer.
435
436 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
437
438         Fix bug #1666
439
440         * BufferView.C (putSelectionAt): change the semantics when
441         backwards == true: now, this just swaps cursor and anchor wrt the
442         forward case
443
444         * BufferView.h (putSelectionAt): add some documentation
445
446         * lyxfind.C (findBackwards): rewrite using while(). In particular,
447         make sure backwardChar is done at least once (to avoid getting
448         stuck)
449         (findNextChange): use putSelectionAt in the forward direction
450         (operator()): use Paragraph::isWord
451
452 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
453
454         * Spacing.C (set): c_str fix
455
456 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
457
458         * lyx_cb.C (Reconfigure): quote the name of configure script in
459         case it contains spaces
460
461 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
462
463         * client: new dir
464
465         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
466         (BOOST_LIBS): use top_buildir when looking for the file
467
468 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
469
470         * pch.h: do not use include boost/format.hpp, multiple symbols
471                 will result (gcc bug)
472
473
474 2004-08-23  José Matos  <jamatos@lyx.org>
475
476         * bufferparams.C (readToken): fix reading of the author field.
477
478 2004-08-20  José Matos  <jamatos@lyx.org>
479
480         * lyxrc.C: remove support/translator.h inclusion since it is not used.
481
482 2004-08-20  José Matos  <jamatos@lyx.org>
483
484         * lyxlex.[Ch] (findToken): remove function.
485
486         * ParagraphParameters.C (findToken):
487         * bufferparams.C (findToken): replace call for previous function
488         with local copy. This local function has one more argument, the
489         read string argument.
490
491 2004-08-16  José Matos  <jamatos@lyx.org>
492
493         * ParagraphParameters.C (write):
494         * Spacing.C (writeFile):
495         * bufferparams.C (writeLaTeX):
496         * lyx_cb.C (Reconfigure):
497         * paragraph.C (write):
498         * tabular.C (write): remove unnecessary space at end of line.
499
500
501 2004-08-16  José Matos  <jamatos@lyx.org>
502
503         * text.C (readParagraph): remove debug message.
504
505 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
506
507         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
508         crash
509
510         * output_plaintext.C (asciiParagraph): set depth correctly
511
512         * outputparams.h: add member depth
513
514         * paragraph_funcs.C (ownerPar): remove.
515
516         * text2.C (setCounter): remove first_pit; comment out some
517         non-working code that uses ownerPar
518
519         * BufferView.C (getParentLanguage): remove. Not used anymore, and
520         uses ownerPar
521
522 2004-08-16  José Matos  <jamatos@lyx.org>
523
524         * text.C (readParToken, readParagraph, read): report all unknown tokens.
525         For the same level of importance use the same chanel to report problems.
526         (read): add code to deal with \begin_body and \end_body.
527
528
529 2004-08-15  José Matos  <jamatos@lyx.org>
530
531         * lyxlex.C (getString): fix comment, buffer::readBody is now
532         buffer:readDocument.
533
534         * tex-strings.C (string_papersize): Default -> default,
535         Custom -> custom, for consistency with other options.
536
537 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
538
539         * pch.h: new file
540
541         * Makefile.am: support pch
542
543 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
544
545         * text.C (readParToken): remove the static LyXFont variable and
546         pass it as a parameter instead. This fixes a nasty bug where an
547         inset will be inserted with a bad font in some situations
548         (readParagraph): adapt
549
550         * text2.C (setCounter): reduce number of calls to pars_[pit]
551
552         * text.C (singleWidth): add an assert, fix a test
553
554         * rowpainter.C (paintText): reduce number of calls to singleWidth
555
556         * paragraph.C (isHfill):
557         (isNewline): ws only
558
559 2004-08-14  André Pönitz  <poenitz@gmx.net>
560
561         * text.C:
562         * text2.C:
563         * rowpainter.C:
564         * lyxtext.h (several functions): use a Paragraph & argument
565         instead of par_type
566
567 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
568
569         * metricsinfo.h: add a new field ltr_pos to PainterInfo
570
571         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
572
573         * text.C (singleWidth): remove useless test
574
575 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
576
577         * tabular.h: remove bogus comments
578
579         * tabular.C (getDescentOfRow):
580         (isPartOfMultiColumn): add assertions
581
582         * lyxlength.C (inPixels): remove #warning
583
584 2004-08-14  André Pönitz  <poenitz@gmx.net>
585
586         * paragraph.h: inline getChar()
587
588         * BufferView.h: remove unused declarations
589
590 2004-08-14  José Matos  <jamatos@lyx.org>
591
592         * Buffer.[Ch] (readDocument): new name for old readBody.
593         * Buffer.C: new file format, new keywords: \begin_document,
594         \begin_header, \begin_body, \end_body.
595
596         * bufferparams.C (readToken): replace all calls to lex.nextToken
597         by lex.next(). Do the same to eatLine except where really needed.
598
599         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
600         line when writing to the lyx file.
601
602         * output_plaintext.C (asciiParagraph): fix Bibliography style
603         handling.
604
605         * text.C (read): fix end of file handling.
606
607 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
608
609         * MenuBackend.C (Menu::operator[]): new method to access
610         individual menu items
611         (Menu::hasFunc): new method. search for an item that corresponds
612         to a given func
613         (MenuBackend::specialMenu): new method
614         (MenuBackend::expand): if a special menu has been set, skip
615         entries whose func() appears in this menu
616
617 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
618
619         * text3.C: use Debug::DEBUG a bit more
620
621         * text.C (leftMargin): try to simplify a tiny bit change var x to
622         l_margin. Dont output the wide margins always.
623         (rightMargin): no margin in inner texts
624
625         * rowpainter.h (nestMargin): new func
626         (changebarMargin): new func
627         (rightMargin): new func
628
629         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
630         now functions.
631         (paintLast): ditto
632
633         * factory.C (createInset): modify setDrawFrame
634
635         * cursor.C: use Debug::DEBUG a bit more
636
637 2004-08-14  André Pönitz  <poenitz@gmx.net>
638
639         * coordcache.[Ch]:
640         * Makefile.am: new files to accomodate an 'external' (x,y)-position
641         cache for all insets in (at least partially) visible (top-level)
642         paragraphs.
643
644         * BufferView_pimpl.C: reset external coord cache before every update.
645         This means the coord cache only contains valid entries.
646
647 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
648
649         bug 1096
650         * BufferView_pimpl.C (getInsetByCode): move function out of class
651         and change in to a template in anon namespace. Also fix to do what
652         suits us better.
653
654 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
655
656         bug 1305
657         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
658         of char
659         (breakParagraph): rename par to par_offset and use a local
660         reference. Add code to keep the language over a rebreak.
661         (breakParagraphConservative): rename par to par_offset, use a
662         local reference
663         (mergeParagraph): ditto
664         (outerHook): ditto
665         (isFirstInSequence): ditto
666         (outerFont): rename pit to par_offset
667
668         * paragraph.C: ws change
669         * paragraph.h: ditto
670         * text3.C: ditto
671         * text.C: ditto
672
673 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
674
675         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
676         treatment for ']'
677
678         * paragraph.C (simpleTeXOnePar): when we have a \item with
679         optional argument, enclose the argument with curly brackets (in
680         case it contains a closing square bracket)
681
682         * text2.C (editXY):
683         * text2.C (editXY):
684         * text3.C (checkInsetHit): constify
685
686 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
687
688         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
689         documents (bug 1629)
690
691 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
692
693         Fix toggling of collapsable insets with the mouse (bug 1558)
694
695         * lyxfunc.C (dispatch): adapt to LCursor changes
696
697         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
698         make sure that dispatch is not invoked twice
699
700         * cursor.C (needsUpdate): new method
701         (dispatch): return void
702         (result): new method, to access the DispatchResult of the cursor.
703
704 2004-08-13  José Matos  <jamatos@lyx.org>
705
706         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
707
708 2004-08-13  André Pönitz  <poenitz@gmx.net>
709
710         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
711
712         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
713           multiple cells
714
715 2004-08-12  André Pönitz  <poenitz@gmx.net>
716
717         * text3.C: take out the 'cursor right' form insertInset and only
718         do it in those places when it is really needed. Fixes crash on
719         C-m...
720
721 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
722
723         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
724
725         * BufferView_pimpl.C (setBuffer): initialize the current font of
726         the underlying LyXText
727
728 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
729
730         * kbsequence.C (print): use UI native formatting for menu
731         shortcuts
732
733         * text.C (insertChar): call Paragraph::insertChar with a font
734         argument (cosmetic)
735
736         * paragraph.C (insertInset, insertChar): the version that takes a
737         LyXFont argument is now a wrapper around the other one (the
738         opposite used to be true).
739
740         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
741         argument. Font setting is done in Paragraph now.
742
743 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
744
745         * outputparams.h: add new members intitle and lang.
746
747         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
748         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
749
750 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
751
752         * text3.C (dispatch): remove special handling of button 4 and 5,
753         it is now taken care of in the frontend code.
754
755 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
756
757         * Spacing.h: add <string> (STLPort compile fix)
758
759 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
760
761         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
762
763 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
764
765         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
766         to bool.
767
768         * converter.C (showMessage): inherit from unary_function, make
769         operator() const.
770
771         * buffer.C (writeFile): initialize retval
772
773         * InsetList.h: rename private variable list to list_
774         * InsetList.[Ch]: adjust accordingly.
775
776 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
777
778         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
779         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
780         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
781         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
782         * ParagraphParameters.C, LaTeXFeatures.C: replace
783         "support/std_sstream.h" with <sstream>
784
785 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
786
787         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
788         * lyxsocket.C (LyXServerSocket): ditto
789         (serverCallback): ditto
790
791 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
792
793         * LaTeXFeatures.C: check release date when loading jurabib.
794
795 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
796
797         * lyxserver.C (startPipe): call register_socket_callback
798         (endPipe): call unregister_socket_callback
799
800 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
801
802         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
803         (LyXServerSocket): register the callback
804         (LyXServerSocket): unregister the callback
805         (fd): delete function
806         (serverCallback): improve error checking and setup the callbacks.
807         (dataCallback): change arg to fd.
808         (writeln): new func (copied fro the client socket) used for server
809         write to client.
810         (LyXDataSocket): simplify
811         (~LyXDataSocket): close ann unregiser callback
812         (server): delete function
813         (fd): delete function
814         (readln): small changes, improve some std::string usage
815         (writeln): constify a bit
816
817 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
818
819         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
820         Qt frontend
821
822 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
823
824         * BufferView_pimpl.C (setBuffer): set the layout combox value only
825         after it has been populated
826
827 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
828
829         * text2.C (insertInset): move cursor when inserting inset.
830
831 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
832
833         * kbmap.C (findbindings): a couple of new methods. returns a
834         container of kb_sequence objects. The real work is done by the
835         private recursive version
836         (printbindings): uses findbindings to print out a bracketed list
837         of bindings (renamed from findbinding).
838
839         * MenuBackend.C (binding): use kb_keymap::findbindings
840
841         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
842
843 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
844
845         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
846
847 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
848
849         * paragraph.C (isWord): return true on insets that report
850         isLetter().
851
852         * text.C (getWord): use Paragraph::isWord to decide what is in a
853         word and what is not; fix bug 1609.
854
855 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
856
857         * tex-strings.C: add "none" to string_paperpackages[], fixes
858         off-by-one-error in the paperpackage selection.
859
860         * lyxlex.[Ch]:
861         * tex-strings.[Ch]: char const * string[n]
862         -> char const * const string[]
863
864 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
865
866         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
867         command, return early.
868
869 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
870
871         * debug.h: add DEBUG to enum and fix size of ANY.
872
873         * debug.C: add support for Debug::DEBUG
874         (showTags): cast errorTags.level to unsigned int
875
876         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
877         (redoCurrentBuffer): ditto
878         (updateScrollbar): ditto
879         * cursor.C (dispatch): ditto
880         * text2.C (setLayout): ditto
881         (setFont): ditto
882         (updateCounters): ditto
883         (editXY): ditto
884         (deleteEmptyParagraphMechanism): ditto
885
886 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
887
888         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
889         annotations to cleanup the Makefile slightly.
890
891 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
892
893         * lyxrc.C: do not set user_email to a default value but use empty
894         instead. The entry used to be translated, which does not work
895         since at the point where lyxrc is constructed there is no
896         translation service available
897
898         * messages.C (getLocaleDir): remove and use directly
899         lyx_localedir() instead
900
901 2004-06-02  Angus Leeming  <leeming@lyx.org>
902
903         Fix crash caused by dereferencing null pointer 'exportdata' in
904         OutputParams by creating a new ExportData variable on the heap,
905         storing it in a boost::shared_ptr.
906         The crash was triggered when generating an Instant Preview
907         of an external inset.
908
909         * Makefile.am: add outputparams.C
910
911         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
912         (c-tor): allocate memory to it.
913
914         * exporter.C (c-tor): associated changes.
915
916 2004-06-01  Angus Leeming  <leeming@lyx.org>
917
918         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
919         contains data before calling isInset(0). (Bug 1513.)
920
921 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
922
923         * exporter.C (checkOverwrite): new method
924         * exporter.C (copyFile): new method
925         * exporter.C (Export): copy referenced files to the document dir
926         * exporter.[Ch]: new class ExportedFile
927         * exporter.[Ch]: new class ExportData. Contains currently the
928         names of referenced external files
929         * outputparams.h: add exportdata member.
930
931 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
932
933         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
934         version.C-tmp
935
936 2004-05-19  Angus Leeming  <leeming@lyx.org>
937
938         * LaTeXFeatures.C:
939         * ToolbarBackend.C:
940         * bufferparams.C:
941         * lyxfunc.C: small changes due to the introduction of namespace
942         lyx::frontend and the moving of namespace biblio to lyx::biblio.
943
944 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
945
946         * text3.C (dispatch): supress update when only moving the cursor
947         * cursor.C (selHandle): remove commented code
948
949 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
950
951         * paragraph.C (startTeXParParams): correct column count
952         * CutAndPaste.C (pasteSelection): remove const_cast
953         * output_docbook.C (docbookParagraphs): remove const_cast
954         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
955         const_cast and return ParagraphList::const_iterator
956         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
957         * output_plaintext.C (writeFileAscii): remove const_cast
958         * paragraph.[Ch] (simpleTeXOnePar): make const
959         * paragraph_funcs.C (outerPar): use const iterators
960         * paragraph_pimpl.C (validate): use const iterators
961         * text.C (setHeightOfRow): use const iterators
962
963 2004-05-17  Angus Leeming  <leeming@lyx.org>
964
965         * lfuns.h:
966         * LyXAction.C (init): new LFUN_INSET_REFRESH.
967
968         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
969         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
970         if the citation engine has changed.
971
972 2004-05-14  José Matos  <jamatos@lyx.org>
973
974         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
975         if the textclass does not provide it. Have it different for sgml and
976         xml.
977         support the language of document.
978         * output_docbook.C (docbookParagraphs):
979         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
980         first anchor as the id of the paragraph, remove special case code.
981         * sgml.C (escapeChar): escape only < & >.
982
983 2004-05-14  Angus Leeming  <leeming@lyx.org>
984
985         * bufferparams.h: move biblio::CiteEngine enum here to minimize
986         dependencies on src/frontends/controllers/biblio.h. Define a
987         CiteEngine_enum wrapper class to enable the enum to be forward
988         declared.
989
990 2004-05-12  Angus Leeming  <leeming@lyx.org>
991
992         * buffer.C: up LYX_FORMAT to 234.
993         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
994         use_numerical_citations with a single biblio::CiteEngine cite_engine
995         variable.
996         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
997
998 2004-05-13  José Matos  <jamatos@lyx.org>
999
1000         * converter.h:
1001         * converter.C (Converter, readFlags): add xml member.
1002         * outputparams.h: add XML flavor.
1003         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1004
1005 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1006
1007         * lyxfunc.C (dispatch):
1008         (getStatus): fix handling of LFUN_SEQUENCE
1009
1010 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1011
1012         * debug.C (showLevel): do not forget the end-of-line marker
1013
1014 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1015
1016         * kbmap.C (read): do not stop parsing a bind file when an error
1017         occurs (bug 1575)
1018
1019 2004-04-29  Angus Leeming  <leeming@lyx.org>
1020
1021         * cursor.C:
1022         * factory.C:
1023         * pariterator.C:
1024         * text2.C: wrap a bunch of #warning statements
1025         inside #ifdef WITH_WARNINGS blocks.
1026
1027 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1028
1029         * buffer.C: increment format to 233.
1030
1031 2004-04-28  Angus Leeming  <leeming@lyx.org>
1032
1033         * BufferView_pimpl.C:
1034         * lyxfunc.C:
1035         * text3.C:
1036         s/updateToolbar()/updateToolbars()/
1037         s/Toolbar.h/Toolbars.h/
1038
1039 2004-04-28  Angus Leeming  <leeming@lyx.org>
1040
1041         * BufferView.[Ch] (c-tor):
1042         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1043         No longer passes these data to the WorkArea generator.
1044
1045 2004-04-28  Angus Leeming  <leeming@lyx.org>
1046
1047         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1048
1049 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1050
1051         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1052
1053 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1054
1055         * output_latex.C (TeXEnvironment): make sure that there is a line
1056         break before \end{foo} for the last paragraph of a document
1057         (TeXOnePar): if the paragraph is at the end of the document (or
1058         inset) and the language has to be reset, then make sure that the
1059         line break is _before_ the language command, not after (fixes bug
1060         1225); also make sure that the language reset command is the first
1061         thing after the paragraph (to ensure proper nesting of
1062         environments and thus fix bug 1404)
1063
1064 2004-04-21  John Levon  <levon@movementarian.org>
1065
1066         * ToolbarBackend.h:
1067         * ToolbarBackend.C: make "name" be a programmatic name
1068         and a gui_name field.
1069
1070         * lyxfunc.C: display the minibuffer on M-x
1071
1072 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1073
1074         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1075         (bug 1526)
1076
1077 2004-04-19  Angus Leeming  <leeming@lyx.org>
1078
1079         * BufferView_pimpl.C (setBuffer): changed preview interface.
1080
1081         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1082         possible values.
1083
1084 2004-04-19  John Levon  <levon@movementarian.org>
1085
1086         * BufferView_pimpl.C:
1087         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1088
1089 2004-04-05  Angus Leeming  <leeming@lyx.org>
1090
1091         * text.C (redoParagraphs): add call to updateCounters(), thereby
1092         fixing the missing "Figure #:" label from the caption of a
1093         figure float.
1094
1095 2004-04-13  Angus Leeming  <leeming@lyx.org>
1096
1097         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1098         cursor is clicked out of an inset.
1099
1100 2004-04-13  Angus Leeming  <leeming@lyx.org>
1101
1102         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1103         than an InsetOld one.
1104
1105 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1106
1107         * format.[Ch]: add editor to Format
1108         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1109         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1110
1111 2004-04-08  André Pönitz  <poenitz@gmx.net>
1112
1113         * metricsinfo.h: remove PainterInfo::width member
1114
1115 2004-04-08  Angus Leeming  <leeming@lyx.org>
1116
1117         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1118         "\providecommand" rather than "\newcommand", thereby preventing
1119         clashes with packages that define "\boldsymbol" themselves.
1120         Eg, beamer.
1121
1122 2004-04-08  Angus Leeming  <leeming@lyx.org>
1123
1124         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1125         thereby squashing an unnecessary warning.
1126
1127 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1128
1129         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1130         setBuffer()
1131
1132 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1133
1134         * BufferView.C (setCursor): call redoParagraph (some insets could
1135         have been opened)
1136         (putSelectionAt): remove the 'double update' trick
1137
1138         * BufferView_pimpl.C (fitCursor): call refreshPar
1139         (workAreaDispatch): remove an uneeded update call
1140         (dispatch): remove some manual update calls
1141
1142         * cursor.[Ch]: remove cached_y_, updatePos
1143         (selHandle): set noUpdate when appropriate
1144
1145         * lyxfunc.C (dispatch): track if we need an update
1146
1147         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1148
1149         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1150         (paintSelection): cheap optimization, do not call cursorX when not
1151         needed
1152         (paintPars): change signature
1153         (refreshPar): add
1154         (paintText): adjust
1155         (paintTextInset): adjust
1156
1157         * text.C: adjust
1158
1159 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1160
1161         * lengthcommon.C: compilation fix: remove explicit array size from
1162         unit_name[] and friends
1163
1164 2004-04-05  Angus Leeming  <leeming@lyx.org>
1165
1166         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1167
1168         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1169         present only for the preferences dialog.
1170         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1171
1172 2004-04-05  Angus Leeming  <leeming@lyx.org>
1173
1174         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1175         to enable the frontends to export changes to lyxrc correctly.
1176
1177         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1178
1179 2004-04-07  André Pönitz  <poenitz@gmx.net>
1180
1181         * cursor.[Ch] (selClear, adjust): remove math
1182
1183         * cursor_slice.C: more agressive assert
1184
1185         * lyxfunc.C:
1186         * BufferView_pimpl.C: rework mouse event dispatch
1187
1188         * dociterator.C:
1189         * paragraph.C:
1190         * text2.C:
1191         * text3.C: adjust
1192
1193 2004-04-05  André Pönitz  <poenitz@gmx.net>
1194
1195         * cursor.[Ch] (valign, halign...): remove unneeded functions
1196
1197 2004-04-05  Angus Leeming  <leeming@lyx.org>
1198
1199         * lyxlength.[Ch] (unit_name et al.): const-correct.
1200
1201 2004-04-05  Angus Leeming  <leeming@lyx.org>
1202
1203         * BufferView_pimpl.C:
1204         * buffer.C:
1205         * counters.C:
1206         * cursor.C:
1207         * lyxfunc.C
1208         * paragraph.C:
1209         * pariterator.C:
1210         * text.C:
1211         * text2.C:
1212         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1213
1214 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1215
1216         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1217
1218 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1219
1220         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1221         * BufferView_pimpl.[Ch] (getStatus)
1222         * BufferView.[Ch] (getStatus): add
1223         * lyxfunc.C (getStatus): move lfuns handled in
1224         BufferView::dispatch to te function above
1225         * Cursor.C (setSelection): set selection() = true
1226
1227 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1228
1229         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1230
1231 2004-03-31  Angus Leeming  <leeming@lyx.org>
1232
1233         * lyxfunc.C (dispatch): Fall through to the generic
1234         Dialogs::show("preamble").
1235
1236 2004-03-31  Angus Leeming  <leeming@lyx.org>
1237
1238         * lyxfunc.C (dispatch): Fall through to the generic
1239         Dialogs::show("spellchecker").
1240
1241 2004-03-31  Angus Leeming  <leeming@lyx.org>
1242
1243         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1244         preferences dialog.
1245
1246 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1247
1248         * BufferView.C
1249         * cursor.[Ch]
1250         * dociterator.[Ch]:
1251         * insetiterator.[Ch]:
1252         * lyxfind.C:
1253         * lyxfunc.C:
1254         * pariterator.[Ch]:
1255         * text2.C:
1256         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1257
1258 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1259
1260         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1261         insets where we are putting the cursor.
1262
1263 2004-03-31  Angus Leeming  <leeming@lyx.org>
1264
1265         * lfuns.h:
1266         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1267
1268         * lyxrc.[Ch] (read, write): overloaded member functions taking
1269         a std::[io]stream arguments.
1270
1271         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1272
1273 2004-03-31  Angus Leeming  <leeming@lyx.org>
1274
1275         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1276         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1277
1278         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1279         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1280
1281 2004-03-31  Angus Leeming  <leeming@lyx.org>
1282
1283         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1284         the LFUN_ALL_INSETS_TOGGLE code.
1285
1286 2004-03-30  Angus Leeming  <leeming@lyx.org>
1287
1288         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1289         has died. Fall through to the generic Dialogs::show("document").
1290
1291 2004-03-30  Angus Leeming  <leeming@lyx.org>
1292
1293         * lfuns.h:
1294         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1295         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1296
1297         * lyxfunc.C (getStatus, dispatch): define the actions for these
1298         lfuns. Little more than a cut and pste job from ControlDocument.C
1299
1300         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1301
1302 2004-03-30  Angus Leeming  <leeming@lyx.org>
1303
1304         * lfuns.h:
1305         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1306         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1307
1308         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1309         open/closed state of ollapsable insets. Usage:
1310
1311         all-inset-toggle <state> <name>, where
1312         <state> == "open" || "closed" || "toggle" and
1313         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1314
1315         * lyxtext.h, text2.C (toggleInset): removed.
1316
1317         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1318         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1319         now passes LFUN_INSET_TOGGLE to the found inset.
1320
1321         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1322         is now invoked as "all-insets-toggle toggle branch".
1323
1324 2004-03-30  Angus Leeming  <leeming@lyx.org>
1325
1326         * dociterator.C:
1327         * insetiterator.C:
1328         * pariterator.[Ch]: added/corrected header blurb.
1329
1330 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1331
1332         * dociterator.[Ch]: add an inset_ member
1333         (backwardPos): implemented
1334         (backwardPos, forwardPos): use inset_ when the stack is empty.
1335         (doc_iterator_begin, doc_iterator_end): implemented
1336         * pariterator.[Ch]: adjust, add begin, end
1337         * insetiterator.[Ch]: adjust, add begin, end
1338         * cursor.C:
1339         * document.C:
1340         * BufferView.C:
1341         * BufferView_pimpl.C:
1342         * CutAndPaste.C: adjust
1343
1344 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1345
1346         * buffer.C: increment file format to 232.
1347         * LaTeXFeatures.C: add bibtopic package.
1348         * bufferparams.[Ch]: param \use_bibtopic.
1349
1350         * lyxrc.[Ch]: add lyxrc bibtex_command
1351         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1352
1353         * buffer.C: increment file format to 231.
1354
1355 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1356
1357         * dociterator.C: implement forwardPar
1358         * iterators.[Ch]: remove, replaced by
1359         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1360         * BufferView.C:
1361         * BufferView_pimpl.C:
1362         * CutAndPaste.C:
1363         * buffer.C:
1364         * bufferview_funcs.C:
1365         * cursor.C:
1366         * lyxfind.C
1367         * lyxfunc.C
1368         * paragraph_funcs.C
1369         * toc.C:
1370         * Makefile.am: adjust
1371
1372 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1373
1374         * CutAndPaste.C (pasteSelection): fix 2 crashes
1375         (eraseSelection): fix a crash
1376         * paragraph_funcs.C: remove a warning
1377
1378 2004-03-28  Angus Leeming  <leeming@lyx.org>
1379
1380         * lfuns.h:
1381         * LyXAction.C (init): new LFUN_PRINT.
1382
1383         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1384
1385 2004-03-27  Angus Leeming  <leeming@lyx.org>
1386
1387         * lfuns.h:
1388         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1389
1390         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1391
1392 2004-03-27  Angus Leeming  <leeming@lyx.org>
1393
1394         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1395         insetlist always contains non-null pointers to insets.
1396
1397 2004-03-26  Angus Leeming  <leeming@lyx.org>
1398
1399         * src/BufferView_pimpl.C:
1400         * src/CutAndPaste.C:
1401         * src/buffer.C:
1402         * src/iterators.C:
1403         * src/output_plaintext.C:
1404         * src/outputparams.h:
1405         * src/paragraph_funcs.C:
1406         * src/rowpainter.C:
1407         * src/text.C:
1408         * src/text2.C:
1409         * src/frontends/controllers/ControlErrorList.C:
1410         * src/frontends/gtk/FileDialogPrivate.C:
1411         * src/frontends/gtk/GPainter.C:
1412         * src/frontends/gtk/GToolbar.C:
1413         * src/frontends/qt2/QRef.C:
1414         * src/mathed/math_scriptinset.C: squash compiler warnings.
1415
1416 2004-03-26  Angus Leeming  <leeming@lyx.org>
1417
1418         * ispell.C (LaunchIspell::start):
1419         * lyx_cb.C (AutoSaveBuffer::start):
1420         invoke run(DontWait) rather than runNonBlocking().
1421
1422 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1423
1424         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1425
1426 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1427
1428         * kbsequence.C (print): adjust
1429
1430         * kbmap.C (printKeySym): rename and change signature
1431         (printKey): use LyXKeySym::print()
1432
1433 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1434
1435         * undo.C: add using std::advance to compile for stlport
1436
1437 2004-03-24  Angus Leeming  <leeming@lyx.org>
1438
1439         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1440         it leads to a crash when no buffer is present.
1441
1442 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1443             Martin Vermeer  <martin.vermeer@hut.fi>
1444
1445         * lyxfunc.C (dispatch):
1446         * bufferparams.C (readToken): use the new LColor::setColor
1447
1448         * LColor.[Ch] (setColor): new version that takes two strings as
1449         argument and creates a new color entry if necessary
1450
1451 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1452
1453         * buffer.C (makeLaTeXFile): if the main latex file that is
1454         processed is usually a subdocument of some master, then pretend
1455         for a while that it is actually the master
1456
1457 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1458
1459         * buffer.C (getLabelList):
1460         (getBibkeyList): use getMasterBuffer()
1461         (getMasterBuffer): new method. Returns the main document in the
1462         case where one is using included documents.
1463
1464 2004-03-25  André Pönitz  <poenitz@gmx.net>
1465
1466         * Makefile.am:
1467         * iterators.[Ch]:
1468         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1469
1470         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1471
1472         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1473         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1474
1475         * ParameterStruct.h: merge with ParagraphParameters
1476
1477         * lyxtext.h: remove LyXText::parOffset() and getPar()
1478
1479         * text3.C: Remove all 'manual' update calls. We do now one per user
1480         interaction which is completely sufficient.
1481
1482         * Bidi.C:
1483         * BufferView.[Ch]:
1484         * BufferView_pimpl.C:
1485         * FontIterator.[Ch]:
1486         * MenuBackend.C:
1487         * ParagraphParameters.[Ch]:
1488         * buffer.C:
1489         * buffer.h:
1490         * bufferlist.C:
1491         * cursor.[Ch]:
1492         * cursor_slice.[Ch]:
1493         * dociterator.[Ch]:
1494         * errorlist.[Ch]:
1495         * factory.C:
1496         * lfuns.h:
1497         * lyxfind.C:
1498         * lyxfunc.C:
1499         * output_docbook.[Ch]:
1500         * output_latex.[Ch]:
1501         * output_linuxdoc.[Ch]:
1502         * output_plaintext.[Ch]:
1503         * paragraph.[Ch]:
1504         * paragraph_funcs.[Ch]:
1505         * paragraph_pimpl.[Ch]:
1506         * rowpainter.C:
1507         * tabular.[Ch]:
1508         * text.C:
1509         * text2.C:
1510         * toc.C:
1511         * undo.[Ch]: adjust
1512
1513         * frontends/controllers/ControlDocument.C:
1514         * frontends/controllers/ControlErrorList.C:
1515         * frontends/controllers/ControlSpellchecker.C:
1516         * insets/inset.C:
1517         * insets/inset.h:
1518         * insets/insetbase.h:
1519         * insets/insetbibitem.C:
1520         * insets/insetbox.C:
1521         * insets/insetbranch.C:
1522         * insets/insetcaption.C:
1523         * insets/insetcharstyle.C:
1524         * insets/insetcharstyle.h:
1525         * insets/insetcollapsable.C:
1526         * insets/insetcollapsable.h:
1527         * insets/insetert.C:
1528         * insets/insetfloat.C:
1529         * insets/insetfoot.C:
1530         * insets/insetmarginal.C:
1531         * insets/insetnote.C:
1532         * insets/insetoptarg.C:
1533         * insets/insettabular.C:
1534         * insets/insettext.C:
1535         * insets/insettext.h:
1536         * insets/insetwrap.C:
1537         * mathed/math_mboxinset.C:
1538         * mathed/math_nestinset.C:
1539         * mathed/math_scriptinset.C:
1540         * mathed/math_scriptinset.h:
1541         * support/types.h:
1542
1543 2004-03-24  Angus Leeming  <leeming@lyx.org>
1544
1545         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1546         deal with any child processes that have finished but are waiting to
1547         communicate this fact to the rest of LyX.
1548
1549 2004-03-24  Angus Leeming  <leeming@lyx.org>
1550
1551         64-bit compile fixes.
1552
1553         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1554         (c-tor): pass lyx::pos_types rather than ints.
1555
1556         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1557         lyx::pos_type.
1558
1559         * text.C (Delete): compile fix.
1560         (getPar): ensure that function declaration is the same as that in
1561         the header file.
1562
1563 2004-03-23  Angus Leeming  <leeming@lyx.org>
1564
1565         * ispell.C (LaunchIspell):
1566         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1567         a boost::shred_ptr rather than a std::auto_ptr.
1568
1569 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1570
1571         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1572         handle LFUN_FILE_INSERT_*
1573
1574         * lyxrc.C (setDefaults, getDescription, output, read):
1575         * lyxrc.h: remove ps_command
1576
1577 2004-03-22  Angus Leeming  <leeming@lyx.org>
1578
1579         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1580         Ensure that error_handler is processed once only and that all data
1581         is saved before attempting to output any warning messages.
1582
1583         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1584
1585 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1586
1587         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1588
1589 2004-03-19  André Pönitz  <poenitz@gmx.net>
1590
1591         * cursor.[Ch] (reset): take main text inset as argument
1592
1593         * BufferView: adjust
1594         * BufferView_pimpl.C: adjust
1595
1596         * paragraph.[Ch]: fix completely broken operator=()
1597
1598 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1599
1600         * LColor.C (getFromLyXName): make sure that the color name is used
1601         as lowercase.
1602
1603 2004-03-17  Angus Leeming  <leeming@lyx.org>
1604
1605         * lfuns.h:
1606         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1607
1608         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1609         dialog and to kill a forked process.
1610
1611 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1612
1613         * text2.C (setCursorFromCoordinates): fix font problem
1614
1615 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1616
1617         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1618         bogus "rebuild cursor" code
1619
1620 2004-03-11  André Pönitz  <poenitz@gmx.net>
1621
1622         * buffer.[Ch]: use InsetText instead of LyXText as container for
1623         the main lyx text.
1624
1625         * dociterator.[Ch]: drop the BufferView * member which is not needed
1626         anymore after the change to buffer.C
1627
1628         * paragraph_funcs.C:
1629         * text.C:
1630         * text2.C:
1631         * BufferView.[Ch]:
1632         * BufferView_pimpl.[Ch]:
1633         * cursor.[Ch]:
1634         * cursor_slice.[Ch]: adjust
1635
1636         * text3.C: fix bug in mathDispatch
1637
1638 2004-03-08  André Pönitz  <poenitz@gmx.net>
1639
1640         * undo.[Ch]: use 'StableDocumentIterator' as base for
1641         the Undo struct.
1642
1643 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1644
1645         * LaTeXFeatures.C:
1646         * bufferparams.[Ch]: add jurabib support and param.
1647
1648         * LaTeX.C: add FIXME/comment.
1649
1650 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1651
1652         * buffer.C: increment file format to 230.
1653
1654 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1655
1656         * cursor.C (dispatch): avoid infinite loops
1657
1658 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1659
1660         * rowpainter.C (paintSelection): fix x coordinates
1661
1662 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1663
1664         * text.C (rowBreakPoint): fix breaking before displayed insets
1665
1666 2004-03-01  André Pönitz  <poenitz@gmx.net>
1667
1668         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1669
1670         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1671
1672         * Makefile.am:
1673         * BufferView.C:
1674         * BufferView_pimpl.C:
1675         * buffer.C:
1676         * lyxfind.C:
1677         * lyxfunc.C:
1678         * text.C:
1679         * text2.C:
1680         * text3.C: adjust
1681
1682 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1683
1684         * lyxtext.h:
1685         * text.C:
1686         * text2.C:
1687         * rowpainter.C:
1688         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1689         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1690
1691 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1692
1693         * Bidi.[Ch] (computeTables): const correctness
1694         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1695         fill_hfill, fill_label_hfill and x from Row
1696         * lyxtext.h: prepareToPrint returns a RowMetrics
1697         * rowPainter.C: adjust
1698         * text.C (prepareToPrint): use width, not textWidth. adjust
1699         (redoParagraphInternal, cursorX): adjust
1700         * text2.C (getColumnNearX): adjust
1701         (init): put a default value to the top LyXText::width
1702
1703 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1704
1705         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1706
1707 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1708
1709         * lyxtext.h: add FontIterator class
1710
1711         * text.C (FontIterator, operator*, operator->, operator++): add
1712         (rowBreakPoint, setRowWidth): adjust (fixing a
1713         rebreaking bug)
1714
1715 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1716
1717         * BufferView_pimpl.C (workAreaDispatch): allow also
1718         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1719
1720 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1721
1722         * text.C (rowBreakPoint): fix a bug showing with very large insets
1723
1724 2004-02-25  André Pönitz  <poenitz@gmx.net>
1725
1726         * text3.C:
1727         * cursor.[Ch]: move some mathed specific code to mathed
1728
1729 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1730
1731         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1732         use_tempdir in preferences
1733         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1734         tempfile creation
1735         * lyx_main.C: ensure that tempdir is valid
1736         * lyxlex.h: correct typo
1737         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1738         * paragraph.[Ch] (isMultiLingual): make const
1739         * cursor.[Ch] (openable): make const
1740
1741 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1742
1743         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1744
1745 2004-02-20  André Pönitz  <poenitz@gmx.net>
1746
1747         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1748
1749         * cursor.[Ch]: prepare for localized getStatus()
1750
1751         * lyxtext.h:
1752         * tabular.C:
1753         * text.C:
1754         * text2.C:
1755         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1756
1757 2004-02-20  André Pönitz  <poenitz@gmx.net>
1758
1759         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1760
1761 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1762
1763         * text2.C (setCursorFromCoordinates): switch to absolute coords
1764         (cursorUp): adjust
1765         (cursorDown): adjust
1766         * text3.C (dispatch): adjust
1767
1768 2004-02-16  André Pönitz  <poenitz@gmx.net>
1769
1770         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1771           insets/ChangeLog)
1772
1773         * cursor_slice.[Ch]: remove unneeded acessor function
1774
1775         * lyxtext.h: rename rtl() to isRTL()
1776
1777         * rowpainter.C:
1778         * tabular.C:
1779         * text.C:
1780         * text2.C:
1781         * text3.C: adjust
1782
1783 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1784
1785         * rowpainter.C (paintSelection): coord fix
1786
1787 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1788
1789         * Spacing.C: compile fix
1790
1791 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1792
1793         * cursor.C (dispatch): restore current_ before returning
1794
1795 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1796
1797         * text2.C (cursorUp, cursorDown): fix coords
1798         (moveUp): fix crash
1799
1800 2004-02-12  André Pönitz  <poenitz@gmx.net>
1801
1802         * lyxtext.h:
1803         * text.C:
1804         * text2.C:
1805         * text3.C: add LCursor & parameter to most cursor movement functions
1806           remove usage of LyXText::cursorRow() and cursorPar()
1807
1808         * cursor.[Ch]: add textRow() needed members
1809
1810         * BufferView.C:
1811         * BufferView_pimpl.C:
1812         * paragraph.[Ch]:
1813         * BufferView.C:
1814         * BufferView_pimpl.C: adjust
1815
1816 2004-02-11  André Pönitz  <poenitz@gmx.net>
1817
1818         * lyxfunc.C:
1819         * BufferView.[Ch]:
1820         * BufferView_pimpl.C: shift undo/redo handling
1821
1822         * cursor.[Ch]: fix mathed crash
1823
1824         * lyxfind.C:
1825         * lyxtext.h: move selectionAsText to LCursor
1826
1827         * output_latex.C:
1828         * paragraph.C:
1829         * text.C:
1830         * text2.C:
1831         * text3.C: adjust
1832
1833         * rowpainter.C: fix excessive drawing
1834
1835 2004-02-06  André Pönitz  <poenitz@gmx.net>
1836
1837         * BufferView.[Ch]:
1838         * BufferView_pimpl.[Ch]:
1839         * text3.C: move some text specific LFUN handling
1840
1841 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1842
1843         * text3.C (checkInsetHit): adjust coords
1844         * text2.C (getColumnNearX): adjust coords
1845         (edit): adjust coords
1846         * text.C (getRowNearY): add two asserts
1847
1848 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1849
1850         * converter.C:
1851         * format.C: add using std::distance to compile on gcc 2.95/stlport
1852
1853 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1854
1855         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1856
1857 2004-02-04  André Pönitz  <poenitz@gmx.net>
1858
1859         * BufferView.[Ch] (insertInset):
1860         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1861
1862         * text2.C:
1863         * text3.C: adjust
1864
1865 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1866
1867         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1868         on the default clause of the switch
1869         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1870         wasn't catched by LCursor::dispatch
1871
1872 2004-02-03  André Pönitz  <poenitz@gmx.net>
1873
1874         * BufferView.C:
1875         * cursor.[Ch]: some additional asserts
1876
1877         * undo.[Ch]: remove LyXText dependency in interface
1878
1879         * lyxfunc.C: adjust
1880
1881         * lyxtext.h (firstPar, lastPar): remove dead functions
1882
1883         * text.C:
1884         * text2.C:
1885         * text3.C:
1886         * paragraph.[Ch]: adjust
1887
1888 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1889
1890         * lyxfind.C (find): fix argument order in call to ::find
1891
1892 2004-02-02  André Pönitz  <poenitz@gmx.net>
1893
1894         * cursor.[Ch]: remove direct access to anchor
1895
1896         * text.C: remove findText() hack
1897
1898 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1899
1900         * iterators.[Ch] (lockPath): remove in favour of...
1901         * BufferView.[Ch] (setCursor): this addition
1902         * BufferView.C (putSelectionAt): adjust
1903         * undo.C (performUndoOrRedo): adjust
1904         * lyxfunc.C (dispatch): adjust
1905
1906 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1907
1908         * iterators.C (lockPath): add a missing slice
1909         * undo.C (performUndoOrRedo): remove redundant positioning code
1910
1911 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1912
1913         * vc-backend.C (scanMaster): ";" -> ';'
1914
1915 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1916
1917         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1918         std::binary_function
1919
1920         * lyxtextclass.C (compare_name): rename to...
1921         (LayoutNamesEqual): ...this
1922
1923         * lyxlex_pimpl.C (compare_tags): inherit from
1924         std::binary_function, put back into anon namespace
1925
1926         * lyxfind.C (MatchString): inherig from std::binary_function
1927         (findChange): use empty() istead of !size()
1928
1929         * format.C (FormatNamesEqual): new functor
1930         (getFormat): use it
1931         (getNumber): use it
1932         (add): use it
1933         (erase): use it
1934         (setViewer): use it
1935
1936         * converter.C (compare_Converter): rename to...
1937         (ConverterEqual): ...this, and fixup a bit.
1938         (getConverter): use it, and make function const
1939         (getNumber): use it, and make function const
1940         (add): use it
1941         (erase): use it:
1942
1943         * bufferlist.C: add using boost::bind
1944
1945         * MenuBackend.C (MenuNamesEqual): new functor
1946         (hasMenu): use it, and make function const
1947         (hasSubmenu): use nested bind to get rid of compare_memfun.
1948
1949 2004-01-30  André Pönitz  <poenitz@gmx.net>
1950
1951         * BufferView_pimpl.C:
1952         * cursor.C:
1953         * cursor.h:
1954         * cursor_slice.[Ch]:
1955         * lyxfunc.C:
1956         * lyxtext.h:
1957         * paragraph_funcs.C:
1958         * paragraph_funcs.h:
1959         * rowpainter.C:
1960         * text.C:
1961         * text2.C:
1962         * text3.C: move some of the edit(x,y) handling to the insets
1963         some coordinate changes.
1964
1965 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1966
1967         * text.C: add using statements for std::advance and std::distance
1968
1969         * paragraph.C: add using statement for std::distance
1970
1971         * lyxfind.C: add using statement for std::advance
1972
1973         * cursor.C (region): remove std:: from swap
1974         (openable): use nucleus in stead of operator->
1975
1976         * BufferView.C: add using statements for std::distance and std::swap
1977
1978 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1979
1980         * iterators.C: Remove the pimple, move the needed structures to
1981         the header file. Create accessor for the positions stack.
1982         (asPosIterator): remove function
1983
1984         * PosIterator.C (PosIterator): move constructors to top of file
1985         (PosIterator): reimplement the constructor taking a ParIterator in
1986         terms of setFrom.
1987         (setFrom): new function
1988         (operator!=): inline it
1989
1990 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1991
1992         * lyxfind.C (replaceAll): use std::advance
1993
1994         * iterators.h: inherit from std::iterator.
1995
1996         * PosIterator.C (advance, distance): remove
1997         * PosIterator.h: interit from std::iterator.
1998
1999 2004-01-26  André Pönitz  <poenitz@gmx.net>
2000
2001         * BufferView.[Ch]:
2002         * BufferView_pimpl.[Ch]:
2003         * InsetList.[Ch]:
2004         * PosIterator.[Ch]:
2005         * buffer.h:
2006         * bufferview_funcs.C:
2007         * cursor.[Ch]:
2008         * cursor_slice.h:
2009         * factory.[Ch]:
2010         * iterators.[Ch]:
2011         * lyxfind.C:
2012         * lyxfunc.C:
2013         * lyxtext.h:
2014         * output_docbook.C:
2015         * output_latex.C:
2016         * output_linuxdoc.C:
2017         * output_plaintext.C:
2018         * paragraph.[Ch]:
2019         * paragraph_funcs.[Ch]:
2020         * paragraph_pimpl.[Ch]:
2021         * rowpainter.C:
2022         * tabular.C:
2023         * tabular.h:
2024         * text.C:
2025         * text2.C:
2026         * text3.C: more IU:  dumps most of the rest of the mathcursor
2027     implementation into cursor.[Ch]; "globalize" a bit of it.
2028
2029 2004-01-25  Angus Leeming  <leeming@lyx.org>
2030
2031         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2032
2033 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2034
2035         * LaTeXFeatures.h: add nice_ and nice() const
2036         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2037
2038 2004-01-20  André Pönitz  <poenitz@gmx.net>
2039
2040         * BufferView.[Ch]:
2041         * BufferView_pimpl.C:
2042         * PosIterator.C:
2043         * bufferview_funcs.C:
2044         * cursor.[Ch]:
2045         * cursor_slice.[Ch]:
2046         * factory.C:
2047         * iterators.C:
2048         * lyx_cb.C:
2049         * lyxfind.C:
2050         * lyxfunc.C:
2051         * lyxtext.h:
2052         * rowpainter.C:
2053         * text.C:
2054         * text2.C:
2055         * text3.C:
2056         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2057           LCursor and mathcursor parts to LCursor and InsetBase.
2058
2059 2004-01-15  André Pönitz  <poenitz@gmx.net>
2060
2061         * cursor_slice.[Ch]: add a few covienience functions
2062
2063         * funcrequest.[Ch]: remove BufferView * member
2064
2065         * BufferView_pimpl.C:
2066         * cursor.C:
2067         * factory.[Ch]:
2068         * lyxfind.[Ch]:
2069         * lyxfunc.C:
2070         * lyxtext.h:
2071         * text3.C:
2072         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2073
2074 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2075
2076         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2077         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2078
2079 2004-01-13  André Pönitz  <poenitz@gmx.net>
2080
2081         * textcursor.[Ch]:
2082         * lyxtext.h: hide cursor and selection anchor behind accessor function
2083
2084         * BufferView.C:
2085         * BufferView_pimpl.[Ch]:
2086         * PosIterator.C:
2087         * bufferview_funcs.C:
2088         * cursor.h:
2089         * lyxfind.C:
2090         * lyxfunc.C:
2091         * text.C:
2092         * text2.C:
2093         * text3.C:
2094         * undo.C: adjust
2095
2096         * cursor.h:
2097         * cursor_slice.[Ch]: some integer type changes for inset unification
2098
2099         * lyxcursor.[hC]: remove, it's CursorSlice now.
2100
2101         * Makefile.am:
2102         * BufferView_pimpl.[Ch]:
2103         * bufferview_funcs.C:
2104         * cursor_slice.C:
2105         * lyxtext.h:
2106         * text.C:
2107         * text2.C:
2108         * text3.C:
2109         * textcursor.[Ch]: adjust
2110
2111 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2112
2113         * text2.C (undoSpan): add and use
2114         * text.C (breakParagraph): use undoSpan (fix bug 578)
2115         * lyxtext.h: adjust
2116
2117 2004-01-08  Angus Leeming  <leeming@lyx.org>
2118
2119         * BufferView_pimpl.C (MenuInsertLyXFile):
2120         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2121         * lyxfunc.C (menuNew, open, doImport):
2122         FileFilterList change to the FileDialog open and save functions.
2123
2124 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2125
2126         * ShareContainer.h: make isEqual and isUnique adaptable
2127
2128         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2129
2130 2004-01-07  Angus Leeming  <leeming@lyx.org>
2131
2132         * LyXAction.C:
2133         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2134
2135         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2136
2137         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2138         functions replacing find, replace and replaceAll.
2139
2140         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2141         LFUN_WORDFIND(FORWARD|BACKWARD).
2142
2143 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2144
2145         * text.C (breakParagraph): remove an outdated #warning
2146
2147 2004-01-07  André Pönitz  <poenitz@gmx.net>
2148
2149         * lyxfind.C: somewhat clearer logic
2150
2151         * text.C: prevent crash in cursorX on unitialized row cache
2152
2153 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2154
2155         * lyxcursor.[Ch] (operator>): add
2156         * textcursor.C (selStart, selEnd): use std::min and std::max
2157
2158 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2159
2160         * Chktex.C: include boost/format.hpp
2161
2162 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2163
2164         * InsetList.C: replace functor MathcIt with adaptable functor
2165         InsetTablePosLess
2166         (insetIterator): modify accordingly
2167
2168         * BranchList.h: move the BranchNamesEqual functor here from...
2169         * BranchList.C: ... to here
2170
2171         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2172         SameName and match.
2173         (add): replace a finding loop with std::find_if.
2174
2175 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2176
2177         * output_docbook.C: moving LatexParam functionality into
2178         .layout files
2179
2180 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2181
2182         * buffer.C: increment format to 229.
2183
2184 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2185
2186         * LaTeXFeatures.C:
2187         * lyx_sty.[Ch]: remove minipageindent_def
2188
2189         * LyXAction.C:
2190         * factory.C:
2191         * lfuns.h:
2192         * lyxfunc.C:
2193         * text3.C: remove LFUN_INSET_MINIPAGE
2194
2195 2003-12-28  Angus Leeming  <leeming@lyx.org>
2196
2197         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2198
2199 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2200
2201         * text2.C (setParagraph): fix off-by-one crash
2202
2203 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2204
2205         * output_docbook.C: header stuff for AGU
2206
2207 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2208
2209         * text2.C (redoCursor): remove
2210         * text.C:
2211         * text3.C:
2212         * BufferView_pimpl.C: remove calls to redoCursor and
2213         setCursor(cursor.par(), cursor.pos()) all around
2214
2215 2003-12-15  Angus Leeming  <leeming@lyx.org>
2216
2217         * buffer.C: up the format to 228.
2218
2219 2003-12-15  André Pönitz  <poenitz@gmx.net>
2220
2221         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2222         slices
2223
2224         * Makefile.am:
2225
2226         * BufferView_pimpl.C:
2227         * cursor.[Ch]:
2228         * lyxcursor.[Ch]:
2229         * rowpainter.[Ch]:
2230         * lyxtext.h:
2231         * text.C:
2232         * text2.C:
2233         * text3.C: adjust
2234
2235 2003-12-15  Angus Leeming  <leeming@lyx.org>
2236
2237         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2238         than getFromGUIName to manipulate the color.
2239
2240 2003-12-14  Angus Leeming  <leeming@lyx.org>
2241
2242         * BranchList.[Ch]: minimize the API.
2243         (Branch::getBranch, getColor): now return a 'const &'.
2244         (Branch::setSelected) now returns a bool set to true if the
2245         selection status changes.
2246         (BranchList::clear, size, getColor, setColor, setSelected,
2247         allBranches, allSelected, separator): removed.
2248         (BranchList::find): new functions, returning the Branch with
2249         the given name.
2250         (BranchList::add, remove): return a bool indicating that
2251         the operation was successful.
2252
2253         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2254         new InsetBranch::isBranchSlected member function.
2255
2256         * LColor.[Ch]: mimimize the API.
2257         (fill): renamed as addColor and made private.
2258         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2259         versions of these functions taking a string arg have been removed.
2260
2261         * bufferparams.C (readToken):
2262         * lyxfunc.C (dispatch):
2263         * lyxrc.C (read): changes due to the altered BranchList and
2264         LColor APIs.
2265
2266         * factory.C (createInset, readInset): changes due to altered
2267         InsetBranch c-tor.
2268
2269 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2270
2271         * factory.C:
2272         * lyxfunc.C: remove insetminipage. "minipage-insert"
2273         now produces a frameless minipage box inset.
2274
2275 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2276
2277         * textcursor.[Ch] (selStart,selEnd): add new methods
2278         remove selection::start, end, use LyXCursor::operator<
2279         * lyxcursor.[Ch] (operator<): add
2280         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2281         * BufferView.[Ch] (unsetXSel): add
2282         * text2.C (clearSelection): use unsetXSel,adjust
2283         * text.C: adjust
2284         * text3.C: adjust
2285         * rowpainter.C: adjust
2286         * bufferview_funcs.C (put_selection_at): adjust
2287
2288 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2289
2290         * BufferView_pimpl.C: small coord. correction
2291
2292 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2293
2294         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2295         dragging over the splash screen.
2296
2297 2003-12-11  Angus Leeming  <leeming@lyx.org>
2298
2299         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2300         as it is now handled in LyXText::dispatch.
2301
2302         * text3.C (doInsertInset): remove a level of nesting.
2303
2304 2003-12-11  Angus Leeming  <leeming@lyx.org>
2305
2306         * factory.C (createInset): changes due to the changed interface to
2307         InsetCommandMailer::string2params.
2308
2309 2003-12-10  Angus Leeming  <leeming@lyx.org>
2310
2311         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2312         'dialog-show-new-inset <inset name>'
2313
2314 2003-12-10  Angus Leeming  <leeming@lyx.org>
2315
2316         * buffer.C: up the format to 227.
2317
2318         * factory.C: the box inset is now identified simply by 'Box'.
2319
2320 2003-12-10  Angus Leeming  <leeming@lyx.org>
2321
2322         * buffer.C: up the format to 226.
2323
2324         * factory.C: the note inset is now identified simply by 'Note'.
2325
2326 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2327
2328         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2329         when a pit is enough. Standarize a couple of loops.
2330
2331 2003-12-05  Angus Leeming  <leeming@lyx.org>
2332
2333         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2334         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2335         data to the re-worked "log" dialog.
2336
2337 2003-12-03  André Pönitz  <poenitz@gmx.net>
2338
2339         * PosIterator.C:
2340         * iterators.C:
2341         * lyxtext.h:
2342         * output_latex.C:
2343         * paragraph_funcs.C:
2344         * text.C:
2345         * text2.C: use Inset::getText instead of Inset::getParagraph
2346
2347 2003-12-03  André Pönitz  <poenitz@gmx.net>
2348
2349         * buffer.[Ch]:
2350         * lyxtext.h:
2351         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2352         InsetText::read() as LyXText::read()
2353
2354 2003-12-02  Angus Leeming  <leeming@lyx.org>
2355
2356         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2357         type. Add a comment in the implementation that the function uses
2358         the stream's bad() function rather than fail() as the std::streams
2359         would do.
2360
2361 2003-12-02  André Pönitz  <poenitz@gmx.net>
2362
2363         * lyxlex.[Ch]: make interface more similar to std::stream
2364
2365         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2366
2367 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2368
2369         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2370
2371 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2372
2373         * vspace.[Ch]: remove VSpace::NONE
2374
2375 2003-12-01  André Pönitz  <poenitz@gmx.net>
2376
2377         * buffer.[Ch]:
2378         * lyxtext.h: move ParagraphList member to LyXText
2379         rename LyXText::ownerParagraphs to LyXText::paragraph
2380
2381         * CutAndPaste.C:
2382         * bufferview_funcs.C:
2383         * iterators.[Ch]:
2384         * lyx_cb.C:
2385         * paragraph.C:
2386         * rowpainter.C:
2387         * tabular.C:
2388         * text.C:
2389         * text2.C:
2390         * text3.C: adjust
2391
2392         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2393
2394         * undo.C: fix cursor positioning
2395
2396 2003-12-01  John Levon  <levon@movementarian.org>
2397
2398         * BufferView_pimpl.C: fix a crash on exit with
2399         a buffer open
2400
2401 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2402
2403         * BranchList.C: fix setSelected() method.
2404
2405 2003-11-28  André Pönitz  <poenitz@gmx.net>
2406
2407         * ParagraphParameters.[Ch]:
2408         * ParameterStruct.h: remove space above/below from Paragraph to
2409          InsetVSpace
2410
2411         * BufferView_pimpl.C:
2412         * factory.C:
2413         * lyxfunc.C:
2414         * lyxtext.h:
2415         * output_latex.C:
2416         * paragraph.C:
2417         * paragraph_funcs.C:
2418         * rowpainter.[Ch]:
2419         * text.C:
2420         * text2.C:
2421         * text3.C: adjust
2422
2423 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2424
2425         * factory.C: Syntax change for CharStyles
2426
2427 2003-11-28  André Pönitz  <poenitz@gmx.net>
2428
2429         * BufferView.[Ch]:
2430         * BufferView.[Ch]:
2431         * buffer.[Ch]:
2432         * buffer.[Ch]: move LyXText member
2433
2434 2003-11-28  André Pönitz  <poenitz@gmx.net>
2435
2436         * BufferView.[Ch]: make LyXText * text a private member
2437
2438         * BufferView_pimpl.C:
2439         * cursor.C:
2440         * iterators.C:
2441         * lyx_cb.C:
2442         * lyxfind.C:
2443         * lyxtext.h:
2444         * rowpainter.[Ch]:
2445         * text.C:
2446         * text2.C:
2447         * undo.C: adjust
2448
2449         * output_plaintext.C: cleanup
2450
2451 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2452
2453         * buffer.C:
2454         * lyxtextclass.[Ch]: parametrize SGML document header
2455
2456 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2457
2458         * converter.[Ch]:
2459         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2460         getFlavor().
2461
2462 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2463
2464         * text2.C (setFont): rework using PosIterator (no more recursive)
2465         (setCharFont): no more needed
2466         (setLayout): no more selection cursors fiddling (done by redoCursor)
2467         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2468         destroy remaining ones)
2469
2470 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2471
2472         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2473         * lyxtext.h: ditto
2474         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2475         selection cursors
2476         * lyxfunc.C: adjust
2477         * text3.C: adjust + re-allow multi par depth changes
2478         * textcursor.C: simplify a bit
2479
2480 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2481
2482         * src/buffer.C:
2483         * src/lyxlayout.C:
2484         * src/lyxlayout.h:
2485         * src/lyxtext.h:
2486         * src/output_docbook.C:
2487         * src/output_latex.C:
2488         * src/paragraph.C:
2489         * src/paragraph.h:
2490         * src/sgml.C:
2491         * src/sgml.h:
2492         * src/text2.C: Introducing a number of tags parametrizing various
2493         XML formats that we may want to support
2494
2495 2003-11-25  André Pönitz  <poenitz@gmx.net>
2496
2497         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2498
2499         * lyxtext.h (leftMargin/rightMargin): simplify interface
2500
2501         * rowpainter.C:
2502         * text.C:
2503         * text2.C:
2504         * text3.C: adjust
2505
2506 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2507
2508         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2509         master file to any child files. Fixes bug 546.
2510
2511 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2512
2513         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2514
2515 2003-11-24  André Pönitz  <poenitz@gmx.net>
2516
2517         * rowpainter.C: simplification
2518
2519         * text2.C (updateCounters): remove call to redoParagraph on
2520         changed labels as this is far too expensive.
2521
2522 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2523
2524         * converter.C (convert): fix a crash: this function gets
2525         called with buffer == 0 from importer code.
2526
2527 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2528
2529         * text3.C (cursorPrevious): make sure that we do not compare
2530         iterators form different containers.
2531         (cursorNext): ditto
2532
2533         * rowpainter.C (paintSelection): make sure that we do not compare
2534         iterators from different containers.
2535
2536         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2537         iterators from different ParagraphList containers.
2538         [NEXT] ditto
2539
2540         * text2.C (LyXText): change order of initialization slightly
2541         (operator=): new function. copy all variables except cache_par_
2542         (moveUp): make sure that we do not compare iterators from
2543         different ParagraphList constainers.
2544         (moveDown): ditto
2545
2546         * text.C (firstPar): new function
2547         (lastPar): new function
2548         (endPar): new function
2549
2550         * lyxtext.h: move things around and group public functions, public
2551         variables, private functions, private variables
2552
2553 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2554
2555         * factory.C: change call to InsetERT constructor to avoid
2556         additional invocation of method status
2557         * text2.C (toggleInset): remove redundant update() call
2558         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2559         instead of a Bufferview pointer
2560
2561 2003-11-21  André Pönitz  <poenitz@gmx.net>
2562
2563         * rowpainter.C: simplification
2564
2565 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2566
2567         * text3.C (dispatch): make possible to extend a word/row selection
2568         with the mouse
2569
2570 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2571
2572         * lyxtext.h: x0_,y0_ -> xo_,yo_
2573         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2574         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2575         * rowpainter.C (paintRows): paint full paragraphs
2576
2577 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2578
2579         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2580         screen coordinates)
2581
2582 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2583
2584         * lyxtext.h: add x0_, y0_
2585         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2586         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2587
2588 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2589
2590         * text2.C (setCursorIntern): move the x_target update here *
2591         * text3.C: change some bv() to true/false in calls to
2592         cursorUp/Down/Right/Left
2593         * cursor.C: use helper function.
2594
2595 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2596
2597         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2598         * paragraph_funcs.[Ch]: correct comment
2599         * rowpainter.C: do not paint selections away from bv->cursor()
2600         Fix a long standing selection painting bug.
2601         * text3.C: generalize mouse-selection code to LyXTexts other that
2602         top one
2603         * textcursor.C: do not use y coords if we can use par offsets
2604
2605 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2606
2607         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2608         cursor position after e.g. inset insert)
2609
2610 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2611
2612         * lyxfind.C (replace): adjust to locking removal + some
2613         code simplification
2614
2615 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2616
2617         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2618         of the path
2619
2620 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2621
2622         * lyxlayout.[Ch]:
2623         * output_docbook.C: XML sanitation: new layout
2624         parameters InnerTag and CommandDepth
2625
2626 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2627
2628         * BufferView_pimpl.C:
2629         * factory.C:
2630         * text3.C: Fix the insertion and modification of button-style
2631         insets
2632
2633 2003-11-13  André Pönitz  <poenitz@gmx.net>
2634
2635         * InsetList.[Ch]: remove deleteLyXText
2636
2637         * paragraph.[Ch]: cache beginOfBody position
2638
2639         * Bidi.C:
2640         * text.C:
2641         * text2.C:
2642         * text3.C: remove superfluous update() calls
2643
2644         * vspace.C: cleanup
2645
2646 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2647
2648         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2649         * BufferView.C (fitLockedInsetCursor): remove
2650         * cursor.[Ch] (getDim): add
2651         * text.C (getRowNearY): add faster version
2652         * text3.C: remove some update calls
2653
2654 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2655
2656         * LaTeXFeatures.C:
2657         * LyXAction.C:
2658         * MenuBackend.C:
2659         * MenuBackend.h:
2660         * dispatchresult.h:
2661         * factory.C:
2662         * lfuns.h:
2663         * lyxfunc.C:
2664         * lyxtextclass.C:
2665         * lyxtextclass.h:
2666         * text3.C: The Character Style /XML short element patch.
2667
2668 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2669
2670         * text3.C:
2671         * factory.C: Small step to solving 'unable to insert some insets'
2672         problem
2673
2674 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2675
2676         * cursor.[Ch] (updatePos): new function for updating the y
2677         position of the tip inset
2678         * bufferview_funcs.C (put_selection_at):
2679         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2680
2681 2003-11-11  André Pönitz  <poenitz@gmx.net>
2682
2683         * text.C: remove big comment on invalid Paragraph pointers as it is
2684         not valid anymore
2685
2686 2003-11-11  André Pönitz  <poenitz@gmx.net>
2687
2688         * text_funcs.[Ch]: merge with ...
2689
2690         * text.C: ... this
2691
2692         * lyxtext.h:
2693         * text2.C:
2694         * text3.C: adjust
2695
2696         * Makefile.am: remove text_funcs.[Ch]
2697
2698 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2699
2700         * cursor.C (getPos): return absolute cached y coord
2701
2702         * BufferView_pimpl.C (fitCursor): new simplistic code
2703         (workAreaDispatch): add a fitCursor call
2704
2705 2003-11-10  André Pönitz  <poenitz@gmx.net>
2706
2707         * BufferView.[Ch]:
2708         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2709
2710 2003-11-10  André Pönitz  <poenitz@gmx.net>
2711
2712         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2713         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2714         indicate that the cursor needs to leave an inset
2715
2716         * lyxtext.h: remove inset locking
2717
2718         * cursor.[Ch]: re-implement functionality provided by inset locking
2719
2720         * BufferView.[Ch]:
2721         * BufferView_pimpl.[Ch]:
2722         * LyXAction.C:
2723         * bufferview_funcs.[Ch]:
2724         * factory.C:
2725         * funcrequest.[Ch]:
2726         * iterators.C:
2727         * lyx_cb.C:
2728         * lyxfind.C:
2729         * lyxfunc.C:
2730         * text.C:
2731         * text2.C:
2732         * text3.C:
2733         * undo.C: adjust
2734
2735 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2736
2737         * PosIterator.[Ch]: replace the stack with a vector, add inset
2738         accesor
2739         * iterators.[C]: adjust
2740
2741 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2742
2743         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2744         replaced
2745         * paragraph_funcs.C (readParToken): put the correct id in the
2746         error item, not the id of the top paragraph
2747
2748 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2749
2750         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2751         * bufferview_funcs.C (put_selection_at): use the above
2752
2753 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2754
2755         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2756
2757 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2758
2759         * output_linuxdoc.h:
2760         * output_plaintext.h:
2761         * output.h:
2762         * output_docbook.h: add #include statements
2763
2764 2003-11-05  José Matos  <jamatos@lyx.org>
2765
2766         * output_docbook.[Ch]:
2767         * output_latex.[Ch]:
2768         * output_linuxdoc.[Ch]:
2769         * output_plaintext.[Ch]: New files for output formats.
2770         * output.[Ch]: New file for helper functions.
2771
2772         * buffer.[Ch]:
2773         * paragraph_funcs.[Ch]: output functions moved to new files.
2774
2775         * outputparams.h: rename of latexrunparams.h
2776
2777         * LaTeX.[Ch]:
2778         * buffer.[Ch]:
2779         * bufferlist.[Ch]:
2780         * converter.[Ch]:
2781         * exporter.C:
2782         * paragraph.[Ch]:
2783         * paragraph_funcs.[Ch]:
2784         * paragraph_pimpl.[Ch]:
2785         * tabular.[Ch]: rename ascii to plaintext
2786         and LatexRunParams to OutputParams.
2787
2788 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2789
2790         * iterators.[Ch] (text): require bv argument
2791         * undo.C (recordUndo):
2792         * lyxfunc.C (dispatch):
2793         * bufferview_funcs.C (put_selection_at): adjust
2794
2795 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2796
2797         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2798
2799 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2800
2801         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2802         nestings
2803
2804 2003-11-04  André Pönitz  <poenitz@gmx.net>
2805
2806         * cursor.[Ch]: restructure
2807
2808         * BufferView.[Ch]:
2809         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2810
2811         * iterators.[Ch] (asCursor): remove
2812
2813         * lfuns.h: remove LFUN_INSET_EDIT
2814
2815         * lyxfunc.C:
2816         * tabular.C:
2817         * text.C:
2818         * text2.C:
2819         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2820
2821 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2822
2823         * lyxfind.[Ch]: complete overhaul
2824         * BufferView_pimpl.C:
2825         * lyxfunc.C: adjust
2826         * paragraph.[Ch] (insert): add
2827
2828 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2829
2830         * BufferView.[Ch]:
2831         * lyxtext.h:
2832         * text.C: remove dead spellcheck code
2833
2834 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2835
2836         * dispatchresult.h: add a val setter
2837
2838         * cursor.C (dispatch): use a tempvar for data_[i]
2839
2840 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2841
2842         * PosIterator.[Ch]: compile fix
2843
2844 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2845
2846         * text.C (cursorPar): deactivate the cursor cache
2847
2848 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2849
2850         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2851
2852 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2853
2854         * text3.C (dispatch): adjust for new DisptchResult semantics.
2855
2856         * lyxfunc.C (dispatch): handle update when return from
2857         Cursor::dispatch, adjust for new DispatchResult semantics.
2858
2859         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2860         DispatchResult(true) mean to not update. Add class functions for
2861         setting dispatched and update, as well as reading.
2862
2863         * cursor.C (dispatch): don't handle update here
2864
2865 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2866
2867         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2868         * trans_mgr.C: adjust
2869
2870         * paragraph_funcs.C (readParToken): exception safety
2871
2872         * lyxvc.h: store the vcs pointer in a scoped_ptr
2873         * lyxvc.C: adjust
2874
2875         * lyxsocket.C (serverCallback): exception safety
2876
2877         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2878
2879         * ispell.C (clone): make it return a auto_ptr
2880
2881         * factory.C (createInset): exception safety
2882         (readInset): exception safety
2883
2884         * bufferlist.C (newBuffer): exception safety
2885
2886         * Thesaurus.C (Thesaurus): use initialization for aik_
2887
2888         * MenuBackend.C (expandToc): exception safety.
2889
2890 2003-11-03  André Pönitz  <poenitz@gmx.net>
2891
2892         * buffer.C:
2893         * buffer.h:
2894         * bufferview_funcs.C: remove getInsetFromId()
2895
2896         * lyxcursor.[Ch]:
2897         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2898
2899         * lyxfunc.C:
2900         * text2.C:
2901         * text3.C: adjust
2902
2903 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2904
2905         * PosIterator.C (distance, advance): new
2906         * bufferview_funcs.[Ch] (put_selection_at): new
2907         * iterators.[Ch] (lockPath): new
2908
2909 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2910
2911         * iterators.[Ch] (asPosIterator): added
2912         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2913         * PosIterator.[Ch]: added
2914
2915 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2916
2917         * text3.C:
2918         * lyxfunc.C:
2919         * cursor.C (dispatch):
2920         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2921
2922         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2923         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2924         contructor, add a class function dispatched. Remove operator>=
2925
2926 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2927
2928         * debug.C: only use the default constructor for debugstream
2929         (lyxerr) here.
2930
2931         * main.C (main): include debug.h and setup the lyxerr streambuf
2932         here.
2933
2934 2003-10-31  José Matos  <jamatos@lyx.org>
2935
2936         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2937
2938         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2939         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2940         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2941         * paragraph_pimpl.C (simpleTeXSpecialC):
2942         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2943         add LatexRunParams argument.
2944
2945         * exporter.C (Export): change call accordingly.
2946
2947         * latexrunparams.h: add new member to take care of the other backends.
2948 2003-10-30  José Matos  <jamatos@lyx.org>
2949
2950         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2951         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2952         factorise code for paragraph output.
2953         * buffer.[Ch]:
2954         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2955         move functions.
2956
2957 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2958
2959         * text3.C (dispatch):
2960         * lyxfunc.C (dispatch):
2961         * cursor.C (dispatch):
2962         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2963
2964         * dispatchresult.h: make the dispatch_result_t ctor explicit
2965
2966 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2967
2968         * sgml.[Ch]:
2969         * buffer.C: small refactoring of docbook stuff
2970
2971 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2972
2973         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2974         meaning.
2975
2976 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2977
2978         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2979         operator dispatch_result_t, and operators for == != and >=
2980
2981         * cursor.C (dispatch): adjust for operator dispatch_result_t
2982         removal. comment out call to update
2983
2984         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2985
2986 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2987
2988         * text3.C:
2989         * text2.C:
2990         * text.C:
2991         * lyxtext.h:
2992         * lyxfunc.C:
2993         * cursor.C:
2994         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2995         (dispatch):
2996
2997         * dispatchresult.h: new file, DispatchResult broken out of
2998         insets/insetbase.h
2999
3000         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3001
3002 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3003
3004         * text.C (rowBreakPoint): put a hack inside #if 0
3005
3006 2003-10-28  André Pönitz  <poenitz@gmx.net>
3007
3008         * lyxtext.h:
3009         * metricsinfo.C:
3010         * paragraph_funcs.C:
3011         * rowpainter.C:
3012         * text.C:
3013         * text2.C: general cleanup (lots of small stuff)
3014
3015 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3016
3017         * text2.C (cursorEnd): simple fix to the "end key goes to one
3018         before the end on last row" bug
3019
3020 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3021
3022         * text.C (backspace): fix the "zombie characters"
3023
3024 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3025
3026         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3027
3028 2003-10-27  André Pönitz  <poenitz@gmx.net>
3029
3030         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3031
3032         * factory.C: handle new InsetPagebreak, InsetLine
3033
3034         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3035         and move handling into new InsetPagebreak, InsetLine
3036
3037         * BufferView_pimpl.C:
3038         * LyXAction.C:
3039         * ParagraphParameters.C:
3040         * ParameterStruct.h:
3041         * lyxfunc.C:
3042         * lyxtext.h:
3043         * paragraph.C:
3044         * paragraph.h:
3045         * paragraph_funcs.C:
3046         * paragraph_pimpl.C:
3047         * rowpainter.C:
3048         * text.C:
3049         * text2.C:
3050         * text3.C: adjust
3051
3052 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3053
3054         * text.C:
3055         * lyxrow_funcs.[Ch]:
3056         * Bidi.C:
3057         * paragraph.C:
3058         * lyxtext.h:
3059         * rowpainter.C:
3060         * text2.C:
3061         * text3.C: remove lastPos uses in favour of Row::endpos
3062
3063 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3064
3065         * undo.C (performUndoOrRedo): fix two crashes by setting a
3066         cursor by hand and reordering some calls. Use bv->lockInset instead
3067         of inset->edit because the latter loses cursor information
3068
3069 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3070
3071         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3072         by Martin
3073         (rowBreakPoint): fix width. change point to point + 1.
3074         Add a missing check.
3075
3076 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3077
3078         * MenuBackend.C:
3079         * lyxfunc.C: fix (at least partly) the problems
3080         with the Nav menu and headers inside branch insets
3081         reported by Kayvan
3082
3083 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3084
3085         * paragraph.C (getChar): add strong asserts
3086
3087         * lyxrow_funcs.C (lastPos): remove hideous hack
3088
3089         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3090         (fill): adjust to that (avoid an infinite loop)
3091
3092 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3093
3094         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3095
3096 2003-10-23  André Pönitz  <poenitz@gmx.net>
3097
3098         * RowList_fwd.h: change list<> to vector<> to gain speed
3099         after suggestion from Alfredo
3100
3101 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3102
3103         * lyxtext.h: move the bidi stuff from here...
3104         * text.C: and here
3105         * text2.C: and here
3106         * Bidi.[Ch]: ... to here
3107
3108 2003-10-23  André Pönitz  <poenitz@gmx.net>
3109
3110         * lyxtext.h:
3111         * text.C (isLastRow, isFirstRow): new functions
3112
3113         * paragraph.h: new width cache member
3114
3115         * rowpainter.C: replace RowList::iterator with Row & where possible
3116
3117         * lyxfunc.C: replace several view()->text with a single call
3118
3119         * toc.C: fix 'unused' warning
3120
3121 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3122
3123         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3124         when woring with stream::pos_type
3125         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3126
3127 2003-10-22  André Pönitz  <poenitz@gmx.net>
3128
3129         * lyxtext.h:
3130         * text.C: use Row & instead of RowList::iterator
3131
3132         * lyxrow.h: rename end() to endpos()
3133
3134         * rowpainter.C:
3135         * text.C:
3136         * text2.C: adjust
3137
3138 2003-10-22  Angus Leeming  <leeming@lyx.org>
3139
3140         * buffer.[Ch] (fully_loaded): new member function, returning true
3141         only when the file has been loaded fully.
3142         Used to prevent the premature generation of previews and by the
3143         citation inset to prevent computation of the natbib-style label.
3144
3145         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3146         templates are all set up.
3147
3148         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3149
3150 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3151
3152         * text.C: fixed an "oops" in the "is a bit silly"
3153         bug fix
3154
3155 2003-10-21  André Pönitz  <poenitz@gmx.net>
3156
3157         * FuncStatus.[Ch]: small stuff, whitespace
3158
3159         * lyxfont.[Ch]: operator<<() for debug reasons
3160
3161         * lyxfunc.C:
3162         * lyxrow_funcs.C:
3163         * lyxtext.h: whitespace, spelling
3164
3165         * paragraph.C: naming of variables
3166
3167         * text.C:
3168         * text2.C: small stuff
3169
3170
3171 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3172
3173         * text.C: (1) finish off the inset display() work;
3174         (2) fix the "is a bit silly" bug (accessing char
3175         past end of par).
3176
3177 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3178
3179         * text.C: re-introduce display() for insets, fixing the
3180         various bugs (stretch of line above, math inset
3181         positioning, ...)
3182
3183 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3184
3185         * text.C (rightMargin): remove spurious semicolon
3186
3187         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3188         1415)
3189
3190 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3191
3192         * text3.C: fix one crash due to wrong cursor def
3193
3194 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3195
3196         * vc-backend.C (scanMaster): make the regex static
3197
3198         * LaTeX.C (scanAuxFile): make the regexs static
3199
3200         * text3.C (doInsertInset, dispatch, dispatch):
3201         * text2.C (cursorUp, cursorDown):
3202         * text.C (selectNextWordToSpellcheck):
3203         * BufferView_pimpl.C (dispatch):
3204         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3205
3206 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3207
3208         * lyxsocket.C: include <cerrno>
3209
3210 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3211
3212         * lyxfunc.C (dispatch): remove textcache stuff
3213
3214         * bufferlist.C (release): remove textcache stuff
3215         (closeAll): ditto
3216
3217         * TextCache.C: delete file
3218         * TextCache.h: delete file
3219
3220         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3221
3222         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3223         delete of the bv_->text.
3224         (resizeCurrentBuffer): remove texcache stuff
3225         (workAreaResize): ditto
3226
3227 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3228
3229         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3230         action.
3231
3232 2003-10-16  André Pönitz  <poenitz@gmx.net>
3233
3234         * lyxrow.[Ch]:
3235         * paragraph.h:
3236         * rowpainter.C:
3237         * text.C:
3238         * text2.C:
3239         * text3.C: speed up by storing y positions per paragraph plus per-row
3240         offset instead of having a 'full' y position in the row.
3241
3242 2003-10-15  André Pönitz  <poenitz@gmx.net>
3243
3244         * iterators.[Ch]:
3245         * iterators.[Ch]:
3246         * undo.[Ch]: make undo aware of inner insets
3247
3248 2003-10-14  Angus Leeming  <leeming@lyx.org>
3249
3250         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3251         static member functions LyX::ref() and LyX::cref.
3252         (lastfiles): new accessor functions for the new lastfiles_ member var.
3253         (addLyXView, views_): add a new LyXView to the list of views_.
3254         (updateInset): loop over all LyXViews to call their own updateInset
3255         member function, returning a pointer to the Buffer owning the inset.
3256
3257         * BufferView_pimpl.C (loadLyXFile):
3258         * MenuBackend.C (expandLastfiles):
3259         * bufferlist.C (MenuWrite, QuitLyX):
3260         lastfiles is no longer a global variable.
3261         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3262
3263         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3264         static function. Access through LyX::cref().emergencyCleanup().
3265
3266 2003-10-14  André Pönitz  <poenitz@gmx.net>
3267
3268         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3269
3270         * undo.[Ch]: restoring part of 'undo in insets'
3271
3272         * Makefile.am:
3273         * undo_funcs.[Ch]: merge with undo.[Ch]
3274
3275         * tabular.C: small cleansing stuff
3276
3277 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3278
3279         * paragraph_funcs.C (readParToken): report unknown insets as error
3280         boxes. Use the outer paragraph as location (also for unknown
3281         tokens).
3282
3283         * factory.C (readInset): do not abort on reading an unknown inset.
3284         Eat it and return 0.
3285
3286 2003-10-13  Angus Leeming  <leeming@lyx.org>
3287
3288         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3289
3290         * lyxrc.C: displayTranslator is now a function,
3291         declared in GraphicsTypes.h.
3292
3293 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3294
3295         * format.C: new placeholder $$a to pass the socket address.
3296
3297         * bufferlist.[Ch]: new function getBufferFromTmp.
3298
3299         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3300           files in the temporary dir.
3301
3302 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3303
3304         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3305
3306         * Makefile.am: add lyxsocket.[Ch].
3307
3308         * lyx_main.C (error_handler): handle SIGPIPE.
3309
3310 2003-10-13  André Pönitz  <poenitz@gmx.net>
3311
3312         * BufferView_pimpl.C:
3313         * lyxtext.h:
3314         * text.C:
3315         * text2.C:
3316         * text3.C:
3317         * undo_funcs.[Ch]: use paroffset_type instead of
3318           ParagraphList::iterators to prevent multiple conversion
3319           (and get a more robust interface)
3320
3321 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3322
3323         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3324         * lyxtext.h: ditto
3325         * text3.C (dispatch): ditto
3326
3327 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3328
3329         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3330         move the onlyfile, use onlyfile instead of foundfile in a couple
3331         of places.
3332
3333         * DepTable.C (update): flush the error stream a bit more
3334
3335 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3336
3337         * lyxserver.C (callback): adjust
3338
3339         * lyxfunc.C (getStatus): add a missing brace in commented code
3340         (ensureBufferClean): reindent
3341         (dispatch): delete version taking a string
3342
3343 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3344
3345         * LaTeX.C (deplog): move found file handlig from here...
3346         (handleFoundFile): .. to new function here.
3347         (deplog): make sure to discover several files mentioned on the
3348         same log line.
3349
3350 2003-10-10  André Pönitz  <poenitz@gmx.net>
3351
3352         * lyxfunc.C:
3353         * lyxtext.h:
3354         * tabular.C:
3355         * text.C:
3356         * text2.C:
3357         * text3.C: fix some of the tabular crashes
3358
3359 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3360
3361         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3362
3363         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3364
3365 2003-10-09  André Pönitz  <poenitz@gmx.net>
3366
3367         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3368
3369         * BufferView.C:
3370         * BufferView_pimpl.C:
3371         * bufferview_funcs.C:
3372         * lyx_cb.C:
3373         * lyxcursor.C:
3374         * lyxfind.C:
3375         * lyxfunc.C:
3376         * lyxtext.h:
3377         * text.C:
3378         * text2.C:
3379         * text3.C:
3380         * text_funcs.[Ch]:
3381         * textcursor.[Ch]:
3382         * undo_funcs.C: adjust
3383
3384 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3385
3386         * text2.C (incrementItemDepth): new function, use a backtracking
3387         algorithm to discover the correct item depth.
3388         (resetEnumCounterIfNeeded): new function, use a backtracking
3389         algorithm to discover if counter reset is needed.
3390         (setCounter): use them. Simplify a bit. Add different labels for
3391         different item depths for itemize.
3392
3393         * paragraph.C (Paragraph): remove initialization of enumdepth
3394         (operator=): ditto
3395
3396         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3397         enumerate and itemize. Change the type of itemdepth to signed char.
3398
3399 2003-10-08  André Pönitz  <poenitz@gmx.net>
3400
3401         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3402           thing assignable.
3403         * text.C:
3404         * text2.C: adjust
3405
3406         * tabular.[Ch]: fix crash after 'row-insert'
3407
3408 2003-10-08  Angus Leeming  <leeming@lyx.org>
3409
3410         Fix doxygen warnings.
3411
3412         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3413         Remove CutAndPaste:: prefix from header file declaration.
3414
3415         * LColor.h (fill): remove LColor:: prefix from declaration.
3416
3417         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3418         use lyx::depth_type rather than Paragraph::depth_type so that
3419         header file and .C file match.
3420
3421         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3422
3423         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3424         * aspell.C: \file aspell_local.C -> \file aspell.C
3425         * gettext.C: \file gettext.C -> \file src/gettext.C
3426         * gettext.h: \file gettext.h -> \file src/gettext.h
3427         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3428         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3429         * text.C: \file text.C -> \file src/text.C
3430
3431         * toc.C: move comment so that doxygen is not confused.
3432
3433 2003-10-07  Angus Leeming  <leeming@lyx.org>
3434
3435         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3436
3437 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3438
3439         * aspell.C:
3440         * aspell_local.h: add forgotten std::string's.
3441
3442 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3443
3444         * LaTeXFeatures.C:
3445         * LyXAction.C:
3446         * factory.C:
3447         * lfuns.h:
3448         * lyxfunc.C:
3449         * text3.C: The Box patch. Fancybox support, minipage, parbox
3450
3451 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3452
3453         * CutAndPaste.h:
3454         * DepTable.h:
3455         * FloatList.h:
3456         * LaTeXFeatures.h:
3457         * ParagraphParameters.h:
3458         * TextCache.h:
3459         * Thesaurus.h:
3460         * bufferlist.h:
3461         * exporter.h:
3462         * importer.h:
3463         * lastfiles.h:
3464         * lyxfind.h:
3465         * lyxfont.h:
3466         * lyxlex.h:
3467         * lyxtextclasslist.h:
3468         * messages.h:
3469         * paragraph.h:
3470         * paragraph_pimpl.C:
3471         * textcursor.h: add <string> and other small fixes to make Lars'
3472         std::string patch compile with STLport.
3473
3474 2003-10-06  Angus Leeming  <leeming@lyx.org>
3475
3476         * LColor.h: Add missing #include <string>.
3477
3478 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3479
3480         * All most all file in all subdirs: Make <string> be the prefered
3481         way of getting to std::string, add using declarations.
3482
3483 2003-10-06  André Pönitz  <poenitz@gmx.net>
3484
3485         * metricsinfo.C: initialize LyXFont before changing attribute.
3486         (fixes the 'math in \emph is upright' bug)
3487
3488 2003-10-06  André Pönitz  <poenitz@gmx.net>
3489
3490         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3491
3492 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3493
3494         * graph.C:
3495         * paragraph_pimpl.C: Small fixes to build using STLport
3496
3497 2003-10-02  André Pönitz  <poenitz@gmx.net>
3498
3499         * lyxfunc.C:
3500         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3501
3502 2003-10-01  André Pönitz  <poenitz@gmx.net>
3503
3504         * factory.C: assert early
3505
3506 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3507
3508         * lyx_main.C: remove the global debug object
3509
3510         * debug.h: adjust for new debugstream
3511
3512         * debug.C: adjust for new debugstream and keep the global debug
3513         object here.
3514
3515 2003-09-22  Angus Leeming  <leeming@lyx.org>
3516
3517         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3518         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3519         an incomplete class LyXFont.
3520
3521 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3522
3523         * factory.C: bug fix in branches
3524
3525 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3526
3527         * lyxfunc.C (processKeySym): adjust
3528         (dispatch): adjust
3529         (dispatch): change arg name from ev to func, adjust
3530         (sendDispatchMessage): ditto
3531
3532         * lyx_main.C (defaultKeyBindings): adjust keybindings
3533         (deadKeyBindings): ditto
3534
3535         * kbsequence.C (addkey): return a FuncRequest
3536
3537         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3538
3539         * kbmap.C (bind): take a FuncRequest as arg, adjust
3540         (read): adjust
3541         (lookup): adjust
3542         (defkey): change to take a FuncRequest as arg, adjust
3543         (findbinding): take a FuncRequest as arg, adjust.
3544
3545         * funcrequest.h (operator=): added
3546
3547         * funcrequest.C (FuncRequest): default kb_action changed from
3548         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3549
3550         * buffer.C (dispatch): simplify
3551         (dispatch): adjust to take a FuncRequest as arg, adjust
3552
3553         * boost.C (assertion_failed): change assertion message slightly
3554
3555         * ToolbarBackend.C (read): simplify
3556
3557         * MenuBackend.C (binding): adjust call to findbinding, add a
3558         message if no binding is found.
3559         (read): simplify
3560         (expandToc): correct by adding a empty FuncRequest
3561
3562         * LyXAction.C: include <boost/assert.hpp>
3563         (isPseudoAction): delete function
3564         (LookupFunc): change name to...
3565         (lookupFunc): this. change return type to FuncRequest.
3566         (getActionName): take kb_action as arg, simplify
3567         (funcHasFlag): add an assert, simplify.
3568
3569 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3570
3571         * toc.C (action): return a FuncRequest, simplify
3572
3573         * lyxfunc.C (processKeySym): adjust
3574         (getStatus): delete version that takes an int.
3575         (getStatus): adjust
3576         (dispatch): delete version that takes action as int
3577         (dispatch): adjust
3578         (sendDispatchMessage): simplify and adjust
3579
3580         * funcrequest.C (getArg): take unsigned int as arg
3581
3582         * ToolbarBackend.C (read): adjust
3583         (add): delete version that takes func as a string.
3584         (getIton): take a FuncRequest as arg
3585
3586         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3587         action.
3588
3589         * MenuBackend.C (MenuItem): add a new construct that only takes a
3590         Kind, simplify the constructor use for submenus.
3591         (add): adjust
3592         (expandLastfiles): adjust
3593         (expandDocuments): adjust
3594         (expandFormats): adjust
3595         (expandFloatListInsert): adjust
3596         (expandFloatInsert): adjust
3597         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3598
3599         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3600         Remove class variables lyx_pseudo_map and lyx_arg_map
3601
3602         * LyXAction.C (searchActionArg): delete function
3603         (getPseudoAction): delete function
3604         (retrieveActionArg): delete function
3605         (LookupFunc): make it return kb_action, simplify.
3606         (getActionName): simplify
3607
3608         * factory.C (createInset): fix new bug
3609
3610 2003-09-19  Angus Leeming  <leeming@lyx.org>
3611
3612         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3613         masterFilename_ parameter in the include inset.
3614
3615         * factory.C (createInset): changes due to the changes to InsetInclude.
3616
3617 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3618
3619         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3620
3621 2003-09-18  Angus Leeming  <leeming@lyx.org>
3622
3623         * buffer.C:
3624         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3625         Inset::fillWithBibKeys.
3626         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3627
3628 2003-09-18  Angus Leeming  <leeming@lyx.org>
3629
3630         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3631         variables.
3632         (ctor): pass and store a 'Buffer const &'
3633         (buffer): new member function.
3634
3635         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3636         '*this' to the LaTeXFeatures ctor.
3637
3638 2003-09-18  Angus Leeming  <leeming@lyx.org>
3639
3640         * LColor.h:
3641         * lyxfont.C:
3642         * lyxfont.h:
3643         * lyxtext.h:
3644         * text.C: rename EnumLColor as LColor_color.
3645
3646 2003-09-18  Angus Leeming  <leeming@lyx.org>
3647
3648         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3649         remove #include "insets/insetbase.h" from cursor.h.
3650
3651 2003-09-18  Angus Leeming  <leeming@lyx.org>
3652
3653         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3654         InsetOld_code to remove #include "inset.h".
3655
3656         * iterators.C: add #include "insets/inset.h"
3657
3658 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3659
3660         * BufferView.C: remove more locking stuff that apparently doesn't
3661         do anything sensible.
3662
3663 2003-09-16  André Pönitz  <poenitz@gmx.net>
3664
3665         * paragraph.[Ch]:
3666         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3667           performance boost.
3668
3669 2003-09-16  Angus Leeming  <leeming@lyx.org>
3670
3671         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3672
3673         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3674         arg/return type.
3675
3676         * paragraph.h: remove #include "lyxfont.h". Forward declare
3677         LyXFont_size.
3678
3679 2003-09-16  Angus Leeming  <leeming@lyx.org>
3680
3681         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3682         of support/textutils.h.
3683         (isWord): move the contents of support/textutils.h's IsWordChar here.
3684
3685         * buffer.C:
3686         * lyxfind.C:
3687         * rowpainter.C:
3688         * text.C:
3689         * text2.C: add #include "paragraph.h".
3690
3691         * rowpainter.C:
3692         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3693
3694 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3695
3696         * main.C:
3697         * lyx_main.C:
3698         * lyx_cb.C:
3699         * buffer.C:
3700         * LaTeX.C: use namespace alias for lyx::support::os
3701
3702 2003-09-16  Angus Leeming  <leeming@lyx.org>
3703
3704         * bufferparams.C:
3705         * bufferview_funcs.C:
3706         * factory.C:
3707         * lyxfunc.C:
3708         * paragraph_pimpl.C:
3709         * rowpainter.C:
3710         * text.C: add #include "LColor.h".
3711
3712 2003-09-16  Angus Leeming  <leeming@lyx.org>
3713
3714         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3715         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3716         return LyXFont &.
3717         Store the FontBits::color variable as an int rather than as an
3718         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3719         file.
3720
3721         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3722         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3723         string calls together.
3724
3725         * lyxrc.C: add #include "LColor.h".
3726
3727 2003-09-15  Angus Leeming  <leeming@lyx.org>
3728
3729         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3730         a cow_ptr.
3731
3732 2003-09-15  Angus Leeming  <leeming@lyx.org>
3733
3734         * LColor.h: add an EnumLColor wrapper for LColor::color.
3735
3736         * lyxfont.[Ch] (color, setColor, realColor):
3737         * lyxtext.h, text.C (backgroundColor):
3738         pass EnumLColor args to/from the functions, rather than LColor::color
3739         ones.
3740
3741         * lyxfont.h:
3742         * lyxtext.h: forward declare EnumLColor.
3743
3744         * lyx_main.C: add #include "LColor.h".
3745
3746 2003-09-15  Angus Leeming  <leeming@lyx.org>
3747
3748         * .cvsignore: add lyx-gtk.
3749
3750 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3751
3752         * Chktex.C
3753         * LaTeX.C
3754         * LaTeXFeatures.C
3755         * ParagraphParameters.C
3756         * Spacing.C
3757         * buffer.C
3758         * bufferparams.C
3759         * bufferview_funcs.C
3760         * chset.C
3761         * counters.C
3762         * funcrequest.C
3763         * lyxfont.C
3764         * lyxgluelength.C
3765         * lyxlength.C
3766         * paragraph.C
3767         * paragraph_funcs.C
3768         * text3.C
3769         * vc-backend.C: remove usage of STRCONV
3770
3771 2003-09-15  Angus Leeming  <leeming@lyx.org>
3772
3773         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3774         explicitly define the color passed to the painter.
3775
3776 2003-09-15  Angus Leeming  <leeming@lyx.org>
3777
3778         * bufferparams.C (BufferParams): reorder member initializers to avoid
3779         compiler warning.
3780
3781 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3782
3783         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3784         * text.C (updateRowPositions): remove an unusual nop
3785
3786 2003-09-12  André Pönitz  <poenitz@gmx.net>
3787
3788         * BufferView_pimpl.C:
3789         * Bullet.C:
3790         * layout.h:
3791         * lyxfunc.C:
3792         * lyxlayout.[Ch]:
3793         * lyxtextclass.C:
3794         * rowpainter.C:
3795         * text.C:
3796         * text2.C:
3797         * Counters.[Ch]: finish the 'automatic counters' job
3798
3799 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3800
3801         * aspell.C: include <boost/assert.cpp> (compile fix)
3802
3803 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3804
3805         * boost.C (assertion_failed): use lyx::support::abort instead of
3806         assert.
3807
3808 2003-09-10  Angus Leeming  <leeming@lyx.org>
3809
3810         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3811         with their _fwd progeny.
3812
3813 2003-09-09  Angus Leeming  <leeming@lyx.org>
3814
3815         134 files throughtout the source tree: replace 'using namespace abc;'
3816         directives with the appropriate 'using abc::xyz;' declarations.
3817
3818 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3819
3820         * boost.C (emergencyCleanup): moved here from LAssert.c
3821         (assertion_failed): new function, called by BOOST_ASSERT
3822
3823         * several files: change Assert to BOOST_ASSERT
3824
3825 2003-09-09  Angus Leeming  <leeming@lyx.org>
3826
3827         * buffer.[Ch]: Add an Impl class and move Buffer's member
3828         variables into it. As a result move several header files out of
3829         buffer.h.
3830
3831         Add header files to lots of .C files all over the tree as a result.
3832
3833 2003-09-09  Angus Leeming  <leeming@lyx.org>
3834
3835         * buffer.[Ch]: make Buffer's member variables private. Add
3836         accessor functions.
3837
3838         Lots of changes all over the tree as a result.
3839
3840 2003-09-08  Angus Leeming  <leeming@lyx.org>
3841
3842         * graph.C: #include <config.h>.
3843
3844 2003-09-08  Angus Leeming  <leeming@lyx.org>
3845
3846         * BranchList.C:
3847         * BufferView.C:
3848         * BufferView_pimpl.C:
3849         * CutAndPaste.C:
3850         * DepTable.C:
3851         * LaTeX.C:
3852         * LaTeXFeatures.C:
3853         * LyXAction.C:
3854         * MenuBackend.C:
3855         * TextCache.C:
3856         * aspell.C:
3857         * buffer.C:
3858         * bufferlist.C:
3859         * changes.C:
3860         * chset.C:
3861         * converter.C:
3862         * counters.C:
3863         * debug.C:
3864         * graph.C:
3865         * ispell.C:
3866         * lyx_cb.C:
3867         * lyxfind.C:
3868         * lyxfunc.C:
3869         * lyxlex_pimpl.C:
3870         * lyxrc.C:
3871         * lyxrow.C:
3872         * paragraph.C:
3873         * rowpainter.C:
3874         * texrow.C:
3875         * text.C:
3876         * text2.C:
3877         * toc.C: remove redundant using directives.
3878
3879 2003-09-07  Angus Leeming  <leeming@lyx.org>
3880
3881         * LaTeXFeatures.h: remove #include "support/types.h".
3882         * ToolbarBackend.h: remove #include <algorithm>.
3883         * changes.h: remove #include <ctime>.
3884         * debug.h: remove #include <iosfwd>.
3885         * graph.h: remove #include "support/std_string.h".
3886         * lyx_main.h: remove #include <csignal>.
3887         * lyxlex_pimpl.h: remove #include <fstream>.
3888         * sgml.h: remove #include <algorithm>, <utility>.
3889         * toc.h: remove #include "support/std_ostream.h".
3890         Add #include <iosfwd>.
3891
3892 2003-09-07  Angus Leeming  <leeming@lyx.org>
3893
3894         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3895
3896         * converter.h: forward declare LatexRunParams.
3897         * encoding.h: remove #include "lyxrc.h".
3898         * lyxtext.h: remove #include "LColor.h".
3899         * lyxtextclass.h: remove #include "support/types.h".
3900         * trans.h: remove #include "tex-accent.h".
3901         * trans_mgr.h: remove #include "tex-accent.h".
3902         * insets/inset.h: remove #include "support/types.h", <vector>.
3903         * insets/insetcollapsable.h: remove #include "LColor.h".
3904         * insets/insetinclude.h: remove #include "dimension.h".
3905         * insets/insetlatexaccent.h: remove #include "dimension.h".
3906         * insets/insetoptarg.h:: remove #include "insettext.h".
3907         * insets/insettext.h: remove #include "dimension.h",
3908         <boost/shared_ptr.hpp>
3909
3910         * insets/renderers.h: add #include "dimension.h".
3911         * insets/updatableinset.h: add #include "support/types.h".
3912
3913         * many .C files: Associated changes.
3914
3915 2003-09-06  Angus Leeming  <leeming@lyx.org>
3916
3917         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3918         one, inside testInvariant.
3919
3920         * PrinterParams.C: new file.
3921         * PrinterParams.[Ch]: move the function bodies out of line.
3922
3923 2003-09-06  Angus Leeming  <leeming@lyx.org>
3924
3925         * ParagraphParameters.h: forward declare ParameterStruct rather than
3926         including its header file.
3927         (depth): moved out-of-line.
3928
3929 2003-09-06  Angus Leeming  <leeming@lyx.org>
3930
3931         * BufferView_pimpl.h:
3932         * kbmap.h:
3933         * kbsequence.h:
3934         * lyxfunc.h: forward declare LyXKeySym rather than
3935         #include "frontends/LyXKeySym.h".
3936
3937         * BufferView_pimpl.C:
3938         * kbmap.C:
3939         * kbsequence.C:
3940         * lyxfunc.C: associated changes.
3941
3942 2003-09-06  Angus Leeming  <leeming@lyx.org>
3943
3944         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3945         As a result, can remove the #include "insets/inset.h" from BufferView.h
3946
3947 2003-09-06  Angus Leeming  <leeming@lyx.org>
3948
3949         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3950         As a result, can remove the #include "insets/inset.h" from BufferView.h
3951
3952 2003-09-06  Angus Leeming  <leeming@lyx.org>
3953
3954         * buffer_funcs.C:
3955         * buffer.h:
3956         * bufferlist.C:
3957         * BufferView.C:
3958         * bufferview_funcs.C:
3959         * BufferView_pimpl.C:
3960         * CutAndPaste.C:
3961         * lyx_cb.C:
3962         * lyxfunc.C:
3963         * paragraph.h:
3964         * ParagraphParameters.C:
3965         * tabular.C:
3966         * text3.C:
3967         * toc.C:
3968         * undo_funcs.C:
3969         * frontends/controllers/ControlDocument.C:
3970         * insets/insetcaption.C: rearrange the #includes into some sort of
3971         coherent order.
3972
3973         * buffer.h: remove #includes ErrorList.h, undo.h
3974
3975 2003-09-06  Angus Leeming  <leeming@lyx.org>
3976
3977         * support/types.h: add a 'depth_type' typedef, used to store the
3978         nesting depth of a paragraph.
3979
3980         * paragraph.h:
3981         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3982         defining explicitly.
3983
3984         * buffer.h:
3985         * paragraph_funcs.h:
3986         * ParagraphParameters.h:
3987         * sgml.h: use lyx::depth_type rather than Paragraph or
3988         ParameterStruct's depth_type.
3989
3990         * buffer.h
3991         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3992
3993         * BufferView.C:
3994         * BufferView_pimpl.C:
3995         * CutAndPaste.C:
3996         * ParagraphParameters.C:
3997         * buffer_funcs.C:
3998         * bufferlist.C:
3999         * bufferview_funcs.C:
4000         * lyx_cb.C:
4001         * lyxfunc.C:
4002         * tabular.C:
4003         * text3.C:
4004         * toc.C:
4005         * undo_funcs.C:
4006         * frontends/LyXView.C:
4007         * frontends/controllers/ControlDocument.C:
4008         * frontends/controllers/ControlErrorList.C:
4009         * insets/insetbibitem.C:
4010         * insets/insetbranch.C:
4011         * insets/insetcaption.C:
4012         * insets/insetcollapsable.C:
4013         * insets/insetenv.C:
4014         * insets/insetert.C:
4015         * insets/insetfloat.C:
4016         * insets/insetfoot.C:
4017         * insets/insetfootlike.C:
4018         * insets/insetnewline.C:
4019         * insets/insetquotes.C:
4020         * insets/insettabular.C:
4021         * insets/insettext.C:
4022         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4023
4024         * frontends/controllers/ControlChanges.C: #include "changes.h".
4025
4026 2003-09-06  Angus Leeming  <leeming@lyx.org>
4027
4028         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4029         than #including paragraph.h.
4030
4031         * ParagraphList.h:
4032         * RowList.h: deleted. Superfluous.
4033
4034         * CutAndPaste.h:
4035         * iterators.h:
4036         * lyxcursor.h:
4037         * lyxtext.h:
4038         * text_funcs.h:
4039         * undo.h:
4040         * undo_funcs.h:
4041         * insets/inset.h:
4042         * insets/insettext.h: use ParagraphList_fwd.h rather than
4043         ParagraphList.h.
4044
4045         * paragraph.h: don't forward declare ParagraphList.
4046
4047         * buffer.h:
4048         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4049         rather than ParagraphList.h. paragraph.h is still needed for the
4050         Paragraph::depth_type parameters.
4051
4052         * textcursor.h: enable it to compile stand-alone in light of the
4053         above changes.
4054
4055         * bufferview_funcs.C:
4056         * iterators.C:
4057         * lyxfunc.C:
4058         * lyxrow_funcs.C:
4059         * paragraph.C:
4060         * rowpainter.C:
4061         * text.C:
4062         * text2.C:
4063         * text3.C:
4064         * text_funcs.C:
4065         * textcursor.C:
4066         * undo.C:
4067         * frontends/controllers/ControlParagraph.C:
4068         * frontends/controllers/ControlTabular.C:
4069         * insets/insetmarginal.C:
4070         * insets/insetminipage.C:
4071         * insets/insetnote.C:
4072         * insets/insetoptarg.C: add header files needed to compile again.
4073
4074 2003-09-06  Angus Leeming  <leeming@lyx.org>
4075
4076         * RowList_fwd.h: new file, forward-declaring Row rather than
4077         #including lyxrow.h.
4078
4079         * lyxrow_funcs.h:
4080         * lyxtext.h:
4081         * paragraph.h:
4082         * insets/insettext.h: use it instead of RowList.h
4083
4084         * bufferview_funcs.C:
4085         * lyxfunc.C:
4086         * lyxrow_funcs.C:
4087         * paragraph.C:
4088         * rowpainter.C:
4089         * text.C:
4090         * text2.C:
4091         * text3.C: #include "RowList.h".
4092
4093 2003-09-05  Angus Leeming  <leeming@lyx.org>
4094
4095         * factory.C (createInset):
4096         * vspace.C (c-tor): replace sscanf call with an istringstream.
4097         * ispell.C: re-add missing HP/UX headers.
4098         * lyxserver.C: re-add missing  os2 headers.
4099
4100 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4101
4102         * BranchList.C:
4103         * graph.C:
4104         * ispell.C:
4105         * lastfiles.C:
4106         * lyx_cb.C:
4107         * lyxserver.C:
4108         * texrow.C:
4109         * text3.C: re-add missing system headers, needed for 2.95.2.
4110
4111 2003-09-05  Angus Leeming  <leeming@lyx.org>
4112
4113         Changes most place everywhere due to the removal of using directives
4114         from support/std_sstream.h.
4115
4116 2003-09-05  Angus Leeming  <leeming@lyx.org>
4117
4118         Replace LString.h with support/std_string.h,
4119         Lsstream.h with support/std_sstream.h,
4120         support/LIstream.h with support/std_istream.h,
4121         support/LOstream.h with support/std_ostream.h.
4122
4123         Changes resulting throughout the tree.
4124
4125 2003-09-05  Angus Leeming  <leeming@lyx.org>
4126
4127         * sgml.h: ensure that the header file can be compiled stand-alone.
4128         * *.C: strip out redundant #includes. (320 in total.)
4129
4130 2003-09-04  Angus Leeming  <leeming@lyx.org>
4131
4132         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4133         here (from getPackages).
4134
4135         * debug.[Ch]: add a new EXTERNAL tag.
4136
4137 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4138
4139         * text2.C (cursorEnd): simplify
4140         (setCursor): adjust
4141         (getColumnNearX): adjust
4142
4143         * text.C (computeBidiTables): adjust
4144         (fill): adjust
4145
4146         * rowpainter.C (paintChars): adjust
4147         (paintSelection): adjust
4148         (paintChangeBar): adjust
4149         (paintText): adjust
4150
4151         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4152         lastPos instead.
4153         (numberOfSeparators): adjust
4154
4155 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4156
4157         * LyXAction.C:
4158         * box.[Ch]:
4159         * lfuns.h:
4160         * lyxfunc.C:
4161         * text3.C: Restricts the mouse click functionality
4162         of insets like bibtex, include, toc and floatlist to the visible
4163         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4164         up the dialogs. Cursor has to be in front of the inset (i.e.
4165         start of row) for this to function.
4166
4167 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4168
4169         * bufferview_funcs.C (currentState): output row information
4170
4171 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4172
4173         * bufferview_funcs.C (currentState): output paragraph position
4174
4175 2003-09-04  Angus Leeming  <leeming@lyx.org>
4176
4177         * FloatList.h: move out #include "Floating.h".
4178         * LaTeX.h: move out #include "DepTable.h".
4179         * LyXAction.h: move out #include "funcrequest.h".
4180         * buffer.h: move out #include "author.h", "iterators.h".
4181         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4182         * lyx_main.h: move out #include "errorlist.h".
4183         * lyxfunc.h: move out #include "FuncStatus.h".
4184         * lyxtext: move out #include "lyxcursor.h".
4185         * paragraph_pimpl.h: move out #include "counters.h".
4186
4187 2003-09-03  Angus Leeming  <leeming@lyx.org>
4188
4189         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4190         preamble_snippets list, enabling us to add snippets to the preamble
4191         only if the snippet was not there already.
4192
4193 2003-09-04  Angus Leeming  <leeming@lyx.org>
4194
4195         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4196
4197 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4198
4199         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4200         update
4201
4202 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4203
4204         * BranchList.C: point fix, earlier forgotten
4205
4206 2003-09-02  Angus Leeming  <leeming@lyx.org>
4207
4208         * box.C (contains): renamed from 'contained' after a fantastic
4209         amount of hot air.
4210
4211 2003-09-02  John Levon  <levon@movementarian.org>
4212
4213         * BufferView.C:
4214         * lyxcursor.h:
4215         * lyxcursor.C:
4216         * lyxfunc.C:
4217         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4218
4219 2003-09-02  John Levon  <levon@movementarian.org>
4220
4221         * text2.C: simplification of cursorEnd(), including partial
4222         fix for bug 1376
4223
4224 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4225
4226         * buffer.C (readFile): add a space
4227
4228 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4229
4230         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4231
4232 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4233
4234         * buffer.C (readFile): new function, take a filename and a
4235         ParagraphList::iterator
4236         (readFile): adjust
4237         (readFile): adjust, make it private. don't use setStream, make
4238         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4239         always contain the filename.
4240
4241         * BufferView.C (insertLyXFile): simplify and make it work for
4242         gzipped files.
4243
4244 2003-08-30  John Levon  <levon@movementarian.org>
4245
4246         * Makefile.am: fix dist (from Kayvan)
4247
4248 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4249
4250         * most files: change to use const Buffer refs
4251
4252 2003-08-27  André Pönitz  <poenitz@gmx.net>
4253
4254         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4255         on top of ownerPar().
4256
4257 2003-08-27  John Levon  <levon@movementarian.org>
4258
4259         * funcrequest.C: properly initialise POD members
4260
4261 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4262
4263         * lyxtext.h (top_y): move top_y from here
4264         * text.C:
4265         * text2.C:
4266         * text3.C:
4267         * BufferView.[Ch]:
4268         * BufferView_pimpl.[Ch]: to here
4269         * frontends/screen.C:
4270         * insets/insettabular.C:
4271         * insets/insettext.C: adjust
4272         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4273
4274 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4275
4276         * BufferView.[Ch]:
4277         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4278
4279 2003-08-26  André Pönitz  <poenitz@gmx.net>
4280
4281         * paragraph_func.[Ch] (outerPar): new function
4282
4283         * paragraph.C:
4284         * paragraph_funcs.C:
4285         * paragraph_funcs.h:
4286         * paragraph_pimpl.C:
4287         * text2.C: remove Inset::par_owner
4288
4289 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4290
4291         * lyxrow_funcs.C:
4292         * lyxtext.h:
4293         * text.C:
4294         * text2.C: eliminates the needFullRow/display() stuff
4295         altogether, putting the logic in metrics/draw in the insets.
4296
4297 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4298
4299         * text2.C (redoParagraphInternal, redoParagraphs):
4300         * text.C (redoParagraph): add a call to updateRowPositions at the
4301         end of each 'metrics-like' call. Remove all others.
4302         (getRow): remove the 'y-computing' version.
4303         (getRowNearY): do not compute nor return the real y. Solve the
4304         'y < 0' problem and simplify.
4305
4306 2003-08-22  Angus Leeming  <leeming@lyx.org>
4307
4308         * *.[Ch]: clean-up of licence and author blurbs.
4309         Also move config.h out of a few .h files and into a few .C files.
4310
4311 2003-08-22  André Pönitz  <poenitz@gmx.net>
4312
4313         * lyxrow.[Ch]: add x_ and *fill_ members
4314
4315         * lyxtext.h:
4316         * text.C:
4317         * rowpainter.C:
4318         * text2.C: adjust/remove prepareToPrint() calls
4319
4320 2003-08-22  André Pönitz  <poenitz@gmx.net>
4321
4322         * lyxrow.[Ch]: add  end_ member
4323
4324         * lyxrow_funcs.C: use LyXRow::end_
4325
4326         * lyxtext.h (singleWidth): add LyXFont parameter
4327
4328         * rowpainter.C:
4329         * text2.C: adjust LyXText::singleWidth() calls
4330
4331         * text.C (redoParagraph): simplify row breaking logic
4332
4333
4334 2003-08-19  André Pönitz  <poenitz@gmx.net>
4335
4336         * funcrequest.C: initialize button_ member
4337
4338         * text3.C:
4339         * rowpainter.[Ch]: interface consolidation
4340
4341 2003-08-18  André Pönitz  <poenitz@gmx.net>
4342
4343         * BufferView.C:
4344         * BufferView_pimpl.C:
4345         * lyxfind.C:
4346         * paragraph_funcs.C:
4347         * rowpainter.C:
4348         * text3.C: remove LyXScreen::draw() and fitCursor calls
4349
4350         * BranchList.h: remove spurious semicolons
4351
4352         * MenuBackend.C: fix branchlist related crash
4353
4354 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4355
4356         * BranchList.[Ch]:
4357         * InsetList.[Ch]:
4358         * LColor.[Ch]:
4359         * LyXAction.C:
4360         * Makefile.am:
4361         * MenuBackend.[Ch]:
4362         * bufferparams.[Ch]:
4363         * factory.C:
4364         * lfuns.h:
4365         * lyxfunc.C:
4366         * text3.C: implements the 'branch inset'
4367         idea. This allows the output of various versions of a document
4368         from a single source version, selectively outputing or suppressing
4369         output of parts of the text.
4370         This implementation contains a 'branch list editor' in a separate
4371         tab of the document settings dialog. Branches are user definable
4372         and have a "display colour" to distinguish them on-screen.
4373
4374         ColorHandler was somewhat cleaned up.
4375         (1) make possible a dynamically growing LColor list by allowing
4376         the graphic context cache to grow along (vector);
4377         (2) eliminate an IMHO unnecessary step in colour allocation.
4378
4379 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4380
4381         * BufferView_pimpl.C: compile fix
4382
4383 2003-08-15  André Pönitz  <poenitz@gmx.net>
4384
4385         * rowpainter.C: remove extra metrics calls
4386
4387         * lyxtext.h: merge the two constructors into a single one,
4388           pass reference to owner's par list
4389
4390         * BufferView_pimpl.C:
4391         * text.C:
4392         * text2.C: adjust
4393
4394 2003-08-15  André Pönitz  <poenitz@gmx.net>
4395
4396         * lyxrow_funcs.[Ch]:
4397         * lyxtext.h:
4398         * paragraph.h:
4399         * paragraph_funcs.C:
4400         * rowpainter.C:
4401         * text.C:
4402         * text2.C:
4403         * text3.C:
4404         * text_funcs.C: split LyXText::rowlist_ into individual
4405         Paragraph::rows_ chunks
4406
4407         * BufferView.[Ch]:
4408         * BufferView_pimpl.[Ch]:
4409         * lyxfind.C:
4410         * lyxtext.h:
4411         * text3.C: remove toggleSelection()
4412
4413 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4414
4415         * bufferlist.C: beautify two alerts (shorter text of buttons)
4416         * buffer.C: Remove redundant ' ' from message
4417         * tabular.h:
4418         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4419         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4420         rename VALIGN_CENTER to VALIGN_MIDDLE
4421
4422 2003-08-11  André Pönitz  <poenitz@gmx.net>
4423
4424         * lyxtext.h (getPar):
4425         * text.C: new function
4426
4427 2003-08-11  André Pönitz  <poenitz@gmx.net>
4428
4429         * Makefile.am:
4430         * tracer.[Ch]: remove unneeded files
4431
4432         * InsetList.[Ch]: remove resizeInsetsLyXText()
4433
4434         * lyxtext.h:
4435         * text.C:
4436         * text2.C:
4437         * text3.C: merge insertParagraphs() and appendParagraph()
4438         remove breakAgain(), update()
4439
4440         * BufferView_pimpl.[Ch]:
4441         * bufferview_funcs.[Ch]:
4442         * lyxfunc.C:
4443         * paragraph.[Ch]:
4444         * rowpainter.C:
4445         * tabular.C: adjust after text & InsetList changes.
4446
4447 2003-08-08  André Pönitz  <poenitz@gmx.net>
4448
4449         * text.C (insertChar, backspace): replace rowlist fiddling
4450         with rebreak of full par
4451
4452         * lyxtext.h:
4453         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4454         checkParagraph, updateInset): removed
4455
4456 2003-08-07  André Pönitz  <poenitz@gmx.net>
4457
4458         * paragraph.C:
4459         * text3.C: merge some LFUN handlers, remove dead code
4460
4461 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4462
4463         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4464
4465 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4466
4467         * text2.C (DEPM): fix part of bug 1255 and 1256
4468
4469 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4470
4471         * BufferView_pimpl.C (workAreaDispatch): change to use
4472         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4473         that are no mouse related.
4474
4475 2003-08-05  André Pönitz  <poenitz@gmx.net>
4476
4477         * BufferView.[Ch]:
4478         * BufferView_pimpl.[Ch]:
4479         * bufferview_funcs.C:
4480         * text2.C:
4481         * text3.C: rip out "deep update"
4482
4483         * textcursor.[Ch] (last_sel_cursor): remove unused member
4484
4485 2003-08-04  André Pönitz  <poenitz@gmx.net>
4486
4487         * BufferView.[Ch]:
4488         * BufferView_pimpl.[Ch]:
4489         * ParagraphParameters.C:
4490         * bufferview_funcs.C:
4491         * lyx_cb.C:
4492         * lyxfind.C:
4493         * lyxfunc.C:
4494         * text.C:
4495         * text2.C:
4496         * text3.C: replace "complicated" BufferView::update(...) calls with
4497         simpler ones.
4498
4499         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4500
4501 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4502
4503         * Makefile.am (lyx_SOURCES): add paper.h
4504
4505 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4506
4507         * Makefile.am: move things around so that both lyx-qt and
4508         lyx-xforms can be built (according to --with-frontend). Then lyx
4509         is a symbolic link to lyx-[firstfrontend]
4510
4511 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4512
4513         * Always use std::endl with lyxerr
4514
4515 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4516
4517         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4518
4519 2003-08-01  André Pönitz  <poenitz@gmx.net>
4520
4521         * BufferView.[Ch]:
4522         * BufferView_pimpl.[Ch]:
4523         * lyxfunc.C:
4524         * text3.C: merge BufferView::repaint() and BufferView::update()
4525
4526 2003-08-01  José Matos  <jamatos@lyx.org>
4527
4528         * buffer.[Ch]: file_format is no longer a buffer data element.
4529
4530 2003-08-01  André Pönitz  <poenitz@gmx.net>
4531
4532         * BufferView.C:
4533         * lyxtext.h:
4534         * text.C:
4535         * text2.C: make redoParagraph more independent of current cursor
4536
4537         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4538         * text.C:
4539         * text2.C: remove unneeded members
4540
4541 2003-07-30  André Pönitz  <poenitz@gmx.net>
4542
4543         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4544
4545         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4546           create a single function...
4547
4548         * paragraph_funcs.C (moveItem): ... here.
4549
4550         * text.C:
4551           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4552
4553 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4554
4555         * LColor.[Ch]: Add comment and greyedout logical colors.
4556
4557 2003-07-30  André Pönitz  <poenitz@gmx.net>
4558
4559         * tabular.C: don't use Assert too heavily. This crashes where it
4560           shouldn't
4561
4562 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4563
4564         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4565         is disabled (bug 1232)
4566
4567 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4568
4569         * factory.C: limited 'arg' scope
4570
4571 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4572
4573         * factory.C: fixed Note submenu issues
4574
4575 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4576
4577         * factory.C: submenu for Note/Comment/Greyedout
4578
4579 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4580
4581         * lyx_main.C (LyX):
4582         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4583
4584 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4585
4586         * LaTeXFeatures.C:
4587         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4588         greyedout. Patch provided by Jürgen Spitzmüller.
4589
4590 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4591
4592         * kbmap.C (read): fix error message when reading bind files
4593
4594 2003-07-29  Angus Leeming  <leeming@lyx.org>
4595
4596         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4597         certainly does not do what it purports to do. I am doing it, and
4598         us, a favour by killing it.
4599
4600 2003-07-28  José Matos  <jamatos@lyx.org>
4601
4602         * buffer.C (readBody, do_writeFile):
4603         * paragraph.C(readParagraph): \end_document replaces \the_end.
4604
4605 2003-07-29  André Pönitz  <poenitz@gmx.net>
4606
4607         * BufferView.[Ch]:
4608         * BufferView_pimpl.[Ch]:
4609         * lyxfunc.C:
4610         * text2.C:
4611         * text3.C:
4612         * textcursor.[Ch]: remove toggleToggle & Co
4613
4614 2003-07-28  José Matos  <jamatos@fep.up.pt>
4615
4616         * buffer.C (readParagraph):
4617         * params_func (readParToken, readParagraph):
4618         * paragraph.C (write): \layout -> \begin_layout.
4619
4620 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4621
4622         * lyxlex_pimpl.C (setFile): clean up slightly.
4623
4624         * bufferparams.h: add compressed var
4625
4626         * buffer_funcs.C (readFile): adjust for LyXLex change
4627         (newFile): ditto + simplify
4628
4629         * buffer.C (writeFile): handle writing of compressed files
4630
4631         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4632         Check if the file is compressed and set a bufferparm if so.
4633
4634         * Makefile.am (lyx_LDADD): remove explicit -lz
4635
4636 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4637
4638         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4639         makeDocBookFile): put the real LyX version in the first line of
4640         the file
4641
4642         * version.h:
4643         * version.C.in: remove lyx_docversion
4644
4645         * tabular.C (write_attribute): add a template-based version to
4646         write enums properly
4647
4648 2003-07-28  André Pönitz  <poenitz@gmx.net>
4649
4650         * lyxtext.h:
4651         * text.C:
4652         * text2.C:
4653         * text3.C: use doubles again for x-coordinates. They are needed.
4654
4655 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4656
4657         * messages.C (getLocaleDir): use lyx_localedir()
4658
4659         * lyxlex_pimpl.C (setFile): compress stuff
4660
4661         * buffer.C (writeFile): add some compression stuff
4662         (do_writeFile): new func, dont call expliti close... will this
4663         breake anything?
4664
4665         * Makefile.am (lyx_LDADD): add -lz
4666
4667 2003-07-28  José Matos  <jamatos@fep.up.pt>
4668
4669         * buffer.C: increment file format.
4670         * paragraph_funcs (readParagraph, readParToken):
4671         * paragraph.C (readParagraph): add \end_layout.
4672
4673 2003-07-27  Angus Leeming  <leeming@lyx.org>
4674
4675         * Makefile.am: remove special casing for configure-time setting of
4676         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4677
4678         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4679         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4680
4681 2003-07-26  André Pönitz  <poenitz@gmx.net>
4682
4683         * paragraph_func.[Ch]:
4684         * paragraph.C (realizeFont): inline it whereever it is used
4685
4686         * rowpainter.C:
4687         * text.C:
4688         * text2.C:
4689         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4690
4691
4692 2003-07-26  André Pönitz  <poenitz@gmx.net>
4693
4694         *       lyxtext.h:
4695         * text.C:
4696         * text2.C: get rid of LyXText::need_break_row
4697
4698 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4699
4700         * toc.[Ch]: put namespace toc inside namespace lyx
4701
4702         * MenuBackend.C (expandToc2): adjust for lyx::toc
4703         (expandToc): ditto
4704
4705         * lyxfunc.C (dispatch): adjust for lyx::find
4706
4707         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4708         lyx::find instead. Reorganize a bit.
4709         (LyXReplace): rename to replace
4710         (LyXFind): rename to find
4711
4712         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4713         (dispatch): ditto
4714
4715 2003-07-26  André Pönitz  <poenitz@gmx.net>
4716
4717         * text.C (setHeightOfRow): restrict scope of temporary variable
4718
4719         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4720           code (never has been used?)
4721
4722 2003-07-27  Asger Alstrup  <alstrup@local>
4723
4724         * text.C (fill): Optimise algorithm to exploit that we can reuse
4725         the LyXFont for many characters.
4726         (setHeightOfRow): Same thing.
4727         (rowBreakPoint): Same thing.
4728
4729 2003-07-26  Asger Alstrup  <alstrup@local>
4730
4731         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4732
4733         * text.C (singleWidth): Spurious font copying in hot-spot
4734         singleWidth avoided. Reorder tests for arabic for efficiency.
4735
4736         * text.C (fill): handle empty paragraphs better.
4737
4738 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4739
4740         * ispell.C:
4741         * encoding.h: add includes
4742
4743         * lyxrc.C: remove reading of bind files
4744
4745         * lyx_main.C (init): setup bindings and menus only if we have a
4746         gui.
4747
4748         * kbmap.C (read): new method. Do the actual reading of bind
4749         files.
4750
4751         * converter.C (dvipdfm_options):
4752         * bufferparams.C:
4753         * lyxrc.C (read):
4754         (output): adapt PAPER_* enums.
4755
4756         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4757
4758         * bufferparams.h: remove paper-related enums from there
4759
4760         * paper.h: New file. A trivial header file to hold paper-related
4761         enums. It should later expand to contain many paper-related
4762         horrors access.
4763
4764         * lyxrc.C: declare extern displayTranslator
4765
4766 2003-07-27  José Matos  <jamatos@fep.up.pt>
4767
4768         * tabular.[Ch] (linuxdoc): add support for tables and figures
4769         (linuxdoc).
4770
4771 2003-07-27  José Matos  <jamatos@fep.up.pt>
4772
4773         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4774         consistency in both functions.
4775         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4776
4777 2003-07-26  Asger Alstrup  <alstrup@local>
4778
4779         * rowpainter.C (paintRows): Change algorithm to work directly on
4780         the insets rather than asking every character in the document
4781         whether its an inset.
4782
4783 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4784
4785         * buffer.C (openFileWrite): factorize some code
4786
4787 2003-07-26  Angus Leeming  <leeming@lyx.org>
4788
4789         * lyx_cb.C:
4790         * lyx_main.[Ch]: replace occurances of system_tempdir with
4791         os::getTmpDir().
4792
4793 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4794
4795         * rename Inset to InsetOld
4796
4797 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4798
4799         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4800         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4801         which I think is a bit clearer. EDIT is gone, since it was
4802         premature optimisation, and broken for mathed anyway.
4803         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4804         with cursor positioning in insets as well (math insets still do not
4805         work, but that's a different story anyway.) It mysteriously
4806         crashes sometimes with undo in the first paragraph, but I'm fairly
4807         confident that this is a compiler bug.
4808
4809 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4810
4811         * paragraph.C (Paragraph): adjust for new clone return type
4812         (operator==): ditto
4813         (copyIntoMinibuffer): ditto
4814
4815 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4816
4817         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4818         by not having a special case, and always doing a full rebreak of
4819         the document after undo.
4820
4821 2003-07-23  Angus Leeming  <leeming@lyx.org>
4822
4823         * factory.C (createInset): InsetExternal::setParams now takes a
4824         Buffer const * arg.
4825
4826 2003-07-23  Angus Leeming  <leeming@lyx.org>
4827
4828         * factory.C (createInset): changed interface to the external and
4829         graphics mailers' string2params functions.
4830
4831 2003-07-23  Angus Leeming  <leeming@lyx.org>
4832
4833         * factory.C (createInset): pass a
4834         Buffer const * parameter to InsetExternalMailer's string2params.
4835
4836 2003-07-22  John Levon  <levon@movementarian.org>
4837
4838         * Thesaurus.h: include the right aiksaurus header
4839
4840 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4841
4842         * MenuBackend.C (expand): check menu shortcuts unconditionally
4843
4844 2003-07-21  Angus Leeming  <leeming@lyx.org>
4845
4846         * factory.C (createInset): pass a
4847         buffer_path parameter to InsetGraphicsMailer's string2params.
4848
4849 2003-07-21  Angus Leeming  <leeming@lyx.org>
4850
4851         * BufferView_pimpl.C (buffer):
4852         * buffer.C (d-tor):
4853         * lyx_main.C (LyX):
4854         * lyxfunc.C (dispatch):
4855         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4856         rather than the grfx shortcut.
4857
4858 2003-07-21  André Pönitz  <poenitz@gmx.net>
4859
4860         * rowpainter.C: remove unused variables
4861
4862         * tabular_funcs.C:
4863         * tabular_funcs.h: move to tabular.C
4864         * Makefile.am: adjust
4865
4866         * tabular.[Ch]: basic optical cleaning
4867
4868         * author.h: pass references, not values
4869
4870 2003-07-18  André Pönitz  <poenitz@gmx.net>
4871
4872         * lyxtext.h:
4873         * metricsinfo.C:
4874         * metricsinfo.h:
4875         * rowpainter.C:
4876         * text.C:
4877         * text2.C:
4878         * text3.C: two-phase drawing for InsetText and InsetTabular
4879         some float -> int changes.
4880
4881 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4882
4883         * lyx_main.C: fix the fix
4884
4885 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4886
4887         * lyx_main.C: fix a crash in batch mode if no files specified
4888         * converter.C: ws
4889
4890 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4891
4892         * format.[Ch] (papersize): moved to BufferParams
4893         * converter.[Ch] (dvips_options): moved to BufferParams
4894         (dvipdfm_options): moved to anon namespace
4895         * bufferparams.[Ch]: added above functions.
4896
4897 2003-07-17  André Pönitz  <poenitz@gmx.net>
4898
4899         * lyxtext.h:
4900         * rowpainter.C:
4901         * text2.C: don't call inset->update() anymore
4902
4903         * metricsinfo.[Ch]: add convenience constructor
4904
4905 2003-07-16  André Pönitz  <poenitz@gmx.net>
4906
4907         * lyxcursor.[Ch]:
4908         * lyxfunc.[Ch]:
4909         * text.C:
4910         * text2.C: replace the LyXCursor::irow_ member with
4911          on-demand computation of the value
4912
4913 2003-07-16  John Levon  <levon@movementarian.org>
4914
4915         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4916
4917 2003-07-15  André Pönitz  <poenitz@gmx.net>
4918
4919         * text.C:
4920         * text2.C: remove no more needed refresh_row
4921
4922 2003-07-15  André Pönitz  <poenitz@gmx.net>
4923
4924         * lyxtext.h:
4925         * rowpainter.C:
4926         * text2.C:
4927         * text3.C: refresh_status tristate -> need_update bool
4928
4929 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4930
4931         * lyxtext.h (init): remove reinit argument (act as if always true)
4932         * text2.C: adjust to that
4933
4934 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4935
4936         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4937         * text3.C: use it to delete selections in some cases
4938         (bugs 441, 673, 702, 954).
4939
4940 2003-07-14  André Pönitz  <poenitz@gmx.net>
4941
4942         * rowpainter.[Ch]: reduce interface
4943
4944 2003-07-14  André Pönitz  <poenitz@gmx.net>
4945
4946         * BufferView_pimpl.C:
4947         * text2.C: adjust after removing unused BufferView * argument
4948
4949 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4950
4951         * text2.C (init): fix a crash fired on resize
4952
4953 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4954
4955         * buffer.[Ch]: added new closing signal
4956         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4957         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4958         BufferView::Pimpl via the closing the signal
4959
4960 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4961
4962         * buffer.[Ch]: take out all bv-related from buffer
4963         * BufferView.C:
4964         * BufferView_pimpl.[Ch]: connect to new signals
4965         * CutAndPaste.C: removed useless asserts
4966         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4967         * lyxvc.[Ch]:
4968         * vc-backend.[Ch]:
4969         * lyxfunc.C: moved view-related funciontality from vc here
4970         * paragraph.C: removed outdated comments
4971         * text.C: ws
4972
4973 2003-07-10  André Pönitz  <poenitz@gmx.net>
4974
4975         * BufferView_pimpl.C:
4976         * tabular.h:
4977         * tabular_funcs.C:
4978         * text.C:
4979         * text2.C: remove InsetText::InnerCache, clean up consequences
4980
4981 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4982
4983         * ispell.C: fix two typos in error messages
4984
4985 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4986
4987         * Extend Note inset to other forms of annotation like Comment
4988         and Greyedout. Right button click gives dialog.
4989
4990         Files modified or added (+):
4991
4992         * insetnote.[Ch]
4993         * FormNote.[Ch]      +
4994         * ControlNote.[Ch]   +
4995         * form_note.fd       +
4996         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4997         frontends/controllers
4998         * xforms/Dialogs.C
4999         * factory.C
5000
5001 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5002
5003         * aspell.C: add missing namespace lyx::support
5004
5005 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5006
5007         * BufferView.[Ch] (newFile): Add
5008         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5009         * LaTeX.[Ch] (message): added this signal and use it
5010         * buffer.[Ch] (busy, message): added these signals and use them
5011         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5012         * converter.C:
5013         * exporter.C:
5014         * format.C:
5015         * importer.C: use buffer signals instead of direct bv calling
5016         * lyx_cb.[Ch] (ShowMessage): removed
5017         * lyx_main.C:
5018         * lyxfunc.C:
5019         * paragraph_funcs.C:
5020         * text2.C: use buffer signals
5021
5022 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5023
5024         * introduce namespace lyx::graphics
5025
5026 2003-07-02  André Pönitz  <poenitz@gmx.net>
5027
5028         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5029
5030 2003-07-01  André Pönitz  <poenitz@gmx.net>
5031
5032         * text.C:
5033         * text2.C:
5034         * text3.C:
5035         * text_funcs.[Ch]:
5036         * textcursor.h:
5037         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5038           text*.C to text_func.C
5039
5040 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5041
5042         * introduce namespace lyx::support
5043
5044 2003-06-30  André Pönitz  <poenitz@gmx.net>
5045
5046         * Chktex.C:
5047         * funcrequest.C:
5048         * lyxtext.h:
5049         * text.C: re-enable --with-included-string
5050
5051 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5052
5053         * textcursor.C: add <config.h>
5054
5055         * text.C (getWord): remove const from word_location arg
5056
5057         * lyxvc.C (getLogFile): fix const type order
5058
5059         * lyxtext.h: remove const from word_location arg, add arg name
5060
5061         * lyxlayout.h: currect type on labeltype.
5062
5063         * importer.C: correct \file
5064
5065         * converter.C (intToFormat): use std:: on ret val, ws changes
5066
5067         * bufferlist.h: correct \file
5068
5069         * buffer.C (makeLinuxDocFile): fix const type order
5070         (makeDocBookFile): ditto
5071         (fillWithBibKeys): use std:: on stdlib args.
5072
5073         * CutAndPaste.C: fix authors.
5074         (availableSelections): use std:: on return vector
5075
5076 2003-06-27  André Pönitz  <poenitz@gmx.net>
5077
5078         * BufferView_pimpl.C:
5079         * bufferview_funcs.C:
5080         * lyxcursor.C:
5081         * lyxcursor.h:
5082         * lyxfunc.C:
5083         * lyxtext.h:
5084         * rowpainter.C:
5085         * text.C:
5086         * text2.C:
5087         * text3.C: remove LyXCursor::row_ member
5088
5089         * lyxtext.h:
5090         * text.C: rename fullRebreak() to partialRebreak() and implement
5091           a fullRebreak() that really bereks fully
5092
5093         * textcursor.h: new struct for cursor-related data
5094
5095 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5096
5097         * lyx_main.C (LyX): get full path of document loaded on the
5098         command line
5099
5100 2003-06-26  André Pönitz  <poenitz@gmx.net>
5101
5102         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5103           remove unused/broken operator>,<,>=.
5104
5105         *       text.C: remove only use of broken operator<= in an Assert().
5106
5107 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5108
5109         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5110         moved errorlist_.clear to showErrorList
5111
5112 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5113
5114         * converter.C (scanLog, runLaTeX):
5115         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5116         move the bv->showErrorList call to the callers
5117         * lyxfunc.C: i.e. here...
5118         * text2.C: and here
5119         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5120         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5121         namespace, the second to...
5122         * buffer_funcs (BufferFormat, parseErrors): added
5123         * errorlist.C (ErrorList(TeXErrors const &)): removed
5124
5125 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5126
5127         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5128
5129 2003-06-24  "Garst R. Reese" <reese@isn.net>
5130
5131         * debug.C: fix typo
5132
5133 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5134
5135         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5136
5137         * version.C.in: change docversion to 1.4
5138
5139 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5140
5141         * buffer.C: fix a bug just introduced
5142
5143 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5144
5145         * buffer.[Ch]: added the parseError signal and use it, removed
5146         sgmlError
5147         * BufferView.[Ch] (addError): moved to ...
5148         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5149         to the Buffer::parseError signal to catch (guess what) parse errors
5150         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5151
5152 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5153
5154         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5155         ability to create a buffer and to return an existing one from
5156         the list. Moved these functions to...
5157         * buffer_funcs.[Ch]: added
5158         * BufferView.[Ch] (loadLyXFile): added
5159         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5160         job removed from bufferlist::loadLyXFile.
5161         * buffer.C (setReadOnly): make it work without view
5162         (i.e added an if (users))
5163
5164 2003-06-19  Angus Leeming  <leeming@lyx.org>
5165
5166         * lfuns.h:
5167         * LyXAction.C (init):
5168         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5169         with LFUN_DIALOG_SHOW <name> <data>.
5170
5171 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5172
5173         * CutAndPaste.C (availableSelections): small compilation fix for
5174         ancient (gcc 2.9x) compilers
5175
5176 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5177
5178         * text3.C (cursorNext): add tmp var
5179
5180         * text2.C (updateCounters): for function calling out of for clause
5181         (replaceSelectionWithString): ditto
5182         (insertStringAsParagraphs): ditto
5183         (getColumnNearX): add tmp var
5184         (setCursorFromCoordinates): add tmp var
5185         (cursorDownParagraph): add tmp var
5186         (deleteEmptyParagraphMechanism): add tmp var
5187
5188         * text.C (insertChar): add tmp var
5189
5190         * rowpainter.C (paintDepthBar): add tmp var
5191
5192         * CutAndPaste.C (availableSelections): potentially check all
5193         paragraphs in a cut to fill the shown strings.
5194
5195 2003-06-18  André Pönitz  <poenitz@gmx.net>
5196
5197         * kbmap.[Ch]: use vector<> instead of list<>
5198
5199 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5200
5201         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5202         pasteSelection with index
5203
5204         * text2.C (pasteSelection): modify, call pasteSelection with index
5205
5206         * paragraph.C (asString): reimplement version with no interval to
5207         call the one with interval.
5208
5209         * lyxtext.h: add index arg to pasteSelection
5210
5211         * MenuBackend.C (MenuItem): handle PasteRecent
5212         (Menu::read::Menutags): add md_pasterecent
5213         (read): handle it
5214         (expandPasteRecent): new function
5215         (expand): use it
5216
5217         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5218
5219         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5220         the limited stack
5221         (availableSelections): new function
5222
5223 2003-06-17  Angus Leeming  <leeming@lyx.org>
5224
5225         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5226
5227 2003-06-17  Angus Leeming  <leeming@lyx.org>
5228
5229         * lfuns.h:
5230         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5231
5232         * lyxfunc.C (dispatch): invoke it.
5233
5234 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5235
5236         * iterators.C (operator++, ParPosition): reintroduce some
5237         const_cast for the benefit of older compilers.
5238
5239 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5240
5241         * text3.C (dispatch): do not modify clipboard when doing
5242         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5243         LFUN_DELETE_SKIP on a selection selection
5244
5245 2003-06-16  André Pönitz  <poenitz@gmx.net>
5246
5247         * BufferView.C:
5248         * buffer.C:
5249         * buffer.h:
5250         * paragraph.C:
5251         * tabular.[Ch]: IU of clone() and getLabelList();
5252
5253 2003-06-13  André Pönitz  <poenitz@gmx.net>
5254
5255         * tabular.h: compactification
5256
5257 2003-06-12  André Pönitz  <poenitz@gmx.net>
5258
5259         * tabular.C:
5260         * tabular.h:
5261         * tabular_funcs.h: some renaming plus whitespace
5262
5263 2003-06-12  André Pönitz  <poenitz@gmx.net>
5264
5265         * BufferView.C:
5266         * BufferView_pimpl.C:
5267         * CutAndPaste.C:
5268         * buffer.C:
5269         * iterators.[Ch]:
5270         * lyxfunc.C:
5271         * text.C:
5272         * toc.C: Return a Paragraph & for ParIterator::operator*()
5273
5274 2003-06-11  John Levon  <levon@movementarian.org>
5275
5276         * lyx_main.C:
5277         * ToolbarBackend.h:
5278         * ToolbarBackend.C: add "Toolbars" section and
5279         put the flags there
5280
5281 2003-06-10  Angus Leeming  <leeming@lyx.org>
5282
5283         * lfuns.h:
5284         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5285
5286         * lyxfunc.C (dispatch): invoke it.
5287
5288 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5289
5290         * main.C: protect <ios> with HAVE_IOS
5291         (main): protect sync_with_stdio with HAVE_IOS
5292
5293 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5294
5295         * text2.C (cutSelection): adjust
5296         (pasteSelection): adjust
5297
5298         * messages.C: handle get of empty string
5299
5300         * main.C (main): use sync_with_stdio(false)
5301
5302         * lyxfunc.C (dispatch): adjust
5303
5304         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5305         (WriteAs): remove unneeded BufferView arg.
5306
5307         * bufferparams.h: use correct types on papersize, papersize2 and
5308         paperpackage.
5309
5310         * bufferparams.C (readToken): adjust for type
5311         (writeLaTeX): add missing cases to switch.
5312
5313         * bufferlist.C (quitWriteBuffer): adjust
5314         (close): adjust
5315
5316         * buffer.C (asciiParagraph): remove some commented code.
5317
5318         * CutAndPaste.C: remove current_view extern variable.
5319         (cutSelection): add BufferParams arg.
5320         (eraseSelection): add BufferParams arg.
5321         (pasteSelection): add Buffer const & arg
5322
5323 2003-06-07  John Levon  <levon@movementarian.org>
5324
5325         * buffer.C:
5326         * paragraph_funcs.C:
5327         * paragraph_pimpl.C:
5328         * text.C:
5329         * text2.C:
5330         * paragraph.h:
5331         * paragraph.C: allow InsetERT to freely space lines,
5332         and some consolidation of code
5333
5334 2003-06-06  José Matos  <jamatos@fep.up.pt>
5335
5336         * buffer.C (makeDocBookFile): fix bug #821
5337
5338 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5339
5340         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5341
5342 2003-06-04  Angus Leeming  <leeming@lyx.org>
5343
5344         * buffer.C: bump format to 224.
5345
5346 2003-06-05  André Pönitz  <poenitz@gmx.net>
5347
5348         * text2.C (redoParagraphs): remove two const_cast<>
5349
5350 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5351
5352         * ParagraphList.h: remove last remnants of NO_STD_LIST
5353
5354 2003-06-03  Angus Leeming  <leeming@lyx.org>
5355
5356         * factory.C (createInset): small change to the way InsetExternal's params
5357         are set.
5358
5359 2003-06-04  André Pönitz  <poenitz@gmx.net>
5360
5361         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5362
5363         * paragraph_pimpl.h:
5364         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5365
5366         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5367
5368         * undo_funcs.C: make some simple cases of undo work again
5369
5370 2003-06-03  John Levon  <levon@movementarian.org>
5371
5372         * ispell.C: HPUX doesn't have sys/select.h
5373         (from Albert Chin)
5374
5375 2003-06-03  John Levon  <levon@movementarian.org>
5376
5377         * CutAndPaste.C: update tabular and include inset
5378         buffer references
5379
5380         * buffer.h:
5381         * paragraph.h:
5382         * paragraph.C: remove owningBuffer(), don't pass Buffer
5383         to clone()
5384
5385         * factory.C: insetGraphicsParams changed
5386
5387 2003-06-02  John Levon  <levon@movementarian.org>
5388
5389         * LyXAction.C:
5390         * factory.C:
5391         * lfuns.h:
5392         * lyxfunc.C:
5393         * text3.C: remove insetparent
5394
5395 2003-06-02  John Levon  <levon@movementarian.org>
5396
5397         * buffer.h:
5398         * buffer.C: fix inset_iterator.end(), move out of line
5399         (bug 1149)
5400
5401 2003-06-01  John Levon  <levon@movementarian.org>
5402
5403         * text3.C: use a proper cut/paste when doing inset
5404         insert (from Jürgen Spitzmüller)
5405
5406 2003-06-01  John Levon  <levon@movementarian.org>
5407
5408         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5409
5410 2003-05-30  André Pönitz  <poenitz@gmx.net>
5411
5412         * rowpainter.C: unify second drawing phase
5413
5414 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5415
5416         * trans_mgr.C: remove one case of current_view
5417
5418         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5419
5420         * paragraph_funcs.h: remove paragraph.h include
5421
5422         * paragraph.h: delete NO_STD_LIST stuff
5423
5424         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5425
5426         * buffer.h: remove paragraph.h include
5427
5428         * ParagraphList.C: delete file
5429
5430         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5431
5432         * toc.C (getTocList): adjust
5433
5434         * paragraph_pimpl.C (validate): adjust
5435
5436         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5437
5438         * paragraph.C (Paragraph): adjust
5439         (getPositionOfInset): use const_iterator, adjust
5440         (bibitem): use const_iterator, adjust
5441         (setInsetOwner): adjust
5442
5443         * iterators.C (operator++): adjust
5444
5445         * InsetList.[Ch]: Replace selfmade iterator with standard
5446         vector::iterator also introduce const_iterator. Remove getPos,
5447         getInset and setInset from InsetTable. Adjust accordingly.
5448
5449         * BufferView.C (lockInset): adjust
5450         (ChangeInsets): adjust
5451
5452         * tabular.[Ch]: delete commented same_id functions
5453
5454 2003-05-28  John Levon  <levon@movementarian.org>
5455
5456         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5457
5458 2003-05-28  André Pönitz  <poenitz@gmx.net>
5459
5460         * metricsinfo.[Ch]: remove 'fullredraw' member
5461
5462 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5463
5464         * lyxtextclass.C (operator): remove caching.
5465
5466 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5467
5468         * text3.C: adjust
5469
5470         * text2.C (cursorBottom): adjust
5471         (setCounter): use ParagraphList::find, adjust
5472
5473         * text.C (workWidth): use ParagraphList::find, adjust
5474
5475         * lyxcursor.C (LyXCursor): adjust
5476
5477         * buffer.C (inset_iterator): adjust
5478
5479         * ParagraphList.h: make iterator(value_type) private, make
5480         ParagraphList a friend of iterator.
5481
5482         * ParagraphList.C (find): new function
5483
5484         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5485
5486 2003-05-27  André Pönitz  <poenitz@gmx.net>
5487
5488         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5489
5490 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5491
5492         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5493
5494 2003-05-26  John Levon  <levon@movementarian.org>
5495
5496         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5497
5498 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5499
5500         * remove same_id from function signatures, adjust.
5501
5502 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5503
5504         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5505
5506         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5507
5508         * paragraph.C (Paragraph): get rid of same_ids parameter
5509
5510         * ParagraphList.C (insert): adjust
5511         (push_back): adjust
5512
5513 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5514
5515         * paragraph_funcs.C (breakParagraph): adjust
5516         (breakParagraphConservative): adjust
5517
5518         * buffer.C (readParagraph): adjust
5519
5520         * ParagraphList.C (insert): take a reference instead of a pointer
5521         (insert): adjust
5522
5523         * paragraph.[Ch] (id): new function
5524
5525         * bufferlist.C (newFile): adjust
5526
5527         * ParagraphList.C (ParagraphList): adjust
5528         (assign): adjust
5529         (push_back): take a reference instead of a pointer.
5530
5531         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5532
5533         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5534         instead.
5535
5536         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5537         set else use old code.
5538
5539         * ParagraphList.C: remove all NO_NEXT code and only compile this
5540         code of NO_STD_LIST is set.
5541
5542 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5543
5544         * BufferView_pimpl.C:
5545         * TextCache.C:
5546         * TextCache.h:
5547         * bufferlist.C:
5548         * errorlist.h:
5549         * format.C:
5550         * format.h:
5551         * graph.C:
5552         * lyxfunc.C:
5553         * lyxrc.C:
5554         * graphics/GraphicsConverter.C:
5555         * graphics/PreviewLoader.C: header adjustment
5556
5557 2003-05-23  Angus Leeming  <leeming@lyx.org>
5558
5559         * LaTeXFeatures.[Ch] (useBabel): new method.
5560         * bufferparams.C (writeLaTeX): use it.
5561
5562 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5563
5564         * ParagraphList.h (set): remove unused function.
5565
5566 2003-05-23  André Pönitz  <poenitz@gmx.net>
5567
5568         * BufferView.C:
5569         * BufferView_pimpl.C:
5570         * buffer.C:
5571         * buffer.h:
5572         * lyxfunc.C:
5573         * undo_funcs.C: setUndo reworked
5574
5575         * iterators.[Ch]: add access to topmost ParagraphList
5576
5577         * lyxtext.[Ch] (workWidth): add a const
5578
5579 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5580
5581         * texrow.[Ch] (increasePos): remove function
5582         * exporter.C (export): removed unused var and outdated comment
5583
5584 2003-05-23  Angus Leeming  <leeming@lyx.org>
5585
5586         * latexrunparams.h: rename fragile as moving_arg.
5587         * paragraph.C (simpleTeXOnePar): ditto.
5588         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5589
5590 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5591
5592         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5593         (createUndo): ditto
5594         (textUndoOrRedo): comment out a currently unused var.
5595
5596         * paragraph.h (NO_NEXT): enable NO_NEXT
5597
5598         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5599
5600         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5601
5602         * exporter.C (Export): adjust for removeAutoInsets removal.
5603
5604         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5605
5606         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5607
5608         * BufferView.[Ch] (removeAutoInsets): delete function
5609
5610 2003-05-22  Angus Leeming  <leeming@lyx.org>
5611
5612         * latexrunparams.h: add a free_spacing variable.
5613
5614         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5615         to pass moving_arg, as the data is stored in runparams.fragile.
5616
5617         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5618         to Inset::latexOptional or to simpleTeXOnePar.
5619
5620         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5621         free_spacing arg to Inset::latexOptional.
5622
5623         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5624         free_spacing arg.
5625
5626 2003-05-22  Angus Leeming  <leeming@lyx.org>
5627
5628         * latexrunparams.h: add fragile and use_babel variables.
5629
5630         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5631         * buffer.C (makeLaTeXFile): store this returned value in
5632         runparams.use_babel, thus passing it to the inset::latex methods.
5633
5634         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5635         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5636
5637         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5638         longer has a fragile arg, as it is stored in runparams.fragile.
5639
5640         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5641         moving_arg parameter as the data is stored in runparams.fragile.
5642
5643         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5644         a fragile parameter as the data is stored in runparams.fragile.
5645
5646 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5647
5648         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5649
5650 2003-05-22  Angus Leeming  <leeming@lyx.org>
5651
5652         * latexrunparams.h: add a 'bool nice' which defaults to false.
5653
5654         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5655         now encapsulated within runparams.
5656
5657         * bufferlist.C (updateIncludedTeXfiles):
5658         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5659
5660 2003-05-22  Angus Leeming  <leeming@lyx.org>
5661
5662         * latexrunparams.h: new file containing struct LatexRunParams.
5663         * Makefile.am: add new file.
5664
5665         * LaTeX.[Ch] (c-tor, run):
5666         * buffer.[Ch] (makeLaTeXFile):
5667         * bufferlist.[Ch] (updateIncludedTeXfiles):
5668         * converter.C (convert, scanLog):
5669         * converter.[Ch] (runLaTeX):
5670         * exporter.C (Export):
5671         * paragraph.[Ch] (simpleTeXOnePar):
5672         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5673         * paragraph_funcs.[Ch] (latexParagraphs):
5674         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5675         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5676         pass around a LatexRunParams parameter.
5677
5678 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5679
5680         * paragraph.[Ch]: remove unused constructor
5681
5682         * ParagraphList.C (erase): new function, taking two iterators
5683
5684 2003-05-22  André Pönitz  <poenitz@gmx.net>
5685
5686         * undo_funcs.C: remove duplicated code
5687
5688         * iterator.[Ch]: operator=
5689
5690 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5691
5692         * tabular.C (SetMultiColumn): ws changes
5693
5694         * rowpainter.C (paintFirst): get rid of a ->previous
5695
5696         * lyx_cb.C (getPossibleLabel): parlist simplification
5697
5698         * BufferView.C (ChangeInsets): simplify slightly.
5699
5700 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5701
5702         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5703         * lfuns.h: new LFUN_SPACE
5704         * lyxfunc.C: protected space has a new lfun
5705         * paragraph_funcs.C: read new space insets
5706         * text3.C:
5707         * factory.C: handle new space insets
5708
5709 2003-05-22  André Pönitz  <poenitz@gmx.net>
5710
5711         * BufferView.C:
5712         * BufferView_pimpl.C:
5713         * buffer.[Ch]:
5714         * lyxfunc.C:
5715         * undo_funcs.C: return a ParIterator from getParFromID.
5716
5717         * iterators.[Ch]: add two const's
5718
5719 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5720
5721         * toc.C (getTocList): adjust
5722
5723         * iterators.[Ch]: rework for parlist
5724
5725         * buffer.C (par_iterator_begin): adjust
5726         (par_iterator_end): adjust
5727
5728         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5729
5730         * BufferView.C (removeAutoInsets): adjust
5731         (ChangeInsets): adjust
5732
5733 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5734
5735         * text.C (top_y): fix bug 1110
5736
5737 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5738
5739         * errorlist.[Ch]: added
5740         * buffer.C:
5741         * BufferView.[Ch]:
5742         * BufferView_pimpl.C:
5743         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5744         instead
5745
5746 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5747
5748         * Makefile.am: ensure that lyx is relinked upon changes to the
5749         various "convenience" libs.
5750
5751 2003-05-20  Angus Leeming  <leeming@lyx.org>
5752
5753         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5754         files are compiled in alphabetical order again.
5755
5756         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5757
5758 2003-05-19  Angus Leeming  <leeming@lyx.org>
5759
5760         * gettext.[Ch]: remove "char const * _(char const *)".
5761
5762 2003-05-19  André Pönitz  <poenitz@gmx.net>
5763
5764         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5765
5766         * Makefile.am:
5767         * BufferView.C:
5768         * DepTable.h:
5769         * LaTeXFeatures.C:
5770         * buffer.C:
5771         * lyxfont.C:
5772         * lyxlex.h:
5773         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5774
5775 2003-05-19  André Pönitz  <poenitz@gmx.net>
5776
5777         * buffer.C:
5778         * lyxlayout.[Ch]:
5779         * lyxtextclass.[Ch]:
5780         * paragraph.C:
5781         * paragraph_funcs.[Ch]:
5782         * text2.C:
5783         * text3.C: more insetenv work
5784
5785 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5786
5787         * ParagraphParameters.C (params2string): small bug fixed
5788
5789 2003-05-16  André Pönitz  <poenitz@gmx.net>
5790
5791         * debug.C:
5792         * bufferview_funcs.C: patch from Kornel Benko to prevent
5793           crash when _(...) is called twice in a statement
5794
5795 2003-05-16  André Pönitz  <poenitz@gmx.net>
5796
5797         * BufferView.C:
5798         * lyxfunc.C:
5799         * text.C:
5800         * text2.C:
5801         * text3.C:
5802         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5803
5804 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5805
5806         * lyx_main.C (init): remove spurious static_cast
5807
5808 2003-05-14  André Pönitz  <poenitz@gmx.net>
5809
5810         * BufferView.C: fix format string
5811
5812 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5813
5814         * BufferView.[Ch] (insertErrors): removed
5815         * BufferView.[Ch] (showErrorList): added
5816         * buffer.C (runChkTeX):
5817         * converter.C (scanLog): call showErrorList instead of inserterrors
5818
5819 2003-05-13  André Pönitz  <poenitz@gmx.net>
5820
5821         * BufferView_pimpl.C:
5822         * buffer.C:
5823         * bufferview_func.C:
5824         * MenuBackend.C:
5825         * lyxfunc.C:
5826         * lyxrc.C:
5827         * tex-accent.C:
5828         * text3.C:
5829         * toc.C:
5830         * tabular_funcs.h: tostr() from its own header
5831
5832         * ParagraphParameters.C:
5833         * ToolbarBackend.C:
5834         * bufferparams.C:
5835         * format.C:
5836         * lyxlex_pimpl.C:
5837         * text3.C: STRCONV()
5838
5839 2003-05-12  André Pönitz  <poenitz@gmx.net>
5840
5841         * BufferView.C:
5842         * BufferView_pimpl.C:
5843         * CutAndPaste.C:
5844         * LaTeX.C:
5845         * LaTeXFeatures.C:
5846         * ParagraphParameters.C:
5847         * buffer.C:
5848         * bufferlist.C:
5849         * bufferparams.C:
5850         * bufferview_funcs.C:
5851         * converter.C:
5852         * counters.C:
5853         * debug.C:
5854         * exporter.C:
5855         * format.C:
5856         * importer.C:
5857         * lyx_cb.C:
5858         * lyx_main.C:
5859         * lyxfont.C:
5860         * lyxfunc.C:
5861         * lyxvc.C:
5862         * paragraph.C:
5863         * paragraph_funcs.C:
5864         * tabular.C:
5865         * tabular_funcs.C:
5866         * text2.C:
5867         * text3.C:  boost::format -> bformat  all over the place
5868
5869
5870 2003-05-09  André Pönitz  <poenitz@gmx.net>
5871
5872         * LColor.[Ch]: Pimpl the #include <map> away
5873
5874 2003-05-09  John Levon  <levon@movementarian.org>
5875
5876         * bufferlist.C: never remove emergency saves
5877
5878 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5879
5880         * Makefile.am: better lib building
5881
5882 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5883
5884         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5885         instead.
5886         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5887         (simpleTeXSpecialChars): adjust
5888         (simpleTeXSpecialChars): adjust
5889         * paragraph.C (simpleTeXOnePar): adjust
5890         * buffer.C (makeLaTeXFile): adjust
5891
5892         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5893
5894         * text2.C (changeDepth): parlist cleanup
5895         (getColumnNearX): ditto
5896
5897         * rowpainter.C (getLabelFont): parlist cleanup
5898
5899         * bufferlist.C (newFile): parlist cleanup
5900
5901         * CutAndPaste.C (eraseSelection): parlist cleanup
5902
5903         * BufferView_pimpl.C (trackChanges): parlist cleanup
5904         (dispatch): ditto
5905
5906         * BufferView.C (lockInset): parlist cleanup.
5907         (ChangeInsets): ditto
5908
5909 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5910
5911         * CutAndPaste.h: Update file header.
5912
5913         * CutAndPaste.C: Update file header.
5914         Store the parts cut out of the Document in a limited_stack.
5915         (copySelection): adjust
5916         (pasteSelection): new function, takes the index in the limited stack.
5917         (nrOfParagraphs): adjust
5918         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5919         simplify error inset insertion.
5920         (checkPastePossible): adjust
5921
5922 2003-05-06  John Levon  <levon@movementarian.org>
5923
5924         * text2.C: don't cast wrap inset to float
5925
5926 2003-05-05  André Pönitz  <poenitz@gmx.net>
5927
5928         * iterator.C:
5929         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5930
5931         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5932           few naked Paragraph *.
5933
5934 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5935
5936         * bufferparams.C: Output warning if a document with missing
5937         TeX document class is loaded
5938         * exporter.C: Disable TeX exports if the document class is missing
5939         * lyxtextclass.C:
5940         * lyxtextclass.h:
5941         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5942         isTeXClassAvailable()
5943
5944 2003-05-03  John Levon  <levon@movementarian.org>
5945
5946         * BufferView.h:
5947         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5948         explicit cursor show/hide
5949
5950         * BufferView_pimpl.h:
5951         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5952         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5953
5954         * lyxfunc.C: hide cursor before dispatching.
5955
5956         * lyx_cb.C:
5957         * lyxfind.C:
5958         * text.C:
5959         * text3.C: remove explicit cursor hides
5960
5961 2003-05-02  André Pönitz  <poenitz@gmx.net>
5962
5963         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5964
5965         * undo_funcs.C:
5966         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5967           linked lists
5968
5969         * text2.C: tiny whitespace
5970
5971 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5972
5973         * undo_funcs.C: almost only ws changes.
5974
5975         * ParagraphList.C (splice): just return if pl is empty.
5976
5977 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5978
5979         * ParagraphList.C (splice): new function.
5980
5981         * CutAndPaste.C (pasteSelection): use it
5982
5983 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5984
5985         * CutAndPaste.C (pasteSelection): remove the last next and
5986         previous from this file.
5987
5988 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5989
5990         * CutAndPaste.C (pasteSelection): more clean up, user proper
5991         ParagraphList functions for pasteing.
5992
5993         * ParagraphList.C (insert): new function, three arg insert
5994
5995 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5996
5997         * ParagraphList.C (insert): new function, three arg insert
5998
5999         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6000         not on paragraphs.
6001
6002 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6003
6004         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6005
6006 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6007
6008         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6009
6010 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6011
6012         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6013         (copySelection): clean up a bit.
6014         (pasteSelection): use make_pair
6015
6016         * ParagraphList.C (ParagraphList): implement copy constructor
6017         (operator=): implement, base on copy constructor.
6018         (assign): new func
6019
6020         * paragraph.C (erase): return a bool
6021
6022         * paragraph_pimpl.C (erasePos): remove function, move contents...
6023         (erase): ... here. Return a bool.
6024         (erase): call erase instead of erasePos.
6025
6026 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6027
6028         * ParagraphList.h: define PitPosPair
6029         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6030         ParagraphList, fix a bug on pasting multiple pars
6031         * text2.C: change interface to C&P
6032
6033 2003-04-30  André Pönitz  <poenitz@gmx.net>
6034
6035         * undo_func.C: revert part of yesterday's patch 2
6036
6037 2003-04-30  John Levon  <levon@movementarian.org>
6038
6039         * LColor.C: s/tabular/table/
6040
6041 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6042
6043         * text3.C (dispatch): do not convert iterator -> pointer
6044         * undo_funcs.C (setCursorParUndo): ditto
6045         * text_funcs.C (transposeChars): ditto
6046
6047         * text2.C (setLayout): ws changes only
6048
6049         * text.C (breakParagraph): do not convert iterator -> pointer
6050         (insertChar): ditto
6051         (acceptChange): ditto
6052         (rejectChange): ditto
6053         (changeCase): ditto
6054         (Delete): ditto
6055         (backspace): ditto
6056
6057         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6058         pointer
6059
6060 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6061
6062         * text3.C (gotoInset): YABG (yet another bad getChar)
6063
6064 2003-04-29  André Pönitz  <poenitz@gmx.net>
6065
6066         * paragraph.h: make operator= private unimplemented as long as
6067           it is unusable
6068
6069         * ParagraphList.C: whitespace
6070
6071         * paragraph.[Ch]:
6072         * paragraph_pimpl.[Ch]:
6073         * paragraph_funcs.C:
6074         * CutAndPaste.C:
6075         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6076
6077         * text2.C:
6078           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6079
6080 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6081
6082         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6083         * paragraph.[Ch] (erase):
6084         * paragraph_pimpl.[Ch] (erase): change return type and value
6085         * text2.C (cutSelection): some rework
6086
6087 2003-04-28  John Levon  <levon@movementarian.org>
6088
6089         * bufferlist.C: changes for unsaved changes dialog
6090
6091 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6092
6093         * bufferlist.C (newFile): set language (messages_) for new
6094         documents also.
6095
6096         * buffer.C (readFile): ws changes only.
6097
6098 2003-04-28  André Pönitz  <poenitz@gmx.net>
6099
6100         * undo_funcs.C:
6101         * lyxfunc.C:
6102         * buffer.[Ch]:
6103         * BufferView_pimpl.C:
6104         * BufferView.C: getParFromID related ParagraphList::iterator changes
6105
6106 2003-04-28  André Pönitz  <poenitz@gmx.net>
6107
6108         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6109           Changes
6110
6111 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6112
6113         * messages.C: remove one more localedir class variable.
6114
6115 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6116
6117         * messages.C (getLocaleDir): singleton generation function
6118         (Pimpl): use it.
6119         (Messages): add a default constructor.
6120
6121         * main.C (main): do not setup localedir here, do not call
6122         gettext_init.
6123
6124         * gettext.C (_): use it.
6125         (gettext_init): delete funciton
6126
6127 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6128
6129         * gettext.C (getLyXMessages): new singleton generating function.
6130
6131         * buffer.C (updateDocLang): adjust
6132
6133         * Makefile.am (messages.o): add target
6134         (main.o): remove target
6135
6136 2003-04-27  John Levon  <levon@movementarian.org>
6137
6138         * bufferlist.C:
6139         * lyx_cb.C:
6140         * lyxfunc.C:
6141         * lyxvc.C: specify cancel button in Alert::prompt
6142
6143 2003-04-26  John Levon  <levon@movementarian.org>
6144
6145         * text3.C:
6146         * lyxfunc.C:
6147         * lfuns.h:
6148         * LyXAction.C: add LFUN_INSET_SETTINGS
6149
6150         * lyxfunc.C: don't enable tabular-feature when there's
6151         just any locking inset
6152
6153 2003-04-26  John Levon  <levon@movementarian.org>
6154
6155         * bufferlist.C: re-add Cancel to buffer close question
6156
6157         * lyxfunc.C: fix import UI a bit
6158
6159 2003-04-25  John Levon  <levon@movementarian.org>
6160
6161         * gettext.C: remove the broken asserts for now
6162
6163 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6164
6165         * messages.C: make case where setlocale cannot comply work better.
6166
6167         * buffer.C (updateDocLang): new function
6168         (changeLanguage): use it
6169         (readFile): use it
6170
6171         * text2.C (setCounter): use B_ a bit.
6172
6173         * lyxlayout.C (Read): be sure to trim the label strings.
6174
6175         * messages.C (Messages): fix typo in comment
6176
6177         * buffer.C (readFile): set message_ after file is loaded.
6178         (makeDocBookFile): remove double return
6179         (changeLanguage): reset message_ upon language change.
6180         (B_): new func, use this to get translated buffer strings.
6181
6182         * main.C: add myself and Jean Marc as authors.
6183
6184 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6185
6186         * messages.[hC]: pimplify Messages, and three different pimpls to be
6187         used in different circumstances.
6188
6189         * gettext.[Ch]: change for use with new message code.
6190
6191 2003-04-24 André Pönitz <poenitz@gmx.net>
6192
6193         * factory.C: support for eqref
6194
6195 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6196
6197         * messages.[Ch]: add missing char
6198
6199         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6200
6201         * messages.[Ch]: New files
6202
6203 2003-04-18  John Levon  <levon@movementarian.org>
6204
6205         * BufferView.h:
6206         * BufferView.C:
6207         * BufferView_pimpl.C:
6208         * lfuns.h:
6209         * LyXAction.C:
6210         * lyxtext.h:
6211         * text2.C: remove layout-copy/paste (bug 778)
6212
6213 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6214
6215         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6216
6217 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6218
6219         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6220         if they succeed. Act accordingly.
6221
6222 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6223
6224         * text2.C (setCharFont): adjust
6225         (setCounter): adjust
6226         (insertStringAsLines): adjust
6227
6228         * text.C (leftMargin): adjust
6229         (setHeightOfRow): adjust
6230
6231         * rowpainter.C (paintFirst): adjust
6232         (paintLast): adjust
6233
6234         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6235         (outerHook): ditto
6236         (isFirstInSequence): ditto
6237         (getEndLabel): ditto
6238         (outerFont): adjust
6239
6240         * paragraph.C (getParLanguage): comment out some hard stuff.
6241
6242         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6243         (sgmlError): ditto
6244         (simpleDocBookOnePar): ditto
6245         (makeDocBookFile): use ParagraphList::iterator
6246
6247         * CutAndPaste.C (pasteSelection): adjust
6248
6249 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6250
6251         * text2.C (getFont): adjust
6252         (getLayoutFont): adjust
6253         (getLabelFont): adjust
6254
6255         * paragraph_funcs.C (TeXOnePar): adjust
6256
6257         * buffer.C (simpleLinuxDocOnePar): adjust
6258         (simpleDocBookOnePar): adjust
6259
6260         * CutAndPaste.C (pasteSelection): adjust
6261
6262         * BufferView.C (getEncoding): adjust
6263
6264         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6265
6266 2003-04-16  John Levon  <levon@movementarian.org>
6267
6268         * lyxfind.C: use parlist stuff for search/changes
6269
6270 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6271
6272         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6273
6274         * text2.C (deleteEmptyParagraphMechanism): adjust
6275
6276         * text2.[Ch] (ownerParagraph): delete func (both of them
6277
6278 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6279
6280         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6281
6282 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6283
6284         * ParagraphList.C: prepare for NO_NEXT
6285
6286 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6287
6288         * text2.C (getFont): adjust
6289         (getLayoutFont): adjust
6290         (getLabelFont): adjust
6291
6292         * paragraph.C (getFont): adjust
6293         (getLabelFont): adjust
6294         (getLayoutFont): adjust
6295
6296         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6297
6298 2003-04-15  John Levon  <levon@movementarian.org>
6299
6300         From Angus Leeming
6301
6302         * lyx_main.C: handle Include in .ui files
6303
6304 2003-04-15  John Levon  <levon@movementarian.org>
6305
6306         * MenuBackend.C: make the doc files length shorter
6307
6308         * ToolbarBackend.h:
6309         * ToolbarBackend.C: handle toolbar placement flags,
6310         Minibuffer
6311
6312 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6313
6314         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6315         adjust
6316
6317         * paragraph_funcs.C (TeXOnePar): adjust
6318
6319         * paragraph.C (getLabelFont): add outerfont arg, adjust
6320         (getLayoutFont): ditto
6321         (simpleTeXOnePar): adjust
6322
6323         * paragraph_pimpl.C (realizeFont): delete func
6324
6325 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6326
6327         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6328         row argument, constify cur argument.
6329
6330 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6331
6332         * text2.C (getFont): adjust
6333         (getLayoutFont): adjust
6334         (getLabelFont): adjust
6335
6336         * paragraph_funcs.C (TeXOnePar): adjust
6337         (outerFont): new func...
6338         (realizeFont): ...moved out from here, changed this to facilitate
6339         transition
6340
6341         * paragraph.C (getFont): take outerfont as arg, adjust
6342         (simpleTeXOnePar): add outerfont arg, adjust
6343
6344         * buffer.C (simpleLinuxDocOnePar): adjust
6345         (simpleDocBookOnePar): adjust
6346
6347         * CutAndPaste.C (pasteSelection): adjust
6348
6349         * BufferView.C (getEncoding): adjust
6350
6351 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6352
6353         * text2.C (setCharFont): adjust
6354         (setCounter): adjust
6355
6356         * text.C (leftMargin): adjust
6357         (setHeightOfRow): adjust
6358
6359         * rowpainter.C (paintFirst): adjust
6360         (paintLast): adjust
6361
6362         * paragraph_pimpl.C (realizeFont): adjust
6363
6364         * paragraph.C (isFirstInSequence): move from here...
6365         * paragraph_funcs.C (isFirstInSequence): ...to here
6366
6367         * paragraph.C (outerHook): move from here...
6368         * paragraph_funcs.C (outerHook): ...to here
6369
6370         * paragraph.C (depthHook): move from here...
6371         * paragraph_funcs.C (depthHook): ...to here
6372
6373         * paragraph.C (getEndLabel): move from here...
6374         * paragraph_funcs.C (getEndLabel): ...to here
6375
6376         * text2.C (realizeFont): move from here...
6377         * paragraph_funcs.C (realizeFont): ...to here
6378
6379 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6380
6381         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6382
6383 2003-04-14  Angus Leeming  <leeming@lyx.org>
6384
6385         * LColor.[Ch]: scrap LColor mathcursor.
6386
6387 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6388
6389         * lyxlex.[Ch] (text): delete function
6390         * trans.C (Load): adjust
6391         * paragraph_funcs.C (readParToken): adjust
6392
6393 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6394
6395         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6396         vector<char> instead of a char[].
6397
6398         * lyxlex_pimpl.C (getString): adjust
6399         (next): adjust
6400         (lex): use getString
6401         (eatLine): adjust
6402         (nextToken): adjust
6403
6404         * lyxlex.C (text): use pimpl_->getString()
6405         (getBool): ditto
6406         (findToken): ditto
6407
6408 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6409
6410         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6411         (makeFontEntriesLayoutSpecific): temp var for par.size()
6412         (setLayout): temp var for ownerParagraphs().end()
6413         (fullRebreak): temp var for rows().end()
6414         (selectionAsString): temp var for boost::next(startpit), realize
6415         that the while really is a regular for loop.
6416         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6417         setCursor in one place.
6418         (setParagraph): temp vr for ownerParagraphs().end()
6419         (updateCounters): make the while loop a for loop
6420         (cutSelection): temp var for ownerParagraphs().end()
6421         (updateInset): make the do {} while() a regular for loop
6422         (getCursorX): use temp vars
6423         (setCurrentFont): use temp vars
6424         (getColumnNearX): use temp vars
6425
6426 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6427
6428         * text.C (transformChar): use temp var for getChar
6429         (computeBidiTables): use temp var for row->par()
6430         (fill): move temp vars for row->par() and pit->layout() earlier in
6431         the function.
6432         (labelFill): use temp var for row->par()
6433         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6434         asc and desc, realize that pit never changes and that firstpit is
6435         just a duplicate and not needed. Exchange rit->par() with pit in a
6436         lot of places.
6437         (breakAgain): use a temp var for boost::next(rit)
6438         (breakAgainOneRow): ditto
6439         (breakParagraph): use a temp var for rows().begin()
6440         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6441         (cursorRightOneWord): use temp var for cursor.par() and
6442         cursor.pos(), remove usage of tmpcursor.
6443         (cursorLeftOneWord): use temp var for cursor.par() and
6444         cursor.pos() only set cur at end of function.
6445
6446 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6447
6448         * text.C, text2.C: exchange all usage of Paragraph::next with
6449         boost::next(ParagraphList::iterator)
6450
6451         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6452
6453         * text2.C (cursorTop): simplify implementation
6454         (cursorBottom): ditto
6455         (setParagraph): use ParagraphList::iterator
6456         (setCurrentFont): adjust
6457         (getColumnNearX): adjust
6458         (cursorRight): adjust
6459         (cursorLeft): remove usage of Paragraph::previous
6460         (cursorUpParagraph): ditto
6461         (deleteEmptyParagraphMechanism): slight cleanup
6462
6463         * text.C (isBoundary): take a Paragraph const & instead of a
6464         pointer as arg.
6465         (addressBreakPoint): ditto
6466         (leftMargin): remove usage of Paragraph::previous.
6467         (setHeightOfRow): ditto
6468         (cursorLeftOneWord): ditto
6469         (selectNextWordToSpellcheck): ditto
6470         (Delete): ditto
6471         (backspace): ditto
6472         (breakParagraph): remove one usage of Paragraph::next
6473         (redoParagraph): ditto
6474         (acceptChange): ditto
6475         (insertChar): adjust
6476         (rowBreakPoint): adjust
6477
6478         * bufferview_funcs.C (toggleAndShow): adjust
6479
6480 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6481
6482         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6483         methods to access it.
6484         * lyxtext.h:
6485         * text.C: Added updateRowPositions to compute all row positions.
6486         Make top_y and getRowNearY() to use the cached y position
6487
6488 2003-04-11  John Levon  <levon@movementarian.org>
6489
6490         * text.C (rowBreakPoint): reintroduce the labelEnd
6491         checks, code copied from the row fill stuff. Deep voodoo.
6492
6493         * text.C (fill): add a comment and debugging for the
6494         next poor soul.
6495
6496 2003-04-11  John Levon  <levon@movementarian.org>
6497
6498         * text.C: make sure fullrow insets get wrapped to the next line,
6499         even when they're in a manual label
6500
6501 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6502
6503         * text2.C (insertParagraph): make it take ParagraphList::iterator
6504         as arg.
6505         (setLayout): make it return ParagraphList::iterator
6506         (redoParagraphs): ditto
6507         (setCounter): ditto
6508         (checkParagraph): ditto
6509
6510         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6511
6512         * text2.C: adjust several funcs.
6513         (realizeFont): take a ParagraphList::iterator as arg.
6514         (getLayoutFont): ditto
6515         (getLabelFont): ditto
6516         (setCharFont): ditto
6517
6518         * text.C: adjust several funcs.
6519
6520 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6521
6522         * text.C (selectNextWordToSpellcheck): don't accidentally
6523         skip insets
6524
6525 2003-04-10  John Levon  <levon@movementarian.org>
6526
6527         * ToolbarBackend.C (getIcon): special handling for
6528         LFUN_MATH_DELIM
6529
6530 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6531
6532         * text2.C (cursorRight): a getChar assert fixed
6533
6534 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6535
6536         * text2.C (getFont): change to take a ParagraphList::iterator
6537         instead of Paragraph*
6538         Adjust several functions.
6539
6540         * text.C (transformChar): change to take a ParagraphList::iterator
6541         instead of Paragraph*
6542         (singleWidth): ditto
6543         Adjust several functions.
6544
6545         * rowpainter.C: adjust several functions
6546         * rowpainter.h:store a ParagraphList::iterator and not a
6547         Paragraph&.
6548
6549
6550 2003-04-09  John Levon  <levon@movementarian.org>
6551
6552         * lyxfunc.C:
6553         * lfuns.h:
6554         * LyXAction.h:
6555         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6556         and the "help" bits as well
6557
6558 2003-04-09  John Levon  <levon@movementarian.org>
6559
6560         * ToolbarBackend.h:
6561         * ToolbarBackend.C: allow multiple toolbars
6562
6563 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6564
6565         * undo_funcs.C (setCursorParUndo): adjust
6566
6567         * text_funcs.C (transposeChars): adjust
6568
6569         * text3.C (gotoNextInset): adjust
6570         (dispatch): adjust
6571
6572         * text2.C (setLayout): adjust
6573         (changeDepth): adjust
6574         (setFont): adjust
6575         (redoParagraphs): adjust
6576         (selectionAsString): adjust
6577         (setParagraph): adjust
6578         (insertInset): adjust
6579         (cutSelection): adjust
6580         (copySelection): adjust
6581         (pasteSelection): adjust
6582         (insertStringAsLines): adjust
6583         (updateInset): adjust
6584         (setCursor): change to take a ParagraphList::iterator parameter
6585         (setCursorIntern): change to take a ParagraphList::iterator parameter
6586         (setCurrentFont): adjust
6587         (cursorLeft): adjust
6588         (cursorRight): adjust
6589         (deleteEmptyParagraphMechanism): adjust
6590
6591         * text.C (breakParagraph): adjust
6592         (insertChar): adjust
6593         (acceptChange): adjust
6594         (rejectChange): adjust
6595         (selectNextWordToSpellcheck): adjust
6596         (changeCase): adjust
6597         (Delete): adjust
6598         (backspace): adjust
6599
6600         * lyxfind.C (SearchForward): adjust
6601         (SearchBackward): adjust
6602         (nextChange): adjust
6603
6604         * lyxcursor.C (par): adjust
6605
6606         * lyxcursor.h: store a ParagraphList::iterator instead of a
6607         Paragraph*
6608
6609         * lyx_cb.C (getPossibleLabel): adjust
6610
6611         * bufferview_funcs.C (toggleAndShow): adjust
6612
6613         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6614         (dispatch): adjust
6615
6616         * BufferView.C (removeAutoInsets): adjust
6617         (lockedInsetStoreUndo): adjust
6618
6619 2003-04-09  John Levon  <levon@movementarian.org>
6620
6621         * ToolbarBackend.C: try icon without argument
6622         if with argument fails
6623
6624 2003-04-08  John Levon  <levon@movementarian.org>
6625
6626         * ToolbarBackend.h:
6627         * ToolbarBackend.C: add getIcon(), handle tooltip,
6628         and change from "Icon" to "Item".
6629
6630 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6631
6632         * BufferView.C (lockInset): another bad getchar crunched
6633
6634 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6635
6636         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6637         again)
6638
6639 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6640
6641         * lyxfind.C (searchForward, searchBackwards): bug 782
6642
6643 2003-04-07  John Levon  <levon@movementarian.org>
6644
6645         * paragraph.C: remove dead comment
6646
6647         * text.C: remove troublesome depth-fiddling code
6648         in leftMargin() and rightMargin() (bug 1017)
6649
6650         * text.C: fix breaking of rows in nested lists
6651         (bug 1004)
6652
6653         * text2.C (updateCounters): fix up depth values
6654         (bug 1013)
6655
6656 2003-04-07  John Levon  <levon@movementarian.org>
6657
6658         * BufferView_pimpl.C: clear message when doc finishes resizing,
6659         and after a mouse event
6660
6661         * lyxfunc.C: clear message after exiting inset
6662
6663 2003-04-07  John Levon  <levon@movementarian.org>
6664
6665         * bufferview_funcs.C: show math status not outside
6666         status in the statusbar
6667
6668 2003-04-07  John Levon  <levon@movementarian.org>
6669
6670         * lyxfunc.C: note status changed after a depth change
6671
6672 2003-04-04  Angus Leeming  <leeming@lyx.org>
6673
6674         * LaTeX.h: move AuxInfo operator==, != out of line.
6675         Remove LaTeX virtual destructor; nothing derives from it.
6676         Move operator()() out of public area and rename it startscript().
6677         Change protected for private.
6678
6679 2003-04-04  Angus Leeming  <leeming@lyx.org>
6680
6681         * lyxfunc.C:
6682         * text2.C: remove unneeded #includes.
6683
6684 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6685
6686         * text2.C (dEPM): fix the heigth of the next row
6687
6688 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6689
6690         * text.C: squashed an invalid getChar requester + some ws changes
6691
6692 2003-04-03  John Levon  <levon@movementarian.org>
6693
6694         * bufferview_funcs.h:
6695         * bufferview_funcs.C:
6696         * lyxfunc.C:
6697         * lyxtext.h:
6698         * text2.C: make getStatus work for the env depth lfuns
6699
6700 2003-04-03  John Levon  <levon@movementarian.org>
6701
6702         * bufferview_funcs.h:
6703         * bufferview_funcs.C:
6704         * lyxfunc.C:
6705         * lyxtext.h:
6706         * text2.C: parlistize decDepth(), by merging it with incDepth()
6707
6708 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6709
6710         * lyxrow.h: store a ParagraphList::iterator instead of a
6711         Paragraph* and adjust other class functions to suit.
6712
6713         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6714         above.
6715
6716 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6717
6718         * text2.C (setCursor): do not anchor to cursor row for the time being
6719
6720 2003-04-02  John Levon  <levon@movementarian.org>
6721
6722         * LyXAction.C:
6723         * lfuns.h:
6724         * lyx_main.C:
6725         * lyxtext.h:
6726         * text.C:
6727         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6728
6729 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6730
6731         * paragraph.h: make ParagraphList and ParagraphList::iterator
6732         friends of Paragraph.
6733
6734         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6735
6736         * ParagraphList.C: Use the private next_ and previous_ from
6737         Paragraph.
6738
6739 2003-04-01  John Levon  <levon@movementarian.org>
6740
6741         * ToolbarBackend.h:
6742         * ToolbarBackend.C:
6743         * Makefile.am: rename, remove defaults gunk
6744
6745         * MenuBackend.h:
6746         * MenuBackend.C: remove defaults gunk
6747
6748         * Languages.h:
6749         * Languages.C: remove defaults gunk
6750
6751         * lyx_main.h:
6752         * lyx_main.C: error out if files couldn't be found.
6753
6754 2003-04-02  John Levon  <levon@movementarian.org>
6755
6756         * text2.C: make incDepth() use parlist
6757
6758 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6759
6760         * undo_funcs.C (firstUndoParagraph): adjust
6761
6762         * text3.C (gotoInset): adjust
6763         (dispatch): adjust, and rewrite loop.
6764
6765         * text2.C (init): adjust, and rewrite loop.
6766         (redoParagraphs): adjust
6767         (updateInset): adjust, and rewrite loop.
6768         (deleteEmptyParagraphMechanism): adjust
6769
6770         * tabular.C (LyXTabular): adjust
6771         (SetMultiColumn): adjust
6772         (TeXRow): adjust
6773
6774         * lyxtext.[Ch] (ownerParagraph): delete function
6775         (ownerParagraphs): new function returns a ParagraphList.
6776
6777         * BufferView.C (removeAutoInsets): adjust
6778         (insertErrors): adjust
6779         (setCursorFromRow): adjust
6780
6781 2003-04-01  Angus Leeming  <leeming@lyx.org>
6782
6783         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6784         in the frontends.
6785
6786 2003-04-02  John Levon  <levon@movementarian.org>
6787
6788         * lyxtext.h:
6789         * text.C:
6790         * Makefile.am:
6791         * text_funcs.h:
6792         * text_funcs.C: make transposeChars a free function
6793
6794         * lyxrow_funcs.C: remove wrong comment
6795
6796 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6797
6798         * lyxtext.h: adjust
6799         * rowpainter.C: adjust
6800         * text.C: adjust
6801         * text2.C: adjust
6802         * text3.C: adjust
6803
6804         * lyxrow_funcs. [Ch]: new files
6805
6806         * lyxrow.[Ch]: remove next and previous pointers
6807         (next,previous): remove accessor functions
6808         (isParEnd): move to lyxrow_funcs
6809         (lastPos): move to lyxrow_funcs
6810         (nextRowIsAllInset): move to lyxrow_funcs
6811         (lastPrintablePos): move to lyxrow_funcs
6812         (numberOfSeparators): move to lyxrow_funcs
6813         (numberOfHfills): move to lyxrow_funcs
6814         (numberOfLabelHfills): move to lyxrow_funcs
6815         (hfillExpansion): move to lyxrow_funcs
6816
6817         * lyxfunc.C: adjust
6818
6819         * bufferview_funcs.C (toggleAndShow): adjust
6820
6821         * RowList.h: Remove class RowList from file leave just a
6822         std::list<Row>.
6823
6824         * RowList.C: delete file
6825
6826         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6827         and lyxrow_funcs.h
6828
6829 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6830
6831         * text3.C (cursorPrevious): adjust
6832         (cursorNext): adjust
6833         (dispatch): adjust
6834
6835         * text2.C (redoHeightOfParagraph): adjust
6836         (redoDrawingOfParagraph): adjust
6837         (setCursor): adjust
6838
6839         * text.C (breakParagraph): adjust
6840         (insertChar): adjust
6841         (backspace): adjust
6842
6843         * rowpainter.C (RowPainter): adjust
6844         (leftMargin): simplify and adjust
6845         (most rowpainter functions): adjust.
6846
6847         * rowpainter.h: store the row as RowList::iterator not as Row*
6848
6849         * lyxcursor.C (row): taka RowList::iterator as arg
6850         (irow): ditto
6851
6852         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6853         of Row*.
6854
6855 2003-04-01  Angus Leeming  <leeming@lyx.org>
6856
6857         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6858         stuff like bool Bool.
6859
6860 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6861
6862         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6863         rewrite a loop
6864
6865 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6866
6867         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6868         RowList::iterator.
6869
6870         * lyxtext.h (rows): drop one version and leve a const variant that
6871         returns a RowList::iterator.
6872
6873 2003-03-31  Angus Leeming  <leeming@lyx.org>
6874
6875         * text.C (fill): ensure that the signature is the same as that in the
6876         header file.
6877
6878 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6879
6880         * text2.C (redoParagraphs): adjust
6881         (updateCounters): adjust
6882         (checkParagraph): adjust
6883         (getColumnNearX): adjust and reformat a bit.
6884
6885         * text.C (top_y): adjust
6886         (workWidth): adjust
6887         (leftMargin): adjust
6888         (prepareToPrint): adjust
6889         (getRow): adjust
6890         (getRowNearY): adjust
6891
6892         * lyxtext.h: make rowlist_ mutable.
6893
6894         * RowList.h: add const_iterator
6895         * RowList.C: adjust for RowList::const_iterator.
6896
6897         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6898         adjust.
6899
6900 2003-03-31  John Levon  <levon@movementarian.org>
6901
6902         * lyxrc.h:
6903         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6904
6905         * lyx_main.C: set default fonts from using lyx_gui funcs
6906
6907         * exporter.C: pdf_mode moved from lyxrc
6908
6909         * lyx_cb.C:
6910         * lyxfunc.C: changes from above
6911
6912 2003-03-31  John Levon  <levon@movementarian.org>
6913
6914         * lyx_main.C: fix to the last fix
6915
6916 2003-03-31  John Levon  <levon@movementarian.org>
6917
6918         * bufferlist.C: "Load original" -> "Load Original"
6919
6920         * converter.C:
6921         * exporter.C:
6922         * importer.C:
6923         * lyx_main.C:
6924         * format.C: more Alert cleanups
6925
6926 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6927
6928         * text2.C (removeParagraph): make it take a RowList::iterator as
6929         arg, adjust.
6930         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6931         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6932
6933         * text.C (anchor_row): make it take a RowList::iterator as arg,
6934         adjust.
6935         (computeBidiTables): make it take a const reference to Row instead
6936         of Row pointer, adjust.
6937         (leftMargin): make it take a RowList::iterator as arg, adjust.
6938         (rowBreakPoint): adjust
6939         (breakAgainOneRow): make it take a RowList::iterator as arg,
6940         adjust.
6941         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6942
6943         * bufferview_funcs.C (toggleAndShow): adjust
6944
6945 2003-03-30  John Levon  <levon@movementarian.org>
6946
6947         * Makefile.am:
6948         * BoostFormat.h:
6949         * boost-inst.C: moved to support
6950
6951         * several files: changes as a result
6952
6953 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6954
6955         * text2.C (LyXText): adjust.
6956         (init): adjust
6957         (removeRow): make it take a RowList::iterator as arg, adjust.
6958         (fullRebreak): adjust
6959         (deleteEmptyParagraphMechanism): adjust
6960         (clearPaint): adjust
6961         (postPaint): adjust
6962
6963         * text.C (top_y): adjust
6964         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6965         (breakAgain): make it take a RowList::iterator as arg, adjust.
6966         (breakParagraph): adjust
6967         (insertChar): adjust
6968         (backspace): adjust
6969
6970         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6971         need_break_row, and refresh_row.
6972
6973         * text3.C (dispatch): adjust
6974
6975         * text2.C (checkParagraph): adjust
6976         (setCursor): adjust
6977         (setCursorFromCoordinates): adjust
6978
6979         * text.C (top_y): adjust
6980         (workWidth): adjust
6981         (getRow): make it return a RowList::iterator, adjust
6982         (getRowNearY): make it return a RowList::iterator, adjust
6983
6984         * text2.C (init): adjust
6985         (insertRow): remove function
6986         (insertParagraph): adjust
6987         (redoParagraphs): adjust
6988         (fullRebreak): adjust
6989         (updateCounters): adjust
6990
6991         * text.C (top_y): rewrite to use RowList iterators.
6992         (top_y): adjust
6993         (setHeightOfRow): rewrite to sue RowList iterators.
6994         (appendParagraph): adjust
6995         (breakAgain): adjust
6996         (breakAgainOneRow): adjust
6997         (breakParagraph): adjust
6998         (getRow): adjust
6999         (getRowNearY): adjust, and remove commented code.
7000
7001         * lyxtext.h (firstRow): delete function
7002         (lastRow): delete function
7003         (rows): new function (const and non-const versions.)
7004         (insertRow): delete function
7005
7006         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7007
7008 2003-03-29  John Levon  <levon@movementarian.org>
7009
7010         * BufferView_pimpl.C: always update scrollbar top
7011         because pasting text when we're anchored could mean we
7012         miss an update altogether
7013
7014 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7015
7016         * text2.C (init): use rowlist_.end() and not 0.
7017         (insertRow): change to take a RowList::iterator as arg, adjust
7018         for this.
7019         (insertParagraph): change to take a RowList::iterator as arg,
7020         adjust for this.
7021         (redoParagraphs): remove some debug msgs.
7022
7023         * text.C (appendParagraph): change to take a RowList::iterator
7024         arg, adjust for this.
7025         (breakAgain): add an assert
7026         (breakAgainOneRow): ditto
7027
7028 2003-03-29  John Levon  <levon@movementarian.org>
7029
7030         * text2.C: do not clear selection after inc/decDepth
7031         (bug 550)
7032
7033 2003-03-29  John Levon  <levon@movementarian.org>
7034
7035         * BufferView.C:
7036         * buffer.C: fix broken strerrors according to Lars
7037
7038 2003-03-29  John Levon  <levon@movementarian.org>
7039
7040         * converters.C: more Alert cleanups
7041
7042 2003-03-29  John Levon  <levon@movementarian.org>
7043
7044         * bufferview_funcs.C: remove pointless Alert
7045
7046         * buffer.C: fix confusing error message when
7047         a template is chmoded 000
7048
7049 2003-03-29  John Levon  <levon@movementarian.org>
7050
7051         * BufferView.C:
7052         * BufferView.h:
7053         * BufferView_pimpl.C: Alert fixes
7054
7055         * Makefile.am:
7056         * tabular.C:
7057         * tabular-old.C: remove unused table compat reading
7058
7059 2003-03-29  John Levon  <levon@movementarian.org>
7060
7061         * BufferView.C:
7062         * buffer.C:
7063         * lyx_cb.h:
7064         * lyx_cb.C: more Alert cleanups
7065
7066         * lyxfunc.C: don't allow chktex if not latex document
7067
7068 2003-03-29  John Levon  <levon@movementarian.org>
7069
7070         * lyx_cb.C:
7071         * BufferView.C:
7072         * buffer.C: warnings pushed down from support/,
7073         kill err_alert
7074
7075 2003-03-29  John Levon  <levon@movementarian.org>
7076
7077         * lyxfunc.C: safety check for C-r (revert)
7078
7079 2003-03-29  John Levon  <levon@movementarian.org>
7080
7081         * bufferlist.h:
7082         * bufferlist.C: several UI fixes using Alert::prompt.
7083         Fix the pointless looping quit code. Fix stupid revert
7084         behaviour (bug 938)
7085
7086         * lyxvc.h:
7087         * lyxvc.C:
7088         * lyx_cb.C: use Alert::prompt
7089
7090         * lyx_main.C: remove a silly question
7091
7092         * lyxfunc.C: remove a couple of silly questions,
7093         use Alert::prompt
7094
7095 2003-03-28  John Levon  <levon@movementarian.org>
7096
7097         * text2.C: fix bug 974 (End on empty par)
7098
7099 2003-03-28  John Levon  <levon@movementarian.org>
7100
7101         * BufferView_pimpl.C:
7102         * LyXAction.C:
7103         * lfuns.h: remove do-nothing math greek lfuns
7104
7105 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7106
7107         * lyxgluelength.h (isValidGlueLength): add default arg on
7108         parameter 2. Remove default arg from friend in class.
7109
7110         * lyxlength.h (isValidLength): add default arg on parameter 2.
7111         Remove default arg from friend in class.
7112
7113         * text2.C (LyXText): adjust, initialize refresh_row.
7114         (init): adjust
7115         (removeRow): adjust
7116         (insertRow): adjust
7117         (insertParagraph): adjst
7118         (redoParagraphs): adjust
7119         (fullRebreak): adjust
7120         (updateCounters): adjust
7121         (deleteEmptyParagraphMechanism): first attempt at fixing a
7122         crashing bug.
7123
7124         * text.C (top_y): adjust
7125         (setHeightOfRow): adjust
7126         (getRow): adjust
7127         (getRowNearY): adjust
7128
7129         * lyxtext.h: include RowList.h
7130         (~LyXText): not needed anymore, deleted.
7131         (firstRow): modify for RowList
7132         (lastRow): new function
7133         Delete firstrow and lastrow class variables, add a Rowlist
7134         rowlist_ class variable.
7135
7136         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7137         paragraph is empty.
7138
7139         * RowList.C (insert): fix case where it == begin().
7140
7141 2003-03-26  Angus Leeming  <leeming@lyx.org>
7142
7143         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7144         the thesaurus dialog.
7145
7146 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7147
7148         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7149
7150         * RowList.[Ch]: new files
7151
7152         * ParagraphList.C (erase): handle the case where it == begin
7153         correctly.
7154
7155 2003-03-25  John Levon  <levon@movementarian.org>
7156
7157         * Makefile.am:
7158         * aspell_local.h:
7159         * aspell.C: add new aspell support
7160
7161         * lyxrc.h:
7162         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7163         have it accessible.
7164
7165 2003-03-25  Angus Leeming  <leeming@lyx.org>
7166
7167         * lfuns.h:
7168         * LyXAction.C (init): new LFUN_INSET_INSERT.
7169
7170         * BufferView_pimpl.C (dispatch): split out part of the
7171         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7172
7173         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7174         LFUN_INSET_APPLY.
7175
7176 2003-03-25  Angus Leeming  <leeming@lyx.org>
7177
7178         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7179
7180 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7181
7182         * text2.C:
7183         * text3.C: remove useless row->height(0)
7184
7185 2003-03-25  John Levon  <levon@movementarian.org>
7186
7187         * lyxtext.h:
7188         * text2.C:
7189         * text3.C: rename the refreshing stuff to better names
7190
7191 2003-03-24  John Levon  <levon@movementarian.org>
7192
7193         * BufferView_pimpl.h:
7194         * BufferView_pimpl.C: update layout choice on a mouse
7195         press/release
7196
7197 2003-03-23  John Levon  <levon@movementarian.org>
7198
7199         * Makefile.am: fix commandtags.h reference
7200
7201 2003-03-22  John Levon  <levon@movementarian.org>
7202
7203         * BufferView_pimpl.C:
7204         * lyxtext.h:
7205         * rowpainter.C:
7206         * rowpainter.h:
7207         * text.C:
7208         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7209
7210 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7211
7212         * lyxtext.h:
7213         * text.C: take the rtl methods out of line
7214
7215 2003-03-21 André Pönitz <poenitz@gmx.net>
7216
7217         * metricsinfo.[Ch]: new files containing structures to be passed around
7218         during the two-phase-drawing...
7219
7220 2003-03-21 André Pönitz <poenitz@gmx.net>
7221
7222         * lyxtextclass.C: read 'environment' tag.
7223
7224 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7225
7226         * text2.C (removeRow): fix bug 964
7227
7228 2003-03-20  John Levon  <levon@movementarian.org>
7229
7230         * rowpainter.C:
7231         * text.C:
7232         * text2.C: paint cleanups. Inset::update() dropped font
7233         parameter
7234
7235 2003-03-19  John Levon  <levon@movementarian.org>
7236
7237         * lyxfunc.C: only fitcursor/markDirty if available()
7238
7239 2003-03-19  John Levon  <levon@movementarian.org>
7240
7241         * commandtags.h: rename to ...
7242
7243         * lfuns.h: ... this, and renumber / cleanup
7244
7245 2003-03-19  John Levon  <levon@movementarian.org>
7246
7247         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7248         fit the cursor after an lfun
7249
7250         * BufferView.h:
7251         * BufferView.C:
7252         * BufferView_pimpl.h:
7253         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7254
7255         * LyXAction.C: layout-character should have ReadOnly
7256
7257         * ParagraphParameters.C:
7258         * buffer.C:
7259         * bufferview_funcs.C:
7260         * lyx_cb.C:
7261         * lyxfind.C:
7262         * lyxtext.h:
7263         * text.C:
7264         * text2.C:
7265         * text3.C:
7266         * undo_funcs.C: changes from above
7267
7268 2003-03-18  John Levon  <levon@movementarian.org>
7269
7270         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7271         remove it from update()
7272
7273         * lyxfunc.C: update layout choice after an lfun
7274
7275         * text3.C: remove extra updateLayoutChoice()s
7276
7277 2003-03-18  John Levon  <levon@movementarian.org>
7278
7279         * text.C: top_y change means full repaint, fix
7280         a drawing bug with cursor movement
7281
7282 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7283
7284         * lyxtext.h:
7285         * text.C:
7286         * text2.C: anchor row on setCursor
7287
7288 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7289
7290         * lyxtext.h: remove almost all mutable keywords
7291         * text.C:
7292         * text2.C:
7293         * text3.C: remove const keywords accordingly
7294
7295 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7296
7297         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7298         anon namespace
7299         (TeXEnvironment): ditto
7300         (TeXOnePar): ditto
7301
7302 2003-03-17  John Levon  <levon@movementarian.org>
7303
7304         * text.C (rowBreakPoint): remove attempt to fix displayed
7305         math insets inside a manual label
7306
7307 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7308
7309         * lyxtext.h: remove BufferView* as first arg from almost all class
7310         functions.
7311         * other files: adjust.
7312
7313 2003-03-17  John Levon  <levon@movementarian.org>
7314
7315         * lyxtext.h:
7316         * undo_funcs.C:
7317         * text2.C: more paint cleanups
7318
7319         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7320
7321         * rowpainter.h:
7322         * rowpainter.C: remove "smart" background painting code
7323
7324 2003-03-16  John Levon  <levon@movementarian.org>
7325
7326         * lyxtext.h:
7327         * text.C:
7328         * text2.C:
7329         * text3.C: add helper functions for setting refresh_row/y
7330
7331 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7332
7333         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7334         newline inset which *can* get inserted in the pass_thru layouts.
7335         This is primarily for literate documents.
7336
7337 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7338
7339         * buffer.C: increment LYX_FORMAT to 223
7340
7341 2003-03-14 André Pönitz <poenitz@gmx.net>
7342
7343         * textclass.h: prepare for environment handling, ws changes
7344         * lyxlayout.C: read latexheader and latexfooter tags
7345
7346 2003-03-14  John Levon  <levon@movementarian.org>
7347
7348         * text2.C: rewrite ::status() a bit
7349
7350 2003-03-13  John Levon  <levon@movementarian.org>
7351
7352         * lyxtext.h: add some docs
7353
7354 2003-03-13  John Levon  <levon@movementarian.org>
7355
7356         * lyxtext.h:
7357         * text.C:
7358         * text2.C:
7359         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7360
7361 2003-03-13  John Levon  <levon@movementarian.org>
7362
7363         * text3.C: fix appendix redrawing
7364
7365 2003-03-13  John Levon  <levon@movementarian.org>
7366
7367         * text.C (setHeightOfRow):
7368         * rowpainter.h:
7369         * rowpainter.C: make appendix mark have the text
7370           "Appendix" so the user knows what it is
7371
7372         * LColor.h:
7373         * LColor.C: s/appendixline/appendix/ from above
7374
7375 2003-03-13  John Levon  <levon@movementarian.org>
7376
7377         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7378
7379         * text.C: fix a getChar(pos) bug properly
7380
7381 2003-03-13  Angus Leeming  <leeming@lyx.org>
7382
7383         * commandtags.h:
7384         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7385         Probably only temporary. Let's see how things pan out.
7386
7387         * BufferView.C (unlockInset):
7388         * BufferView_pimpl.C (fitCursor):
7389         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7390
7391         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7392         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7393
7394         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7395         new functions that convert ParagraphParameters to and from a string.
7396
7397         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7398         BufferView::Pimpl's dispatch.
7399         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7400
7401 2003-03-13 André Pönitz <poenitz@gmx.net>
7402
7403         * lyxfunc.C:
7404         * text3.C:
7405         * factory.C: make it aware of InsetEnv
7406
7407 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7408
7409         * text2.C (setCursor): never ask for one past last
7410         (setCursor): add some debugging messages.
7411
7412         * text.C (singleWidth): never ask for one past last
7413         (singleWidth): ditto
7414         (leftMargin): ditto
7415         (rightMargin): ditto
7416         (rowBreakPoint): ditto
7417         (setHeightOfRow): ditto
7418         (prepareToPrint): ditto
7419
7420         * rowpainter.C (paintBackground): never ask for one past last
7421         (paintText): never ask for one past last
7422
7423         * paragraph_pimpl.C (getChar): make the assert stricter, never
7424         allow the one past last pos to be taken
7425
7426         * paragraph.C (getChar): ws changes only
7427
7428         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7429         (numberOfSeparators): ditto
7430         (numberOfHfills): ditto
7431
7432 2003-03-12  John Levon  <levon@movementarian.org>
7433
7434         * author.h:
7435         * author.C:
7436         * bufferparams.h:
7437         * bufferparams.C:
7438         * paragraph_funcs.C: fix per-buffer authorlists
7439
7440 2003-03-12  John Levon  <levon@movementarian.org>
7441
7442         * text.C: fix newline in right address
7443
7444 2003-03-12  Angus Leeming  <leeming@lyx.org>
7445
7446         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7447         duplicate those in LyXFunc::dispatch.
7448
7449         * commandtags.h:
7450         * LyXAction.C:
7451         * ToolbarDefaults.C:
7452         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7453         Add LFUN_FONTFREE_UPDATE.
7454
7455         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7456         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7457
7458         * bufferview_func.[Ch]: several new functions to facilliate
7459         transfer of data to and from the character dialog.
7460
7461 2003-03-12  John Levon  <levon@movementarian.org>
7462
7463         * buffer.C:
7464         * paragraph.h:
7465         * paragraph.C:
7466         * paragraph_funcs.C:
7467         * paragraph_pimpl.C:
7468         * sgml.C:
7469         * tabular.C:
7470         * text.C:
7471         * text3.C: remove META_NEWLINE in favour of an inset
7472
7473         * rowpainter.h:
7474         * rowpainter.C: remove paintNewline (done by inset)
7475
7476 2003-03-12  John Levon  <levon@movementarian.org>
7477
7478         * paragraph_pimpl.C: complain about bad getChar()s
7479         for a while at least
7480
7481 2003-03-12  John Levon  <levon@movementarian.org>
7482
7483         * buffer.h:
7484         * buffer.C: move paragraph read into a separate function,
7485         a little renaming to reflect that.
7486
7487         * bufferparams.h:
7488         * bufferparams.C: remove the author_ids map, not necessary now
7489
7490         * factory.h:
7491         * factory.C: moved Buffer::readInset to here
7492
7493         * paragraph_funcs.h:
7494         * paragraph_funcs.C: readParagraph free function moved from
7495         buffer.C
7496
7497         * tabular.C: name change
7498
7499 2003-03-12  John Levon  <levon@movementarian.org>
7500
7501         * buffer.C:
7502         * ParagraphParameters.C: move par params input to
7503         a read() method
7504
7505         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7506         behave like a normal read from the stream wrt reading
7507         a line vs. a \\token
7508
7509 2003-03-12  John Levon  <levon@movementarian.org>
7510
7511         * paragraph.C:
7512         * ParagraphParameters.h:
7513         * ParagraphParameters.C: move output code to a
7514         ::write() method
7515
7516 2003-03-12  John Levon  <levon@movementarian.org>
7517
7518         * BufferView.C (insertLyXFile):
7519         * buffer.h:
7520         * buffer.C:
7521         * tabular.C: use a parlist iterator for creating the
7522           document.
7523
7524 2003-03-12  John Levon  <levon@movementarian.org>
7525
7526         * buffer.C: make current_change static local not
7527           static file-scope
7528
7529 2003-03-12  John Levon  <levon@movementarian.org>
7530
7531         * buffer.C: fix insertStringAsLines for change tracking
7532
7533 2003-03-12  John Levon  <levon@movementarian.org>
7534
7535         * BufferView.C:
7536         * tabular.C:
7537         * buffer.h:
7538         * buffer.C:
7539         * bufferparams.h:
7540         * bufferparams.C: move author list into params. Rename some
7541           functions. Move the header reading into a separate token
7542           loop. Move the header token reading into BufferParams.
7543
7544 2003-03-12  John Levon  <levon@movementarian.org>
7545
7546         * changes.C: put debug inside lyxerr.debugging() checks
7547
7548 2003-03-11 André Pönitz <poenitz@gmx.net>
7549
7550         * factory.C: make it aware of InsetHFill
7551
7552 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7553
7554         * buffer.C (latexParagraphs): move function from here...
7555         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7556         args.
7557
7558 2003-03-10  Angus Leeming  <leeming@lyx.org>
7559
7560         * LyXAction.C (init): fix bug in poplating array with multiple entries
7561         with the same LFUN (spotted by JMarc).
7562
7563 2003-03-10  John Levon  <levon@movementarian.org>
7564
7565         * text.C:
7566         * text2.C: move getColumnNearX() near its
7567         only call site
7568
7569 2003-03-10  John Levon  <levon@movementarian.org>
7570
7571         * text.C: fix break before a minipage
7572
7573 2003-03-10  John Levon  <levon@movementarian.org>
7574
7575         * text.C: fix the last commit
7576
7577 2003-03-09  John Levon  <levon@movementarian.org>
7578
7579         * lyxtext.h:
7580         * text.C:
7581         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7582         bug 365 (don't break before insets unless needed). Don't
7583         return a value > last under any circumstances.
7584
7585 2003-03-09  Angus Leeming  <leeming@lyx.org>
7586
7587         * BufferView_pimpl.C (trackChanges, dispatch): call
7588         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7589
7590 2003-03-09  Angus Leeming  <leeming@lyx.org>
7591
7592         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7593         than Dialogs::showAboutlyx().
7594
7595 2003-03-09  Angus Leeming  <leeming@lyx.org>
7596
7597         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7598         than Dialogs::showTabularCreate().
7599
7600 2003-03-09  John Levon  <levon@movementarian.org>
7601
7602         * lyxtext.h:
7603         * text.C:
7604         * text2.C: 3rd arg to nextBreakPoint was always the same.
7605           Use references.
7606
7607 2003-03-08  John Levon  <levon@movementarian.org>
7608
7609         * lyxrow.C:
7610         * paragraph.C:
7611         * paragraph.h:
7612         * rowpainter.C:
7613         * text.C:
7614         * text2.C: Remove the "main" bit from the "main body"
7615           notion.
7616
7617 2003-03-08  John Levon  <levon@movementarian.org>
7618
7619         * text.C (leftMargin): The left margin of an empty
7620         manual label paragraph should not include the label width
7621         string length.
7622
7623         * text.C (prepareToPrint): don't attempt to measure hfills
7624         for empty manual label paragraphs - the answer should be 0
7625
7626 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7627
7628         * CutAndPaste.C: remove commented code and reindent.
7629
7630 2003-03-08  John Levon  <levon@movementarian.org>
7631
7632         * lyxfunc.h:
7633         * lyxfunc.C: move reloadBuffer()
7634
7635         * BufferView.h:
7636         * BufferView.C: to here
7637
7638         * lyxvc.C: add comment
7639
7640         * vc-backend.h:
7641         * vc-backend.C: call bv->reload() to avoid
7642           getStatus() check on MENURELOAD
7643
7644 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7645
7646         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7647         to an old format .dep file.
7648
7649 2003-03-07  Angus Leeming  <leeming@lyx.org>
7650
7651         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7652         when the LFUN_MOUSE_RELEASE should have been handled by
7653         inset->localDispatch.
7654
7655 2003-03-07  Angus Leeming  <leeming@lyx.org>
7656
7657         * BufferView_pimpl.C (dispatch):
7658         * LyXAction.C (init):
7659         * ToolbarDefaults.C (init):
7660         * commandtags.h:
7661         * lyxfunc.C (getStatus):
7662         remove LFUN_INSET_GRAPHICS.
7663
7664         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7665
7666 2003-03-07  Angus Leeming  <leeming@lyx.org>
7667
7668         * commandtags.h:
7669         * LyXAction.C (init):
7670         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7671
7672         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7673
7674         * commandtags.h:
7675         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7676
7677         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7678         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7679
7680 2003-03-07  Angus Leeming  <leeming@lyx.org>
7681
7682         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7683         remove "ert".
7684
7685 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7686
7687         * ParagraphList.C (front): new function
7688         (back): implement
7689
7690 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7691
7692         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7693         and top_row_offset_. removed var first_y.
7694         * text.C (top_y):
7695         * text2.C (LyXText, removeRow):
7696         * text3.C:
7697         * BufferView_pimpl.C:
7698         use these methods instead of using first_y
7699
7700 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7701
7702         * text2.C (pasteSelection): adjust for checkPastePossible
7703
7704         * CutAndPaste.C: remove Paragraph * buf and replace with
7705         ParagraphList paragraphs.
7706         (DeleteBuffer): delete
7707         (cutSelection): change the tc type to textclass_type
7708         (copySelection): change the tc type to textclass_type
7709         (copySelection): adjust for ParagraphList
7710         (pasteSelection): change the tc type to textclass_type
7711         (pasteSelection): adjust for Paragraphlist
7712         (nrOfParagraphs): simplify for ParagraphList
7713         (checkPastePossible): simplify for ParagraphList
7714         (checkPastePossible): remove unused arg
7715
7716         * ParagraphList.C (insert): handle the case where there are no
7717         paragraphs yet.
7718
7719         * CutAndPaste.h: make CutAndPaste a namespace.
7720
7721         * text3.C (dispatch): adjust
7722
7723         * text.C (breakParagraph): add a ParagraphList as arg
7724
7725         * paragraph_funcs.C (breakParagraph): change to take a
7726         BufferParams and a ParagraphList as args.
7727         (breakParagraphConservative): ditto
7728         (mergeParagraph): ditto
7729         (TeXDeeper): add a ParagraphList arg
7730         (TeXEnvironment): ditto
7731         (TeXOnePar): ditto
7732
7733         * buffer.C (readLyXformat2): adjust
7734         (insertStringAsLines): adjust
7735         (latexParagraphs): adjust
7736
7737         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7738         (cutSelection): adjust
7739         (pasteSelection): adjust
7740
7741         * BufferView_pimpl.C (insertInset): adjust
7742
7743 2003-03-05  Angus Leeming  <leeming@lyx.org>
7744
7745         * commandtags.h:
7746         * LyXAction.C (init):
7747         * BufferView_pimpl.C (dispatch):
7748         * lyxfunc.C (getStatus):
7749         remove LFUN_CHILD_INSERT.
7750
7751         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7752
7753 2003-03-05  Angus Leeming  <leeming@lyx.org>
7754
7755         * commandtags.h:
7756         * LyXAction.C (init):
7757         * src/factory.C (createInset):
7758         * lyxfunc.C (getStatus):
7759         * text3.C (dispatch):
7760         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7761
7762         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7763
7764 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7765
7766         * ParagraphList.C (insert): handle insert right before end()
7767         (erase): fix cases where it can be first or last paragraph.
7768
7769 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7770
7771         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7772         Paragraph::next and Paragraph::previous
7773         (TeXOnePar): ditto
7774
7775         * text.C (breakParagraph): adjust
7776
7777         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7778         BufferParams& as arg.
7779         (breakParagraph): use ParagraphList::insert
7780         (breakParagraphConservative): take a Buffer* instead of a
7781         BufferParams& as arg.
7782         (breakParagraphConservative): use ParagraphList::insert.
7783
7784         * buffer.C (insertStringAsLines): un-const it
7785         (insertStringAsLines): adjust
7786
7787         * ParagraphList.C (insert): new function
7788
7789         * CutAndPaste.C (pasteSelection): adjust
7790
7791         * text.C (backspace): adjust
7792
7793         * tabular.C (SetMultiColumn): adjust
7794
7795         * CutAndPaste.C (cutSelection): adjust
7796         (pasteSelection): adjust
7797
7798         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7799         Buffer const * as arg
7800
7801         * ParagraphList.C (erase): new function
7802         * paragraph_funcs.C (mergeParagraph): use it
7803         (mergeParagraph): make it take a Buffer* instead of a
7804         BufferParams* as arg
7805
7806         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7807         as arg
7808         (breakParagraphConservative): ditto
7809
7810         * paragraph.h: remove the breakParagraph friend
7811
7812         * paragraph.C (eraseIntern): new function
7813         (setChange): new function
7814
7815         * paragraph_funcs.C (mergeParagraph): make it take a
7816         ParagraphList::iterator instead of a Paragraph *, adjust
7817         accordingly.
7818
7819         * paragraph.h: move an #endif so that the change tracking stuff
7820         also works in the NO_NEXT case.
7821
7822 2003-03-04  Angus Leeming  <leeming@lyx.org>
7823
7824         * commandtags.h:
7825         * LyXAction.C: new LFUN_INSET_MODIFY.
7826
7827         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7828         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7829
7830 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7831
7832         * several files: ws changes only
7833
7834         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7835         (TeXEnvironment): ditto
7836         (TeXDeeper): ditto
7837
7838         * buffer.C (makeLaTeXFile): adjust
7839         (latexParagraphs): make it take ParagraphList::iterator as args
7840
7841 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7842
7843         * buffer.C (latexParagraphs): adjust
7844
7845         * paragraph.C (TeXOnePar): move function...
7846         (optArgInset): move function...
7847         (TeXEnvironment): move function...
7848         * paragraph_pimpl.C (TeXDeeper): move function...
7849         * paragraph_funcs.C: ...here
7850
7851         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7852
7853 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7854
7855         * buffer.C (readInset): remove compability code for old Figure and
7856         InsetInfo insets
7857
7858 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7859
7860         * buffer.C: ws changes
7861         (readInset):
7862
7863         * BufferView_pimpl.C: ditto
7864         * author.C: ditto
7865         * buffer.h: ditto
7866         * bufferlist.h: ditto
7867         * changes.h: ditto
7868         * lyxfunc.C: ditto
7869
7870 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7871
7872         * converter.[Ch]: split into itself +
7873         * graph.[Ch]
7874         * format.[Ch]
7875         * Makefile.am: += graph.[Ch] + format.[Ch]
7876         * MenuBackend.C
7877         * buffer.C
7878         * exporter.C
7879         * importer.C
7880         * lyx_main.C
7881         * lyxfunc.C
7882         * lyxrc.C: added #include "format.h"
7883
7884 2003-02-27  Angus Leeming  <leeming@lyx.org>
7885
7886         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7887           a label.
7888
7889         * factory.C (createInset): add "label" to the factory.
7890
7891         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7892           string and do no more.
7893
7894 2003-02-27  Angus Leeming  <leeming@lyx.org>
7895
7896         * commandtags.h:
7897         * LyXAction.C (init):
7898         * factory.C (createInset):
7899         * BufferView_pimpl.C (dispatch):
7900           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7901
7902         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7903
7904         * lyxfunc.C (dispatch):
7905         * text3.C (dispatch): pass name to params2string.
7906
7907 2003-02-26  Angus Leeming  <leeming@lyx.org>
7908
7909         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7910           blocks together.
7911           Rearrange the ~includes. Strip out the unnecessary ones.
7912
7913         * factory.C (createInset): reformat.
7914           create new insets for the various LFUN_XYZ_APPLY lfuns.
7915
7916 2003-02-26  John Levon  <levon@movementarian.org>
7917
7918         * lyxrow.h:
7919         * lyxrow.C: add isParStart,isParEnd helpers
7920
7921         * paragraph.h: make isInserted/DeletedText take refs
7922
7923         * paragraph_funcs.h:
7924         * paragraph_funcs.C: remove #if 0'd code
7925
7926         * lyxtext.h:
7927         * text3.C:
7928         * text2.C:
7929         * text.C: use lyxrow helpers above.
7930           Move draw and paint routines to RowPainter.
7931           Make several methods use refs not pointers.
7932           Make backgroundColor() const.
7933           Add markChangeInDraw(), isInInset().
7934           Merge changeRegionCase into changeCase.
7935           Make workWidth() shouldn't-happen code into an Assert.
7936
7937         * rowpainter.h:
7938         * rowpainter.C: new class for painting a row.
7939
7940         * vspace.h:
7941         * vspace.C: make inPixels take a ref
7942
7943 2003-02-26  Angus Leeming  <leeming@lyx.org>
7944
7945         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7946         LFUN_REF_APPLY.
7947
7948 2003-02-25  John Levon  <levon@movementarian.org>
7949
7950         * ispell.C: give the forked command a more accurate name
7951
7952 2003-02-22  John Levon  <levon@movementarian.org>
7953
7954         * toc.h:
7955         * toc.C: make TocItem store an id not a Paragraph *
7956           (bug #913)
7957
7958 2003-02-21  Angus Leeming  <leeming@lyx.org>
7959
7960         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7961           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7962           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7963           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7964           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7965           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7966
7967         * BufferView_pimpl.C (dispatch):
7968         * LyXAction.C (init):
7969         * factory.C (createInset):
7970         * lyxfunc.C (getStatus, dispatch):
7971         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7972
7973 2003-02-21  Angus Leeming  <leeming@lyx.org>
7974
7975         * BufferView_pimpl.C (MenuInsertLyXFile):
7976         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7977         * lyxfunc.C (menuNew, open, doImport):
7978           no longer pass a LyXView & to fileDlg.
7979
7980 2003-02-21  Angus Leeming  <leeming@lyx.org>
7981
7982         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7983         * LyXAction.C: change, BIBKEY to BIBITEM.
7984         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7985         Change InsetBibKey to InsetBibitem.
7986         Change BIBKEY_CODE to BIBITEM_CODE.
7987         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7988         * factory.C: replace insetbib.h with insetbibitem.h.
7989         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7990         * paragraph.C: replace insetbib.h with insetbibitem.h.
7991         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7992         Change bibkey() to bibitem().
7993         * text.C: remove insetbib.h.
7994         * text2.C: replace insetbib.h with insetbibitem.h.
7995         change bibkey() to bibitem().
7996         * text3.C: remove insetbib.h.
7997         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7998
7999 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8000
8001         * lyxrc.C (output): enclose user email in quotes (in case there are
8002         several words)
8003
8004 2003-02-18  John Levon  <levon@movementarian.org>
8005
8006         * buffer.h: add std::
8007
8008 2003-02-17  John Levon  <levon@movementarian.org>
8009
8010         * SpellBase.h:
8011         * ispell.h:
8012         * ispell.C:
8013         * pspell.h:
8014         * pspell.C: reworking. Especially in ispell, a large
8015           number of clean ups and bug fixes.
8016
8017         * lyxfunc.C: fix revert to behave sensibly
8018
8019 2003-02-17 André Pönitz <poenitz@gmx.net>
8020
8021         * LyXAction.C:
8022         * commandtags.h: new LFUN_INSERT_BIBKEY
8023
8024         * layout.h:
8025         * lyxlayout.C:
8026         * buffer.C:
8027         * factory.C:
8028         * text.C:
8029         * text2.C:
8030         * text3.C:
8031         * paragraph.[Ch]:
8032         * paragraph_func.C: remove special bibkey handling
8033
8034 2003-02-17  John Levon  <levon@movementarian.org>
8035
8036         * text.C (Delete): fix case where delete at the end of
8037           the very first paragraph would not merge the pars
8038
8039 2003-02-17  John Levon  <levon@movementarian.org>
8040
8041         * lyxrow.C: fix lastPrintablePos()
8042
8043 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8044
8045         * bufferparams.C (writeLaTeX): add a std:here
8046
8047         * buffer.C: and remove a using directive there
8048
8049 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8050
8051         * buffer.C (makeLaTeXFile): move the code that generates the
8052           preamble...
8053
8054         * bufferparams.C (writeLaTeX): ... in this new method
8055
8056         * LaTeXFeatures.C (getEncodingSet): make const
8057           (getLanguages): make const
8058
8059         * MenuBackend.C (binding): returns the binding associated to this
8060           action
8061           (add): sets the status of each item by calling getStatus. Adds
8062           some intelligence.
8063           (read): add support for OptSubMenu
8064           (expand): remove extra separator at the end of expanded menu
8065
8066 2003-02-15  John Levon  <levon@movementarian.org>
8067
8068         * BufferView.C:
8069         * BufferView_pimpl.C:
8070         * bufferlist.h:
8071         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8072           inset code that had no actual effect. Remove unneeded status
8073           code.
8074
8075 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8076
8077         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8078           in preamble
8079
8080 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8081
8082         * text.C (drawLengthMarker): also draw an arrow marker for
8083           symbolic lengths (medskip...)
8084
8085 2003-02-14  John Levon  <levon@movementarian.org>
8086
8087         * tabular.h:
8088         * tabular.C: better method names
8089
8090 2003-02-14  John Levon  <levon@movementarian.org>
8091
8092         * BufferView_pimpl.C:
8093         * bufferlist.C:
8094         * buffer.C:
8095         * converter.C:
8096         * lyx_cb.C:
8097         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8098           it's a more accurate name. Remove some pointless uses.
8099
8100 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8101
8102         * text2.C (LyXText): change order of initilizers to shut off
8103           warnings
8104
8105 2003-02-14  John Levon  <levon@movementarian.org>
8106
8107         * buffer.C: use ParIterator for getParFromID()
8108
8109         * paragraph.h:
8110         * paragraph.C:
8111         * paragraph_pimpl.h:
8112         * paragraph_pimpl.C: remove unused getParFromID()
8113
8114 2003-02-14  John Levon  <levon@movementarian.org>
8115
8116         * buffer.C: remove some very old #if 0'd parse code
8117
8118 2003-02-13  John Levon  <levon@movementarian.org>
8119
8120         * text.h:
8121         * text.C:
8122         * text2.C: move hfillExpansion(), numberOfSeparators(),
8123           rowLast(), rowLastPrintable(), numberofHfills(),
8124           numberOfLabelHfills() ...
8125
8126         * lyxrow.h:
8127         * lyxrow.C: ... to member functions here.
8128
8129         * paragraph.h:
8130         * paragraph.C:
8131         * lyxtext.h:
8132         * text.C: remove LyXText::beginningOfMainBody(), and call
8133           p->beginningOfMainBody() directly. Move the check for
8134           LABEL_MANUAL into the latter.
8135
8136         * text.h:
8137         * text.C:
8138         * text2.C:
8139         * vspace.C:
8140         * BufferView.h:
8141         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8142
8143         * text.h:
8144         * text.C:
8145         * text2.C:
8146         * text3.C:
8147         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8148           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8149
8150 2003-02-13  John Levon  <levon@movementarian.org>
8151
8152         * CutAndPaste.C: remove debug
8153
8154 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8155
8156         * paragraph.C (asString): remove two unused variables
8157
8158         * lyxtextclass.C (readTitleType):
8159           (Read):
8160           (LyXTextClass): handle new members titletype_ and titlename_
8161
8162         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8163
8164 2003-02-09  John Levon  <levon@movementarian.org>
8165
8166         * buffer.h:
8167         * buffer.C: replace hand-coded list with a map for the dep clean
8168
8169 2003-02-08  John Levon  <levon@movementarian.org>
8170
8171         * LaTeX.C: consolidate code into showRunMessage() helper
8172
8173 2003-02-08  John Levon  <levon@movementarian.org>
8174
8175         * lyxfind.C:
8176         * lyxtext.h:
8177         * text2.C:
8178         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8179           and pass the size in explicitly
8180
8181         * BufferView_pimpl.h:
8182         * BufferView_pimpl.C:
8183         * BufferView.h:
8184         * BufferView.C: add getCurrentChange()
8185
8186         * BufferView_pimpl.h:
8187         * BufferView_pimpl.C: handle change lfuns
8188
8189         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8190           for changes. Mark pasted paragraphs as new.
8191
8192         * support/lyxtime.h:
8193         * support/lyxtime.C:
8194         * DepTable.C: abstract time_t as lyx::time_type
8195
8196         * LColor.h:
8197         * LColor.C: add colours for new text, deleted text, changebars
8198
8199         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8200           package use "usenames" option.
8201
8202         * commandtags.h:
8203         * lyxfunc.C:
8204         * LyXAction.C: add change lfuns
8205
8206         * Makefile.am:
8207         * author.h:
8208         * author.C: author handling
8209
8210         * buffer.h:
8211         * buffer.C: add a per-buffer author list, with first entry as
8212           current author. Handle new .lyx tokens for change tracking. Output
8213           author list to .lyx file. Output dvipost stuff to .tex preamble.
8214           Bump lyx format to 222.
8215
8216         * bufferlist.h:
8217         * bufferlist.C: add setCurrentAuthor() to reset current author details
8218           in all buffers.
8219
8220         * bufferparams.h:
8221         * bufferparams.C: add param for tracking
8222
8223         * bufferview_funcs.C: output change info in minibuffer
8224
8225         * Makefile.am:
8226         * changes.h:
8227         * changes.C: add change-tracking structure
8228
8229         * debug.h:
8230         * debug.C: add CHANGES debug flag
8231
8232         * lyxfind.h:
8233         * lyxfind.C: add code for finding the next change piece
8234
8235         * lyxrc.h:
8236         * lyxrc.C: add user_name and user_email
8237
8238         * lyxrow.h:
8239         * lyxrow.C: add a metric for the top of the text line
8240
8241         * lyxtext.h:
8242         * text.C: implement accept/rejectChange()
8243
8244         * lyxtext.h:
8245         * text.C: paint changebars. Paint new/deleted text in the chosen
8246         colours. Strike through deleted text.
8247
8248         * paragraph.h:
8249         * paragraph.C:
8250         * paragraph_pimpl.h:
8251         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8252           in the current change to the insert functions. Rework erase to
8253           mark text as deleted, adding an eraseIntern() and a range-based
8254           erase(). Implement per-paragraph change lookup and
8255           accept/reject.
8256
8257         * paragraph_funcs.C: Fixup paste for change tracking.
8258
8259         * tabular.C: mark added row/columns as new.
8260
8261         * text.C: fix rowLast() to never return -1. Don't allow
8262           spellchecking of deleted text. Track transpose changes. Don't
8263           allow paragraph break or merge where appropriate.
8264
8265         * text2.C: leave cursor at end of selection after a cut.
8266
8267 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8268
8269         * text.C (getLengthMarkerHeight):
8270         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8271         visible on screen too.
8272
8273 2003-02-07  John Levon  <levon@movementarian.org>
8274
8275         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8276
8277 2003-02-05  Angus Leeming  <leeming@lyx.org>
8278
8279         * lyxserver.C (read_ready): revert my patch of 11 September last year
8280         as it sends PC cpu through the roof. Presumably this means that
8281         the lyxserver will no longer run on an Alpha...
8282
8283 2003-01-30  Angus Leeming  <leeming@lyx.org>
8284
8285         * factory.C (createInset): create an InsetCommandParam of type "index"
8286         and use it to 'do the right thing'.
8287
8288         * text2.C (getStringToIndex): ensure that cursor position is always
8289         reset to the reset_cursor position.
8290
8291 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8292
8293         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8294         disabled.
8295
8296 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8297
8298         * bufferview.C:
8299         * lyxcb.C:
8300         * lyxfunc.C: Output messages with identical spelling, punctuation,
8301         and spaces
8302
8303 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8304
8305         * MenuBackend.C (expandFormats): List only viewable export formats
8306         in "View" menu
8307
8308         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8309         message
8310
8311         * lyxfunc.C (getStatus): Make sure that formats other than
8312         "fax" can also be disabled
8313
8314 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8315
8316         * text3.C (dispatch): put the lfuns that insert insets in 3
8317         groups, and call doInsertInset with appropriate arguments.
8318         (doInsertInset): new function, that creates an inset and inserts
8319         it according to some boolean parameters.
8320
8321 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8322
8323         * buffer.C (readFile): remember to pass on 'par' when calling
8324         readFile recursively.
8325
8326 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8327
8328         * MenuBackend.C (expandFormats): add "..." to import formats.
8329
8330 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8331
8332         * paragraph.C (asString): Remove XForms RTL hacks.
8333
8334 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8335         * buffer.C: fix typo
8336
8337 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8338
8339         * Makefile.am (LIBS): delete var
8340         (lyx_LDADD): add @LIBS@ here instead.
8341
8342 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8343
8344         * Clarify the meaning of "wheel mouse jump"
8345
8346 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8347
8348         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8349         tabular in a float
8350
8351 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8352
8353         * importer.C (Loaders): do not preallocate 3 elements in the
8354         vector, since one ends up with 6 elements otherwise
8355
8356 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8357
8358         * DepTable.C (write): write the file name as last element of the
8359         .dep file (because it may contain spaces)
8360         (read): read info in the right order
8361
8362 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8363
8364         * paragraph_pimpl.C (simpleTeXBlanks):
8365         (simpleTeXSpecialChars):
8366         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8367
8368         * tabular.C (latex): add some missing case statements. Reindent.
8369
8370         * MenuBackend.C (expandToc): remove unused variable.
8371
8372 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8373
8374         * LColor.C:
8375         * LaTeX.C:
8376         * LyXAction.C:
8377         * MenuBackend.C:
8378         * buffer.C:
8379         * exporter.C:
8380         * lyxfunc.C:
8381         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8382         and the like.
8383
8384 2003-01-05  John Levon  <levon@movementarian.org>
8385
8386         * BufferView.h:
8387         * BufferView.C: add getEncoding()
8388
8389         * kbsequence.h:
8390         * kbsequence.C: do not store last keypress
8391
8392         * lyxfunc.h:
8393         * lyxfunc.C: store last keypress here instead. Pass encoding
8394           to getISOEncoded()
8395
8396 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8397
8398         * lyx_main.C (init): remove annoying error message when following
8399         symbolic links (bug #780)
8400
8401 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8402
8403         * text.C (insertChar):
8404         * lyxrc.C (getDescription): remove extra spaces
8405
8406 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8407
8408         * lyxrc.C (getDescription): remove extra spaces
8409
8410 2002-12-20  John Levon  <levon@movementarian.org>
8411
8412         * text3.C: hack fix for page up/down across tall rows
8413
8414 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8415
8416         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8417         not been invoked
8418
8419 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8420
8421         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8422         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8423         thesaurus is not compiled in
8424
8425 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8426
8427         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8428
8429 2002-12-16  Angus Leeming  <leeming@lyx.org>
8430
8431         * lyxrc.[Ch]:
8432         * lyx_main.C (init): remove override_x_deadkeys stuff.
8433
8434 2002-12-12  John Levon  <levon@movementarian.org>
8435
8436         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8437           insert. Only remove shift modifier under strict
8438           circumstances.
8439
8440 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8441
8442         * MenuBackend.C (expandToc): fix crash.
8443
8444 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8445
8446         * MenuBackend.C (expandToc): gettext on float names.
8447
8448 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8449
8450         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8451         implement bool empty() [bug 490]
8452
8453 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8454
8455         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8456
8457 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8458
8459         * several files: ws changes
8460
8461 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8462
8463         * text2.C (setCounter): clean up a bit, use boost.format.
8464         (updateCounters): initialize par upon declaration.
8465
8466         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8467         if the layout exists. We do not just store the layout any more.
8468         (SwitchLayoutsBetweenClasses): use boost.format
8469
8470 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8471
8472         * converter.C (convert): if from and to files are the same, use a
8473         temporary files as intermediary
8474
8475 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8476
8477         * commandtags.h:
8478         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8479
8480 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8481
8482         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8483
8484 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8485
8486         * tabular.C (asciiPrintCell): use string(size, char) instead of
8487         explicit loop.
8488
8489         * sgml.C (openTag): fix order of arguments to string constructor
8490         (closeTag): ditto
8491
8492         * lyxfunc.C (dispatch): use boost.format
8493
8494         * lots of files: change "c" -> 'c'
8495
8496 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8497
8498         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8499
8500 2002-11-25  Angus Leeming  <leeming@lyx.org>
8501
8502         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8503
8504         * lyx_main.C (init): compile fix.
8505
8506 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8507
8508         * lyx_cb.C (start): boost.formatify
8509         do not include <iostream>
8510
8511         * lengthcommon.C: ws only
8512
8513         * boost-inst.C,BoostFormat.h: add more explict instantations
8514
8515 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8516
8517         * lots of files: handle USE_BOOST_FORMAT
8518
8519 2002-11-21  John Levon  <levon@movementarian.org>
8520
8521         * pspell.C: fix compile
8522
8523 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8524
8525         * lyxfunc.C (dispatch): use boost::format
8526         (open): ditto
8527         (doImport): ditto
8528
8529         * lyxfont.C (stateText): use boost::format
8530
8531         * lyx_main.C (LyX): use boost::format
8532         (init): ditto
8533         (queryUserLyXDir): ditto
8534         (readRcFile): ditto
8535         (parse_dbg): ditto
8536         (typedef boost::function): use the recommened syntax.
8537
8538         * importer.C (Import): use boost::format
8539
8540         * debug.C (showLevel): use boost::format
8541
8542         * converter.C (view): use boost::format
8543         (convert): ditto
8544         (move): ditto
8545         (scanLog): ditto
8546
8547         * bufferview_funcs.C (currentState): use boost::format
8548
8549         * bufferlist.C (emergencyWrite): use boost::format
8550
8551         * buffer.C (readLyXformat2): use boost::format
8552         (parseSingleLyXformat2Token): ditto
8553
8554         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8555
8556         * LaTeX.C (run): use boost::format
8557
8558         * Chktex.C (scanLogFile): use boost::format
8559
8560         * BufferView_pimpl.C (savePosition): use boost::format
8561         (restorePosition): ditto
8562         (MenuInsertLyXFile): ditto
8563
8564         * BoostFormat.h: help file for explicit instation.
8565
8566 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8567
8568         * tabular.C (latex): Support for block alignment in fixed width
8569         columns.
8570
8571 2002-11-17  John Levon  <levon@movementarian.org>
8572
8573         * BufferView_pimpl.C:
8574         * lyx_cb.C:
8575         * lyxfunc.C: split filedialog into open/save
8576
8577 2002-11-08  Juergen Vigna  <jug@sad.it>
8578
8579         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8580         by my last patch (hopefully).
8581
8582 2002-11-08  John Levon  <levon@movementarian.org>
8583
8584         * iterators.h:
8585         * iterators.C:
8586         * buffer.h:
8587         * buffer.C:
8588         * paragraph.h:
8589         * paragraph.C:
8590         * toc.h:
8591         * toc.C: ParConstIterator, and use it (from Lars)
8592
8593 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8594
8595         * lyxtextclass.[Ch]: revise and add doxygen comments
8596
8597 2002-11-07  John Levon  <levon@movementarian.org>
8598
8599         * text.C: fix progress value for spellchecker
8600
8601         * toc.C: fix navigate menu for insetwrap inside minipage
8602
8603         * paragraph_funcs.C: added FIXME for suspect code
8604
8605 2002-11-07  John Levon  <levon@movementarian.org>
8606
8607         * BufferView_pimpl.C: fix redrawing of insets
8608           on buffer switch
8609
8610 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8611
8612         * text2.C (updateCounters): fix bug 668
8613
8614 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8615
8616         * text3.C (dispatch): Do not make the buffer dirty when moving the
8617         cursor.
8618
8619 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8620
8621         * vc-backend.C: STRCONV
8622         (scanMaster): ditto
8623
8624         * text2.C (setCounter): STRCONV
8625
8626         * paragraph.C (asString): STRCONV
8627
8628         * lyxlength.C (asString): STRCONV
8629         (asLatexString): ditto
8630
8631         * lyxgluelength.C (asString): STRCONV
8632         (asLatexString): ditto
8633
8634         * lyxfunc.C (dispatch): STRCONV
8635         (open): ditto
8636
8637         * lyxfont.C (stateText): STRCONV
8638
8639         * importer.C (Import): STRCONV
8640
8641         * counters.C (labelItem): STRCONV
8642         (numberLabel): ditto
8643         (numberLabel): remove unused ostringstream o
8644
8645         * chset.C: STRCONV
8646         (loadFile): ditto
8647
8648         * bufferview_funcs.C (currentState): STRCONV
8649
8650         * buffer.C (readFile): STRCONV
8651         (asciiParagraph): ditto
8652         (makeLaTeXFile): ditto
8653
8654         * Spacing.C (writeEnvirBegin): STRCONV
8655
8656         * LaTeXFeatures.C (getLanguages): STRCONV
8657         (getPackages): ditto
8658         (getMacros): ditto
8659         (getBabelOptions): ditto
8660         (getTClassPreamble): ditto
8661         (getLyXSGMLEntities): ditto
8662         (getIncludedFiles): ditto
8663
8664         * LaTeX.C: STRCONV
8665         (run): ditto
8666         (scanAuxFile): ditto
8667         (deplog): ditto
8668
8669         * LString.h: add the STRCONV macros
8670
8671         * BufferView_pimpl.C (savePosition): STRCONV
8672         (restorePosition): ditto
8673         (MenuInsertLyXFile): ditto
8674
8675         * vc-backend.C (scanMaster): change from submatch[...] to
8676         submatch.str(...)
8677
8678         * funcrequest.C: include config.h
8679
8680         * factory.C: include config.h
8681
8682         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8683
8684         * box.C: include config.h
8685
8686         * LaTeX.C (scanAuxFile): change from submatch[...] to
8687         submatch.str(...)
8688         (deplog): ditto
8689
8690 2002-10-25  Angus Leeming  <leeming@lyx.org>
8691
8692         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8693
8694         * ispell.[Ch] (setError): new method.
8695         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8696         Use setError() insetead of goto END.
8697
8698         * lyx_cb.C (AutoSave): move out child process into new class
8699         AutoSaveBuffer.
8700
8701 2002-10-30  John Levon  <levon@movementarian.org>
8702
8703         * text3.C: make start appendix undoable
8704
8705 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8706
8707         * lyxlength.C (inPixels): Fix returned value.
8708
8709         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8710         environment.
8711
8712 2002-10-24  Angus Leeming  <leeming@lyx.org>
8713
8714         * lyxgluelength.h: no need to forward declare BufferParams
8715         or BufferView, so don't.
8716
8717 2002-10-21  John Levon  <levon@movementarian.org>
8718
8719         * BufferView.C: menuUndo ->undo, redo
8720
8721         * BufferView.h: document, remove dead, make some methods private
8722
8723         * paragraph_funcs.h:
8724         * paragraph_funcs.C:
8725         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8726
8727         * buffer.h:
8728         * buffer.C:
8729         * sgml.h:
8730         * sgml.C: move sgml open/close tag into sgml.C
8731
8732         * bufferview_funcs.h: unused prototype
8733
8734         * lyxfunc.h:
8735         * lyxfunc.C: remove unused
8736
8737         * lyxtext.h:
8738         * text.C: remove unused
8739
8740 2002-10-21  John Levon  <levon@movementarian.org>
8741
8742         * BufferView.h:
8743         * BufferView.C:
8744         * BufferView_pimpl.h:
8745         * BufferView_pimpl.C: fix mouse wheel handling based on
8746           patch from Darren Freeman
8747
8748 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8749
8750         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8751
8752 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8753
8754         * lyxlength.C (inPixels): Fix hanfling of negative length.
8755         Fix LyXLength::MU case.
8756
8757 2002-10-16  John Levon  <levon@movementarian.org>
8758
8759         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8760
8761 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8762
8763         * converter.C (view): add support for $$i (file name) and $$p
8764         (file path) for the viewer command. If $$i is not specified, then
8765         it is appended to the command (for compatibility with old syntax)
8766
8767 2002-10-14  Juergen Vigna  <jug@sad.it>
8768
8769         * undo_funcs.C (textHandleUndo): alter the order in which the
8770         new undopar is added to the LyXText, as we have to set first
8771         the right prev/next and then add it as otherwise the rebuild of
8772         LyXText is not correct. Also reset the cursor to the right paragraph,
8773         with this IMO we could remove the hack in "redoParagraphs()".
8774
8775 2002-10-09  Angus Leeming  <leeming@lyx.org>
8776
8777         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8778         to turn off an optimisation if a new inset is to be inserted.
8779
8780 2002-10-11 André Pönitz <poenitz@gmx.net>
8781
8782         * lyxtext.h: make some functions public to allow access
8783         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8784
8785 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8786
8787         * text3.C (dispatch): when changing layout, avoid an infinite loop
8788         [bug #652]
8789
8790 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8791
8792         * lyxrc.C (read): treat a viewer or converter command of "none" as
8793         if it were empty.
8794
8795         * MenuBackend.C (expandFormats): for an update, also allow the
8796         formats that are not viewable
8797
8798         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8799         script if it is newer than the lyxrc.defaults in user directory
8800
8801 2002-10-07 André Pönitz <poenitz@gmx.net>
8802
8803         * text.C: Vitaly Lipatov's small i18n fix
8804
8805 2002-09-25  Angus Leeming  <leeming@lyx.org>
8806
8807         * ispell.h: doxygen fix.
8808
8809 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8810
8811         * buffer.h (readFile): Add a new argument to the method, to allow
8812         reading of old-format templates.
8813
8814 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8815
8816         * toc.C (getTocList): Get TOC from InsetWrap.
8817
8818 2002-09-16  John Levon  <levon@movementarian.org>
8819
8820         * lyxfunc.C: check tabular for cut/copy too
8821
8822 2002-09-12  John Levon  <levon@movementarian.org>
8823
8824         * LyXAction.C: tidy
8825
8826         * factory.h:
8827         * factory.C: add header
8828
8829         * paragraph_funcs.h:
8830         * paragraph_funcs.C: cleanup
8831
8832 2002-09-11  John Levon  <levon@movementarian.org>
8833
8834         * PrinterParams.h: odd/even default to true
8835
8836 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8837
8838         * PrinterParams.h: update printer parameters for new xforms dialog
8839
8840 2002-09-11  Angus Leeming  <leeming@lyx.org>
8841
8842         * lyxserver.C (read_ready): re-write to make it more transparent
8843         and to make it work in coherent fashion under Tru64 Unix.
8844
8845 2002-09-11  André Pönitz <poenitz@gmx.net>
8846
8847         * commandtags.h:
8848         * LyXAction.C:
8849         * text3.C: implement LFUN_WORDSEL
8850
8851 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8852
8853         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8854         make floatlist_ a boost::shared_ptr<FloatList>
8855
8856         * lyxtextclass.C: include FloatList.h
8857         (LyXTextClass): initialize floatlist_
8858         (TextClassTags): add TC_NOFLOAT
8859         (Read): match "nofloat" to TC_NOFLOAT and use it.
8860         (readFloat): modify call to floatlist_
8861         (floats): ditto
8862         (floats): ditto
8863
8864         * FloatList.[Ch] (FloatList): remove commented out float
8865         initialization.
8866         (erase): new function
8867
8868 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8869
8870         * MenuBackend.C (expandToc): fix crash when there is no document
8871         open
8872
8873 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8874
8875         * many files: Add insetwrap.
8876
8877 2002-09-09  John Levon  <levon@movementarian.org>
8878
8879         * text2.C: remove confusing and awkward depth wraparound
8880
8881 2002-09-09  John Levon  <levon@movementarian.org>
8882
8883         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8884
8885         * buffer.h:
8886         * buffer.C: remove getIncludeonlyList()
8887
8888         * paragraph.C:
8889         * lyxfunc.C: remove headers
8890
8891 2002-09-09  Juergen Vigna  <jug@sad.it>
8892
8893         * text.C (getColumnNearX): fix form Michael this is most
8894         probably a cut&paste bug.
8895
8896 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8897
8898         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8899
8900         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8901         references, ws changes.
8902
8903         * text2.C (init): update counters after init
8904         (insertParagraph): no need to set counter on idividual paragraphs.
8905         (setCounter): access the counters object in the textclass object
8906         on in the buffer object.
8907         (updateCounters): ditto
8908
8909         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8910         shared_ptr<Counters> to avoid loading counters.h in all
8911         compilation units.
8912         (LyXTextClass): initialize ctrs_
8913         (TextClassTags): add TC_COUNTER, and ...
8914         (Read): use it here.
8915         (CounterTags): new tags
8916         (readCounter): new function
8917         (counters): new funtion
8918         (defaultLayoutName): return a const reference
8919
8920         * counters.C (Counters): remove contructor
8921         (newCounter): remove a couple of unneeded statements.
8922         (newCounter): simplify a bit.
8923         (numberLabel): some small formatting changes.
8924
8925         * buffer.[Ch]: remove all traces of counters, move the Counters
8926         object to the LyXTextClass.
8927
8928 2002-09-06  Alain Castera  <castera@in2p3.fr>
8929
8930         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8931         package to set the horizontal alignment on fixed width columns.
8932
8933         * lyx_sty.C:
8934         * lyx_sty.h: added tabularnewline macro def.
8935
8936         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8937
8938 2002-09-06  John Levon  <levon@movementarian.org>
8939
8940         * LyXAction.C: tooltips for sub/superscript
8941
8942         * MenuBackend.C: a bit more verbose
8943
8944         * lyxfunc.C: tiny clean
8945
8946         * undo_funcs.C: document undo_frozen
8947
8948 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8949
8950         * counters.C (Counters): add missing algorithm counter.
8951
8952         * text2.C (setCounter): lookup the counter with layouts latexname
8953         instead of by section number.
8954         (setCounter): use a hackish way to lookup the correct enum
8955         counter.
8956         a float name->type change
8957         reset enum couners with counter name directly instead of depth value.
8958
8959         * counters.C (Counters): remove the push_backs, change to use the
8960         float type not the float name.
8961         (labelItem): remove unused string, float name->type change
8962
8963         * counters.h: don't include vector, loose the enums and sects vectors
8964
8965 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8966
8967         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8968         (Read): add float->TC_FLOAT to textclassTags
8969         (Read): and handle it in the switch
8970         (readFloat): new function
8971
8972         * FloatList.C (FloatList): comment out the hardcoded float
8973         definitions.
8974
8975         * lyxlayout.h: ws change.
8976
8977 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8978
8979         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8980
8981 2002-09-03  Angus Leeming  <leeming@lyx.org>
8982
8983         * BufferView_pimpl.h: qualified name is not allowed in member
8984         declaration: WorkArea & Pimpl::workarea() const;
8985
8986         * factory.C: added using std::endl directive.
8987
8988         * text3.C: added using std::find and std::vector directives.
8989
8990 2002-08-29  André Pönitz <poenitz@gmx.net>
8991
8992         * lyxtext.h:
8993         * text2.C: remove unused member number_of_rows
8994
8995         * Makefile.am:
8996         * BufferView2.C: remove file, move contents to...
8997         * BufferView.C: ... here
8998
8999         * BufferView_pimpl.C:
9000         * factory.C: move more inset creation to factory
9001
9002         * vspace.C: avoid direct usage of LyXText, ws changes
9003
9004         * BufferView.[Ch]:
9005                 don't provide direct access to WorkArea, use two simple
9006                 acessors haveSelction() and workHeight() instead
9007
9008
9009 2002-08-29  John Levon  <levon@movementarian.org>
9010
9011         * BufferView_pimpl.C (dispatch): do not continue when
9012           no buffer
9013
9014 2002-08-28  André Pönitz <poenitz@gmx.net>
9015
9016         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9017
9018         * BufferView.h:
9019         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9020
9021 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9022
9023         * buffer.C: increment LYX_FORMAT to 221
9024
9025         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9026         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9027
9028         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9029
9030         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9031
9032 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9033
9034         * factory.C (createInset): use LyXTextClass::floats
9035
9036         * MenuBackend.C (expandFloatListInsert):
9037         (expandFloatInsert):
9038         (expandToc):
9039
9040         * text2.C (setCounter):
9041
9042         * LaTeXFeatures.C (useFloat):
9043         (getFloatDefinitions):
9044
9045         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9046
9047         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9048         floatlist_, with accessor floats().
9049
9050         * FloatList.h: remove global FloatList
9051
9052 2002-08-26  André Pönitz <poenitz@gmx.net>
9053
9054         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9055
9056         * BufferView.h:
9057         * BufferView2.C:
9058         * BufferView_pimpl.C:
9059         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9060
9061 2002-08-25  John Levon  <levon@movementarian.org>
9062
9063         * LyXAction.C: fix margin note description
9064
9065 2002-08-24  John Levon  <levon@movementarian.org>
9066
9067         * buffer.C:
9068         * bufferlist.C:
9069         * bufferview_funcs.C:
9070         * lyxfont.C:
9071         * undo_funcs.C: cleanups
9072
9073         * lyxfunc.C: disable CUT/COPY when no selection
9074
9075 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9076
9077         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9078         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9079
9080         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9081         Add backward compatibility to "mono", "gray" and "no".
9082
9083 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9084
9085         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9086         (and file_format >= 200).
9087
9088 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9089
9090         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9091
9092 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9093
9094         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9095
9096 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9097
9098         * BufferView_pimpl.C:
9099         * LyXAction.C:
9100         * buffer.C:
9101         * commandtags.h:
9102         * lyxfunc.C:
9103         * paragraph.[Ch]:
9104         * text2.C:
9105         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9106         inset and code to make it  work with the paragraph code. The inset
9107         can be anywhere in the paragraph, but will only do the expected
9108         thing in LaTeX if the layout file contains the parameter line
9109                         OptionalArgs    1
9110         (or more generally, a nonzero value) for that layout.
9111
9112 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9113
9114         * paragraph.h: remove the declaration of undefined counters class
9115         function.
9116
9117 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9118
9119         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9120         Dr. Richard Hawkins.
9121
9122 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9123
9124         * paragraph_funcs.h: remove some unneeded includes
9125
9126         * text.C (backspace): pasteParagraph now in global scipe
9127
9128         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9129         (pasteSelection): ditto
9130
9131         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9132         * paragraph_funcs.C (pasteParagraph): ... here
9133
9134 2002-08-20  André Pönitz <poenitz@gmx.net>
9135
9136         * commandtags.h: new LFUNs for swapping/copying table row/colums
9137
9138         * LyXAction.C:
9139         * lyxfunc.C: support for new lfuns
9140
9141 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9142
9143         * tabular.C:
9144         * buffer.[Ch]: remove NO_COMPABILITY stuff
9145
9146 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9147
9148         * boost.C (throw_exception): new file, with helper function for
9149         boost compiled without exceptions.
9150
9151         * paragraph.h:
9152         * lyxlength.C:
9153         * buffer.C:
9154         * ParameterStruct.h:
9155         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9156
9157         * bufferlist.C (emergencyWriteAll): use boost bind
9158
9159         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9160
9161         * text.C: include paragraph_funcs.h
9162         (breakParagraph): breakParagraph is now in global scope
9163
9164         * paragraph_funcs.[Ch]: new files
9165
9166         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9167         global scope
9168
9169         * buffer.C: include paragraph_funcs.h
9170         (insertStringAsLines): breakParagraph is now in global scope
9171
9172         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9173         paragraph_funcs.C
9174
9175         * CutAndPaste.C: include paragraph_funcs.h
9176         (cutSelection): breakParagraphConservative is now in global scope
9177         (pasteSelection): ditto
9178
9179         * buffer.h: declare oprator== and operator!= for
9180         Buffer::inset_iterator
9181
9182         * bufferlist.C (emergencyWrite): don't use fmt(...)
9183
9184         * text3.C: add using std::endl
9185
9186         * BufferView.C (moveCursorUpdate): remove default arg
9187
9188 2002-08-20  André Pönitz <poenitz@gmx.net>
9189
9190         * buffer.[Ch]: move inline functions to .C
9191
9192         * BufferView2.C:
9193         * BufferView_pimpl.C:
9194         * text.C:
9195         * buffer.[Ch]: use improved inset_iterator
9196
9197         * buffer.C:
9198         * paragraph.[Ch]: write one paragraph at a time
9199
9200 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9201
9202         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9203         style if style is not specified.
9204
9205 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9206
9207         * text2.C (setCounter): when searching for right label for a
9208         caption, make sure to recurse to parent insets (so that a caption
9209         in a minipage in a figure float works) (bug #568)
9210
9211 2002-08-20  André Pönitz <poenitz@gmx.net>
9212
9213         * text3.C: new file for LyXText::dispatch() and helpers
9214
9215         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9216
9217         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9218
9219 2002-08-19  André Pönitz <poenitz@gmx.net>
9220
9221         * lyxtext.h:
9222         * text.C: new LyXText::dispatch()
9223
9224         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9225
9226 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9227
9228         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9229
9230         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9231         Hebrew text.
9232
9233 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9234
9235         * Makefile.am: use $(variables) instead of @substitutions@
9236
9237 2002-08-15  André Pönitz <poenitz@gmx.net>
9238
9239         * lyxfunc.C:
9240         * BufferView_pimpl.C: streamlining mathed <-> outer world
9241         interaction
9242
9243         * commandtags.h:
9244         * LyXAction.C: remove unused LFUN_MATH
9245
9246 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9247
9248         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9249
9250 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9251
9252         * paragraph.C (Paragraph): reformat a bit
9253         (cutIntoMinibuffer): use builtin InsetList function instad of
9254         doing it manually.
9255         (getInset): ditto
9256
9257         * buffer.C: include boost/bind.hpp, add using std::for_each
9258         (writeFileAscii): use ParagraphList iterators
9259         (validate): use for_each for validate traversal of paragraphs
9260         (getBibkeyList): use ParagraphList iterators
9261         (resizeInsets): use for_each to resizeInsetsLyXText for all
9262         paragraphs.
9263         (getParFromID): use ParagraphList iterators
9264
9265         * BufferView2.C (lockInset): use paragraph list and iterators
9266
9267 2002-08-14  John Levon  <levon@movementarian.org>
9268
9269         * lyxserver.C: remove spurious xforms include
9270
9271 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9272
9273         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9274
9275 2002-08-13  André Pönitz <poenitz@gmx.net>
9276
9277         * LyXAction.[Ch]:
9278         * lyxfunc.C: further cleaning
9279
9280 2002-08-13  André Pönitz <poenitz@gmx.net>
9281
9282         * funcrequest.h: new constructor
9283
9284         * funcrequest.C: move stuff here from .h
9285
9286         * Makefile.am:
9287         * BufferView_pimpl.C:
9288         * LyXAction.C:
9289         * toc.C:
9290         * lyxfunc.C: subsequent changes
9291
9292         * lyxfunc.h: new view() member function
9293
9294         * lyxfunc.C: subsequent changes
9295
9296 2002-08-13  Angus Leeming  <leeming@lyx.org>
9297
9298         * BufferView2.C:
9299         * BufferView_pimpl.C:
9300         * buffer.C:
9301         * converter.C:
9302         * importer.C:
9303         * lyxfunc.C:
9304         * lyxvc.C:
9305         * toc.C:
9306         * vc-backend.C:
9307         changes due to the changed LyXView interface that now returns references
9308         to member variables not pointers.
9309
9310 2002-08-13  Angus Leeming  <leeming@lyx.org>
9311
9312         * WordLangTuple (word, lang_code): return references to strings,
9313         not strings.
9314
9315         * BufferView.h:
9316         * SpellBase.h:
9317         * lyxtext.h: forward-declare WordLangTuple.
9318
9319         * BufferView2.C:
9320         * ispell.C:
9321         * pspell.C:
9322         * text.C: #include "WordLangTuple.h".
9323
9324         * lyxtext.h:
9325         * text.C: (selectNextWordToSpellcheck): constify return type.
9326
9327 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9328
9329         * buffer.C:
9330         * buffer.h:
9331         * lyxtext.h:
9332         * paragraph.C:
9333         * paragraph_pimpl.h:
9334         * text.C:
9335         * text2.C:
9336         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9337         suggested by Angus.
9338         Made updateCounter always count from start of buffer, and removed
9339         second argument (par).
9340         Reverted floats number display to '#'. Perhaps I'll try again when the
9341         code base is sanitized a bit.
9342
9343 2002-08-12  Angus Leeming  <leeming@lyx.org>
9344
9345         * buffer.[Ch] (getLabelList): constify.
9346
9347 2002-08-07  André Pönitz <poenitz@gmx.net>
9348
9349         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9350
9351         * funcrequest.h: extension to keep mouse (x,y) position
9352
9353 2002-08-12  Juergen Vigna  <jug@sad.it>
9354
9355         * BufferView2.C (insertErrors): forbid undo when inserting error
9356         insets.
9357
9358         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9359
9360 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9361
9362         * ParagraphList.[Ch]: new files
9363
9364         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9365
9366         * BufferView2.C (lockInset): ParagraphList changes
9367         * toc.C: ditto
9368         * text2.C: ditto
9369         * bufferlist.C: ditto
9370         * buffer.h: ditto
9371         * buffer.C: ditto
9372
9373 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9374
9375         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9376         unused class variable counter_,
9377
9378         * paragraph.[Ch] (getFirstCounter): delete unused function
9379
9380         * counters.C: include LAssert.h
9381         (reset): add a new function with no arg, change other version to
9382         not have def. arg and to not allow empty arg.
9383
9384         * text2.C (setCounter): remove empty arg from call to Counters::reset
9385
9386 2002-08-11  John Levon  <levon@movementarian.org>
9387
9388         * Makefile.am: add WordLangTuple.h
9389
9390 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9391
9392         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9393         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9394
9395         * insets/insettext.C: InsetList changes
9396
9397         * graphics/GraphicsSupport.C (operator()): InsetList changes
9398
9399         * toc.C (getTocList): InsetList changes
9400
9401         * paragraph_pimpl.[Ch]: InsetList changes
9402
9403         * paragraph.[Ch]: InsetList changes
9404
9405         * buffer.C (inset_iterator): InsetList changes
9406         (setParagraph): ditto
9407         * buffer.h (inset_iterator): ditto
9408         * iterators.C (operator++): ditto
9409         * iterators.h: ditto
9410
9411         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9412
9413         * InsetList.[Ch]: new files, most InsetList handling moved out of
9414         paragraph.C.
9415
9416         * BufferView2.C (removeAutoInsets): InsetList changes
9417         (lockInset): ditto
9418         (ChangeInsets): ditto
9419
9420 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9421
9422         * paragraph_pimpl.h (empty): new function
9423
9424         * paragraph.[Ch] (empty): new function
9425
9426         * other files: use the new Paragraph::empty function
9427
9428 2002-08-09  John Levon  <levon@movementarian.org>
9429
9430         * lyxtext.h: remove unused refresh_height
9431
9432 2002-08-09  John Levon  <levon@movementarian.org>
9433
9434         * Makefile.am:
9435         * sgml.h:
9436         * sgml.C:
9437         * buffer.C:
9438         * paragraph.h:
9439         * paragraph.C: move sgml char escaping out of paragraph
9440
9441         * paragraph.h:
9442         * paragraph.C: remove id setter
9443
9444         * buffer.C:
9445         * paragraph.C:
9446         * paragraph_pimpl.C: remove dead tex_code_break_column
9447
9448         * bufferview_funcs.C: small cleanup
9449
9450         * lyxfunc.C: remove dead proto
9451
9452         * lyxtext.h: make some stuff private. Remove some dead stuff.
9453
9454         * lyxgluelength.C: make as[LyX]String() readable
9455
9456 2002-08-08  John Levon  <levon@movementarian.org>
9457
9458         * LyXAction.h:
9459         * LyXAction.C:
9460         * MenuBackend.C:
9461         * ToolbarDefaults.C:
9462         * lyxfunc.C:
9463         * lyxrc.C:
9464         * toc.C: lyxaction cleanup
9465
9466 2002-08-08  John Levon  <levon@movementarian.org>
9467
9468         * BufferView2.C: small cleanup
9469
9470         * lyxfind.h:
9471         * lyxfind.C: move unnecessary header into the .C
9472
9473 2002-08-08  John Levon  <levon@movementarian.org>
9474
9475         * funcrequest.h: just tedious nonsense
9476
9477         * lyx_main.h:
9478         * lyx_main.C: cleanups
9479
9480         * buffer.C:
9481         * vspace.C: remove dead header lyx_main.h
9482
9483 2002-08-07  Angus Leeming  <leeming@lyx.org>
9484
9485         * Paragraph.[Ch]:
9486         * paragraph_pimpl.h:
9487         Forward declare class Counters in paragraph.h by moving the ctrs member
9488         variable into Paragraph::Pimpl.
9489         (counters): new method, returning a reference to pimpl_->ctrs.
9490
9491         * text2.C: ensuing changes.
9492
9493 2002-08-07  John Levon  <levon@movementarian.org>
9494
9495         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9496
9497         * BufferView_pimpl.C: announce X selection on double/triple
9498           click
9499
9500         * lyx_main.C: use correct bool in batch dispatch
9501
9502         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9503
9504 2002-08-07  André Pönitz <poenitz@gmx.net>
9505
9506         * funcrequest.h: new class to wrap a kb_action and its argument
9507
9508         * BufferView.[Ch]:
9509         * BufferView_pimpl[Ch]:
9510         * LaTeX.C:
9511         * LyXAction.[Ch]:
9512         * lyxfunc.[Ch]:
9513         * lyxrc.C: subsequent changes
9514
9515
9516 2002-08-07  John Levon  <levon@movementarian.org>
9517
9518         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9519           document options change.
9520
9521 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9522
9523         * counters.[Ch]
9524         * text2.C
9525         * paragraph.[Ch]
9526         * makefile.am: move counters functionality over from
9527         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9528
9529 2002-08-06  John Levon  <levon@movementarian.org>
9530
9531         * WordLangTuple.h: new file for word + language code tuple
9532
9533         * SpellBase.h:
9534         * pspell.h:
9535         * pspell.C:
9536         * ispell.h:
9537         * ispell.C:
9538         * lyxtext.h:
9539         * text.C:
9540         * text2.C:
9541         * BufferView.h:
9542         * BufferView2.C: use WordLangTuple
9543
9544         * layout.h:
9545         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9546
9547 2002-08-06  John Levon  <levon@movementarian.org>
9548
9549         * lyx_main.C: fix cmdline batch handling
9550
9551 2002-08-06  André Pönitz <poenitz@gmx.net>
9552
9553         * lyxrc.C: set default for show_banner to true
9554
9555 2002-08-06  John Levon  <levon@movementarian.org>
9556
9557         * pspell.C: fix a crash, and allow new aspell to work
9558
9559 2002-08-06  John Levon  <levon@movementarian.org>
9560
9561         * lyxfunc.C:
9562         * kbmap.C: small cleanup
9563
9564         * vspace.h:
9565         * vspace.C: add const
9566
9567 2002-08-05  John Levon  <levon@movementarian.org>
9568
9569         * LyXAction.C: back to tabular-insert
9570
9571 2002-08-04  John Levon  <levon@movementarian.org>
9572
9573         * BufferView.h:
9574         * BufferView.C: cosmetic change
9575
9576         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9577
9578         * bufferlist.C:
9579         * buffer.h:
9580         * buffer.C:
9581         * lyxcb.h:
9582         * lyxcb.C:
9583         * lyxserver.C:
9584         * lyxvc.C:
9585         * vc-backend.C:
9586         * BufferView2.C: purge all "Lyx" not "LyX" strings
9587
9588         * lyxcursor.h:
9589         * lyxcursor.C: attempt to add some documentation
9590
9591         * lyxfunc.C:
9592         * commandtags.h:
9593         * LyXAction.C:
9594         * ToolbarDefaults.C:
9595         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9596           merge with LFUN_TABULAR_INSERT
9597
9598         * Makefile.am:
9599         * SpellBase.h:
9600         * ispell.h:
9601         * ispell.C:
9602         * pspell.h:
9603         * pspell.C: split up i/pspell implementations into separate
9604           files, many cleanups
9605
9606         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9607
9608         * text2.C: some cleanup
9609
9610         * lyxfunc.C: don't check for isp_command == "none" any more, it
9611           didn't make any sense
9612
9613 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9614
9615         * counters.[Ch]
9616         * text2.C
9617         * paragraph.[Ch]
9618         * makefile.am: move counters functionality over
9619         from text2.C/paragraph.[Ch] to counters.[Ch], and
9620         make proper C++.
9621 2002-08-02  John Levon  <levon@movementarian.org>
9622
9623         * buffer.C: s/lyxconvert/lyx2lyx/
9624
9625 2002-08-02  Angus Leeming  <leeming@lyx.org>
9626
9627         * lyxlex.C: revert John's change as it breaks reading of the user
9628         preamble.
9629
9630 2002-08-02  Angus Leeming  <leeming@lyx.org>
9631
9632         * importer.C (Import):
9633         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9634         changes due to LyXView::view() now returning a boost::shared_ptr.
9635
9636 2002-08-02  John Levon  <levon@movementarian.org>
9637
9638         * lyxlex.C: small cleanup
9639
9640 2002-08-02  John Levon  <levon@movementarian.org>
9641
9642         * text2.C (status): small cleanup, no logic change
9643
9644 2002-08-01  John Levon  <levon@movementarian.org>
9645
9646         * buffer.h:
9647         * buffer.C (writeFile): don't output alerts, caller
9648           handles this
9649
9650         * bufferlist.C:
9651         * lyx_cb.C: from above
9652
9653         * lyxfunc.C: allow to open non-existent files
9654
9655 2002-07-31  John Levon  <levon@movementarian.org>
9656
9657         * lyxserver.C: don't let incidental errors get
9658           in the way (errno)
9659
9660 2002-07-30  John Levon  <levon@movementarian.org>
9661
9662         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9663
9664 2002-07-30  John Levon  <levon@movementarian.org>
9665
9666         * lyxserver.h:
9667         * lyxserver.C: remove I/O callback too
9668
9669 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9670
9671         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9672         log.
9673
9674 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9675
9676         * many files: strip,frontStrip -> trim,ltrim,rtrim
9677
9678 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9679
9680         * PrinterParams.h: remove extern containsOnly, and include
9681         support/lstrings.h instead.
9682
9683         * LaTeX.C (scanAuxFile): modify because of strip changes
9684         (deplog): ditto
9685         * buffer.C (makeLaTeXFile): ditto
9686         * bufferparams.C (writeFile): ditt
9687         * lyxfont.C (stateText): ditto
9688         * lyxserver.C (read_ready): ditto
9689         * vc-backend.C (scanMaster): ditto
9690
9691         * BufferView_pimpl.h: ws changes
9692
9693         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9694
9695 2002-07-26  André Pönitz <poenitz@gmx.net>
9696
9697         * kb_sequence.C: remove unnedred usings
9698
9699 2002-07-26  Juergen Vigna  <jug@sad.it>
9700
9701         * lyxfind.C (LyXReplace): we have to check better if the returned
9702         text is not of theLockingInset()->getLockingInset().
9703
9704 2002-07-25  Juergen Vigna  <jug@sad.it>
9705
9706         * lyxfind.C (LyXReplace): don't replace if we don't get the
9707         right LyXText.
9708
9709         * undo_funcs.C (createUndo): remove debugging code.
9710
9711 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9712
9713         * buffer.C (parseSingleLyXformat2Token): Use default placement
9714         when reading old floats.
9715
9716         * FloatList.C (FloatList): Change the default placement of figure
9717         and tables to "tbp".
9718
9719 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9720
9721         * MenuBackend.C: using std::max
9722
9723 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9724
9725         * MenuBackend.C (expandToc):
9726         (expandToc2): code moved from xforms menu frontend. It is now
9727         generic and TOCs are transparent to menu frontends.
9728
9729 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9730
9731         * toc.C (getTocList): protect against buf=0
9732
9733         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9734         Menu as first parameter. Now, this calls itself recursively to
9735         expand a whole tree (this will be useful for TOC handling)
9736         (expandFloatInsert): remove 'wide' version of floats
9737
9738         * MenuBackend.h (submenuname): returns the name of the submenu.
9739         (submenu): returns the submenu itself, provided it has been
9740         created by MenuBackend::expand
9741
9742 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9743
9744         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9745         insets which have noFontChange == true. (bug #172)
9746
9747 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9748
9749         * BufferView_pimpl.C: add connection objects and use them...
9750         (Pimpl): here.
9751
9752 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9753
9754         * MenuBackend.C (expandLastfiles):
9755         (expandDocuments):
9756         (expandFormats):
9757         (expandFloatListInsert):
9758         (expandFloatInsert):
9759         (expand): split expand in parts
9760
9761 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9762
9763         * lyx_gui.C: use lyx_gui::exit()
9764
9765 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9766
9767         * LyXAction.C: show the failing pseudo action
9768
9769 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9770
9771         * buffer.C (readFile): Run the lyxconvert script in order to read
9772         old files.
9773
9774 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9775
9776         * LyXAction.C:
9777         * commandtags.h:
9778         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9779
9780 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9781
9782         * LyXAction.C:
9783         * commandtags.h:
9784         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9785
9786 2002-07-22  Herbert Voss  <voss@lyx.org>
9787
9788         * lengthcommon.C:
9789         * lyxlength.[Ch]: add support for the vertical lengths
9790
9791 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9792
9793         * toc.[Ch]: std:: fixes
9794
9795 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9796
9797         * lyxrc.C: do not include lyx_main.h
9798
9799         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9800         for layouts
9801
9802         * lyxrc.C:
9803         * encoding.C:
9804         * bufferlist.C:
9805         * BufferView2.C: include "lyxlex.h"
9806
9807         * tabular.h:
9808         * bufferparams.h: do not #include "lyxlex.h"
9809
9810         * lyxtextclasslist.C (Add): remove method
9811         (classlist): renamed to classlist_
9812
9813         * paragraph_pimpl.C:
9814         * paragraph.C:
9815         * text2.C:
9816         * CutAndPaste.C:
9817         * bufferview_funcs.C:
9818         * bufferlist.C:
9819         * text.C:
9820         * LaTeXFeatures.C:
9821         * buffer.C:
9822         * toc.C (getTocList): use BufferParams::getLyXTextClass
9823
9824         * toc.C (getTocList): use InsetFloat::addToToc
9825
9826         * toc.[Ch]: new files, containing helper functions to handle table
9827         of contents
9828
9829         * lyxfunc.C (dispatch): no need to remove spaces around command
9830         given as a string
9831         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9832         first command of the sequence; it is not very clever, but I do not
9833         have a better idea, actually
9834
9835         * LyXAction.C (LookupFunc): make sure to remove space at the
9836         beginning and end of the command
9837
9838 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9839
9840         * MenuBackend.C (getMenubar): new method: return the menubar of
9841         this menu set
9842         (read): treat differently reading of menu and menubar (in
9843         particular, the menubar has no name now)
9844         (Menu::menubar): remove
9845
9846         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9847         saving is finished
9848
9849 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9850
9851         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9852         a bibitem inset in a RTL paragraph.
9853
9854 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9855
9856         * paragraph_pimpl.C: constify
9857
9858         * BufferView_pimpl.C:
9859         * LaTeX.C:
9860         * lyxfunc.C: fix dispatch in a nicer way
9861
9862 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9863
9864         * lyxfunc.C (dispatch):
9865         * BufferView_pimpl.C:
9866         * BufferView_pimpl.h:
9867         * BufferView.C:
9868         * BufferView.h: rename Dispatch() to dispatch()
9869
9870         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9871
9872         * lyxlayout.C (Read): honor DependsOn tag
9873
9874         * lyxlayout.[Ch] (depends_on): new method
9875
9876         * version.C.in: update lyx_docversion
9877
9878         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9879
9880         * paragraph.C (validate): remove from here...
9881         * paragraph_pimpl.C (validate): ... and move here
9882         (isTextAt): make it const
9883
9884         * buffer.C (getLists): ws cleanup
9885
9886 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9887
9888         * language.C (read): Use iso8859-1 encoding in latex_lang
9889         (this prevents LyX from crashing when using iso10646-1 encoding).
9890
9891 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9892
9893         * text2.C (toggleInset): if cursor is inside an inset, close the
9894         inset and leave cursor _after_ it
9895
9896 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9897
9898         * lyxfunc.C: move minibuffer completion handling out of here
9899
9900 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9901
9902         * BufferView_pimpl.C:
9903         * LaTeX.C: fix dispatch calls
9904
9905 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9906
9907         * text.C (drawChars): Fix Arabic text rendering.
9908
9909 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9910
9911         * LyXAction.C:
9912         * commandtags.h:
9913         * lyxfunc.C: remove message-push/pop
9914
9915         * lyxserver.C:
9916         * lyxfunc.h:
9917         * lyxfunc.C: rationalise some code by removing verboseDispatch
9918           in favour of a bool argument to dispatch()
9919
9920 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9921
9922         * lyx_main.C (init): make sure to read symlinks as absolute paths
9923
9924 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9925
9926         * lyxfunc.h:
9927         * lyxfunc.C: no need for commandshortcut to be a member
9928
9929 2002-07-15  André Pönitz <poenitz@gmx.net>
9930
9931         * converter.C: add support for $$s (scripts from lib/scripts dir)
9932         * lyx_main.C: white space
9933
9934 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9935
9936         * bufferlist.C:
9937         * lyxrc.h:
9938         * lyxrc.C: remove second exit confirmation
9939
9940 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9941
9942         * BufferView.h:
9943         * BufferView.C:
9944         * BufferView2.C:
9945         * BufferView_pimpl.h:
9946         * BufferView_pimpl.C:
9947         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9948
9949 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9950
9951         * MenuBackend.C (expand): add numeric shortcuts to document menu
9952
9953         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9954
9955 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9956
9957         * lyxfont.C (setLyXFamily):
9958         (setLyXSeries):
9959         (setLyXShape):
9960         (setLyXSize):
9961         (setLyXMisc):
9962         (lyxRead):
9963         * debug.C (value):
9964         * buffer.C (asciiParagraph): use ascii_lowercase
9965
9966 2002-07-15  Mike Fabian  <mfabian@suse.de>
9967
9968         * lyxlex_pimpl.C (search_kw):
9969         * lyxlex.C (getLongString):
9970         * converter.h (operator<):
9971         * converter.C (operator<):
9972         * buffer.C (parseSingleLyXformat2Token):
9973         (asciiParagraph):
9974         * ToolbarDefaults.C (read):
9975         * MenuBackend.C (checkShortcuts):
9976         (read):
9977         * LColor.C (getFromGUIName):
9978         (getFromLyXName): use the compare_ascii_no_case instead of
9979         compare_no_case, because in turkish, 'i' is not the lowercase
9980         version of 'I', and thus turkish locale breaks parsing of tags.
9981
9982 2002-07-16  Angus Leeming  <leeming@lyx.org>
9983
9984         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9985         now takes a Buffer const & argument.
9986
9987 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9988
9989         * BufferView.C (resize): check there's a buffer to resize
9990
9991 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9992
9993         * lyxfunc.C: remove dead code
9994
9995         * lyxserver.h:
9996         * lyxserver.C: use lyx_guii::set_read_callback
9997
9998 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9999
10000         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10001         an inset in a RTL paragraph.
10002
10003 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10004
10005         * lyxfunc.C: repaint after a font size update
10006
10007 2002-07-15  André Pönitz <poenitz@gmx.net>
10008
10009         * lyxlength.C: inBP should be able to return negative values
10010
10011 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10012
10013         * lyxfunc.C: use lyx_gui::update_fonts()
10014
10015 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10016
10017         * lyxfunc.C: use lyx_gui::update_color()
10018
10019 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10020
10021         * bufferlist.C:
10022         * lyxfunc.h:
10023         * lyxfunc.C:
10024         * lyxrc.h:
10025         * lyxrc.C: remove file->new asks for name option, and let
10026           buffer-new take an argument
10027
10028 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10029
10030         * BufferView_pimpl.C: remove unneeded extra repaint()
10031
10032 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10033
10034         * LyXAction.C: allow command-sequence with NoBuffer
10035
10036         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10037
10038 2002-07-10  Angus Leeming  <leeming@lyx.org>
10039
10040         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10041
10042 2002-07-09  Angus Leeming  <leeming@lyx.org>
10043
10044         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10045
10046 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10047
10048         * lengthcommon.h: whitespace
10049
10050         * lyxfunc.C: update scrollbar after goto paragraph
10051
10052         * lyxtext.h: factor out page break drawing, and fix it so
10053           page break/added space paints as selected nicely
10054
10055 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10056
10057         * BufferView_pimpl.C: add FIXMEs, clean up a little
10058
10059 2002-07-09  André Pönitz <poenitz@gmx.net>
10060
10061         * lyxfont.[Ch]: support for wasy symbols
10062
10063 2002-07-08  André Pönitz <poenitz@gmx.net>
10064
10065         * BufferView_pimpl.C: apply John's patch for #93.
10066
10067 2002-07-05  Angus Leeming  <leeming@lyx.org>
10068
10069         * BufferView_pimpl.C (buffer): generate previews if desired.
10070
10071         * LColor.h: add "preview" to the color enum.
10072
10073         * LColor.C (LColor): add a corresponding entry to the items array.
10074
10075         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10076         with this buffer.
10077
10078 2002-07-05  Angus Leeming  <leeming@lyx.org>
10079
10080         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10081         The body of the code is now in the method that is passed an ostream &
10082         rather than a file name.
10083         Pass an additional only_preamble parameter, useful for the forthcoming
10084         preview stuff.
10085
10086 2002-07-03  André Pönitz <poenitz@gmx.net>
10087
10088         * lyxfunc.C: simplify getStatus() a bit for math stuff
10089
10090 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10091
10092         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10093
10094 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10095
10096         * text.C (changeRegionCase): do not change case of all the
10097         document when region ends at paragraph end (bug #461)
10098
10099 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10100
10101         * paragraph.C (startTeXParParams):
10102         (endTeXParParams): add \protect when necessary
10103
10104 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10105
10106         * BufferView_pimpl.C (workAreaExpose): remove warning
10107
10108 2002-06-27  Angus Leeming  <leeming@lyx.org>
10109
10110         * Makefile.am: add lyxlayout_ptr_fwd.h.
10111
10112 2002-06-26  André Pönitz <poenitz@gmx.net>
10113
10114         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10115
10116 2002-06-25  Angus Leeming  <leeming@lyx.org>
10117
10118         * lyxfunc.C (dispatch): Comment out the call to
10119         grfx::GCache::changeDisplay. The method no longer exists now that the
10120         pixmap generation part of the graphics loader has been moved into
10121         InsetGraphics.
10122
10123 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10124
10125         * text2.C: layout as layout
10126
10127         * text.C: layout as layout
10128
10129         * tabular.C (OldFormatRead): layout as layout
10130
10131         * paragraph_pimpl.C (TeXDeeper): layout as layout
10132         (realizeFont): layout as layout
10133
10134         * paragraph.C (writeFile): layout as layout
10135         (validate): layout as layout
10136         (getFont): layout as layout
10137         (getLabelFont): layout as layout
10138         (getLayoutFont): layout as layout
10139         (breakParagraph): layout as layout
10140         (stripLeadingSpaces): layout as layout
10141         (getEndLabel): layout as layout
10142         (getMaxDepthAfter): layout as layout
10143         (applyLayout): layout as layout
10144         (TeXOnePar): layout as layout
10145         (simpleTeXOnePar): layout as layout
10146         (TeXEnvironment): layout as layout
10147         (layout): layout as layout
10148         (layout): layout as layout
10149
10150         * lyxtextclass.C (compare_name): new functor to work with
10151         shared_ptr, layout as layout
10152         (Read): layout as layout
10153         (hasLayout): layout as layout
10154         (operator): layout as layout
10155         (delete_layout): layout as layout
10156         (defaultLayout): layout as layout
10157
10158         * lyxlayout_ptr_fwd.h: new file
10159
10160         * lyxlayout.C (Read): layout as layout
10161
10162         * lyx_cb.C (MenuInsertLabel): layout as layout
10163
10164         * bufferlist.C (newFile): layout as layout
10165
10166         * buffer.C (readLyXformat2): layout as layout
10167         (parseSingleLyXformat2Token): layout as layout
10168         (insertStringAsLines): layout as layout
10169         (asciiParagraph): layout as layout
10170         (latexParagraphs): layout as layout
10171         (makeLinuxDocFile): layout as layout
10172         (simpleLinuxDocOnePar): layout as layout
10173         (makeDocBookFile): layout as layout
10174         (simpleDocBookOnePar): layout as layout
10175         (getLists): layout as layout
10176
10177         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10178
10179         * CutAndPaste.C (cutSelection): layout as layout
10180         (pasteSelection): layout as layout
10181         (SwitchLayoutsBetweenClasses): layout as layout
10182
10183         * BufferView_pimpl.C (Dispatch): layout as layout
10184         (smartQuote): layout as layout
10185
10186         * BufferView2.C (unlockInset): layout as layout
10187
10188 2002-06-24  André Pönitz <poenitz@gmx.net>
10189
10190         * lyxfunc.C: fix #487
10191
10192 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10193
10194         * lyxrc.h:
10195         * lyxrc.C:
10196         * lyxfunc.C: remove display_shortcuts, show_banner
10197
10198 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10199
10200         * Buffer_pimpl.C: oops, update on resize
10201
10202 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10203
10204         * buffer.C:
10205         * converter.C:
10206         * exporter.C:
10207         * lyxfunc.C:
10208         * BufferView.h:
10209         * BufferView.C: use repaint()
10210
10211         * BufferView_pimpl.h:
10212         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10213           as it's a clearer description. Remove superfluous
10214           redraws.
10215
10216 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10217
10218         * text.C: fix bug 488. Not ideal, but getting
10219           getWord() to work properly for the insets that
10220           matter is more difficult ...
10221
10222 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10223
10224         * BufferView_pimpl.C:
10225         * LyXAction.C:
10226         * commandtags.h:
10227         * lyxfunc.C: remove the six million index lyxfuncs to just
10228           one, and DTRT (bug 458)
10229
10230 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10231
10232         * BufferView.h:
10233         * BufferView.C:
10234         * BufferView_pimpl.h:
10235         * BufferView_pimpl.C: clean up resize() stuff,
10236           and unnecessary updateScreen()s
10237
10238 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10239
10240         * BufferView.h:
10241         * BufferView.C:
10242         * BufferView_pimpl.h:
10243         * BufferView_pimpl.C:
10244         * lyxfind.h:
10245         * lyxfind.C:
10246         * minibuffer.C: remove focus management of workarea,
10247           not needed. Use screen's greyOut()
10248
10249 2002-06-17  Herbert Voss  <voss@lyx.org>
10250
10251         * converter.C: (convert) do not post a message, when converting
10252         fails, let the calling function decide what to do in this case
10253
10254 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10255
10256         * lyxfunc.C: tidy up a little
10257
10258 2002-06-16    <alstrup@diku.dk>
10259
10260         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10261         Got rid of FORMS_H_LOCATION include. Now we are
10262         GUII.
10263
10264 2002-06-15  LyX Development team  <lyx@rilke>
10265
10266         * buffer.[Ch] (sgmlOpenTag):
10267         (sgmlCloseTag): Added support for avoiding pernicious mixed
10268         content. Return number of lines written.
10269
10270         (makeLinuxDocFile):
10271         (makeDocBookFile): Fixed calls to sgml*Tag.
10272         Simple white space clean.
10273
10274         (simpleDocBookOnePar): Simple white space clean.
10275
10276         * tabular.[Ch] (docBook): Renamed to docbook and got another
10277         argument to related with the pernicious mixed content.
10278
10279         (docbookRow): Fixed calls for docbook inset method.
10280
10281 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10282
10283         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10284         so it's X11 independent.
10285
10286         * kb*.[Ch]: ditto.
10287
10288         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10289
10290 2002-06-15  Lyx Development team  <lyx@electronia>
10291
10292         * intl.h: Renamed getTrans to getTransManager.
10293
10294 2002-06-14  Angus Leeming  <leeming@lyx.org>
10295
10296         * Makefile.am: nuke forgotten stl_string_fwd.h.
10297
10298 2002-06-12  Angus Leeming  <leeming@lyx.org>
10299
10300         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10301
10302 2002-06-13  Angus Leeming  <leeming@lyx.org>
10303
10304         * LaTeX.C:
10305         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10306
10307 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10308
10309         * kbmap.C (getiso): add support for cyrillic and greek
10310
10311 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10312
10313         * BufferView.h:
10314         * BufferView.C:
10315         * BufferView_pimpl.h:
10316         * BufferView_pimpl.C: move bogus scrolling logic
10317           to xforms
10318
10319 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10320
10321         * lyxfunc.C:
10322         * BufferView_pimpl.C: view->resize() change
10323
10324 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10325
10326         * BufferView_pimpl.C: topCursorVisible
10327           prototype change
10328
10329 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10330
10331         * Makefile.am:
10332         * lyx_gui.h:
10333         * lyx_gui.C: move to frontends/
10334
10335         * main.C:
10336         * lyx_main.h:
10337         * lyx_main.C: changes from above
10338
10339 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10340
10341         * intl.C:
10342         * intl.h:
10343         * kbmap.C:
10344         * kbsequence.C:
10345         * lyx_cb.C:
10346         * lyx_main.C: minor tidy
10347
10348 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10349
10350         * BufferView_pimpl.h:
10351         * BufferView_pimpl.C:
10352         * BufferView.h:
10353         * BufferView.C: make painter() const,
10354           remove dead code
10355
10356         * BufferView2.C: use screen() accessor
10357
10358         * lyx_main.h:
10359         * lyx_main.C: some minor cleanup
10360
10361 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10362
10363         * BufferView_pimpl.h:
10364         * BufferView_pimpl.C: remove enter/leaveView,
10365           use workHeight()
10366
10367 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10368
10369         * BufferView.h:
10370         * BufferView.C:
10371         * BufferView2.C:
10372         * BufferView_pimpl.h:
10373         * BufferView_pimpl.C: only construct screen once,
10374           rename
10375
10376         * lyxrc.C: remove pointless comment
10377
10378 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10379
10380         * BufferView.h:
10381         * BufferView.C: remove active() and belowMouse()
10382
10383         * BufferView_pimpl.h:
10384         * BufferView_pimpl.C: use workarea() not workarea_,
10385           and make it use a scoped_ptr instead
10386
10387 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10388
10389         * lyx_gui.C: add debug message on BadWindow
10390
10391 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10392
10393         * sp_spell.C: fdopen is not part of the C++ standard.
10394
10395         * paragraph.C (InsetIterator): use >= instead of ==
10396
10397 2002-06-07  Angus Leeming  <leeming@lyx.org>
10398
10399         Fixes needed to compile with Compaq cxx 6.5.
10400         * BufferView_pimpl.C:
10401         * DepTable.C:
10402         * buffer.C:
10403         * converter.C:
10404         * encoding.C:
10405         * lyx_gui.C:
10406         * lyx_main.C:
10407         * lyxtextclasslist.C:
10408         * minibuffer.C:
10409         * sp_spell.C:
10410         * tabular_funcs.C:
10411         * vc-backend.C:
10412         all c-library variables have been moved into namespace std. Wrap
10413         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10414
10415         * lyxlength.C:
10416         * tabular-old.C:
10417         * tabular.C:
10418         Add a using std::abs declaration.
10419
10420         * kbmap.h (modifier_pair):
10421         * paragraph.h (InsetTable, InsetList):
10422         * lyxfont.h (FontBits):
10423         type definition made public.
10424
10425         * bufferlist.C (emergencyWriteAll): the compiler complains that
10426         there is more than one possible lyx::class_fun template to choose from.
10427         I re-named the void specialisation as lyx::void_class_fun.
10428
10429         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10430
10431         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10432         the compiler is is unable to find tostr in write_attribute.
10433
10434 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10435
10436         * buffer.C (sgmlError): hide #warning
10437
10438 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10439
10440         * xtl/*: get rid of xtl, which is not in use anyway
10441
10442         * LyXAction.C (init):
10443         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10444         were unimplemented xtl experimentation
10445
10446 2002-06-04  André Pönitz <poenitz@gmx.net>
10447
10448         * lyxfunc.C: disable array operation on simple formulae
10449
10450 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10451
10452         * converter.C: constify a bit
10453
10454 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10455
10456         * lyx_gui.C: check xforms version correctly
10457
10458 2002-04-30  Herbert Voss  <voss@lyx.org>
10459
10460         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10461         "keep" option
10462
10463 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10464
10465         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10466           attempt to register it with a VCS)
10467
10468 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10469
10470         * lyx_main.C (init): honor variables LYX_DIR_13x and
10471         LYX_USERDIR_13x
10472
10473 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10474
10475         * buffer.h:
10476         * buffer.C:
10477         * lyx_main.C: fix a crash on bad command line,
10478           and give a useful exit status on error
10479
10480         * lyxfunc.C (doImport): allow -i lyx to work
10481
10482 2002-03-30  André Pönitz <poenitz@gmx.net>
10483
10484         * lyxfunc.C: mathed font changes
10485
10486 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10487
10488         * LaTeX.C:
10489         * importer.h:
10490         * importer.C:
10491         * lyx_sty.h:
10492         * lyx_sty.C:
10493         * lyxlex.C:
10494         * lyxrow.h:
10495         * lyxtext.h:
10496         * paragraph.h:
10497         * paragraph.C:
10498         * texrow.h:
10499         * texrow.C:
10500         * text.C:
10501         * trans_mgr.h: srcdocs, and some minor cleanups
10502
10503 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10504
10505         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10506         call getFont all the time)
10507
10508 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10509
10510         * switch from SigC signals to boost::signals
10511
10512 2002-05-29  André Pönitz <poenitz@gmx.net>
10513
10514         * paragraph_pimpl.C (getChar): don't call size() too often...
10515
10516 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10517
10518         * paragraph_pimpl.C (insertChar): do not try to update tables when
10519         appending (pos == size())
10520
10521         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10522         in order to reduce drastically the number of comparisons needed to
10523         parse a large document
10524
10525 2002-05-29  André Pönitz <poenitz@gmx.net>
10526
10527         * text.C:
10528         * text2.C:
10529         * lyxtextclass.C:
10530         * sp_pspell.h:
10531         * textclasslist.[Ch]:
10532         * sp_ispell.h: whitespace change
10533
10534 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10535
10536         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10537         lyxaction directly now.
10538
10539 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10540
10541         * trans.C:
10542         * lyxfont.C:
10543         * lyxvc.C: remove unused headers
10544
10545 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10546
10547         * Makefile.am:
10548         * buffer.h:
10549         * undostack.h:
10550         * undostack.C:
10551         * undo_funcs.h:
10552         * undo_funcs.C: some cleanups. Use shared_ptr
10553           and a template for the undo stacks.
10554
10555 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10556
10557         * BufferView_pimpl.h:
10558         * BufferView_pimpl.C:
10559         * kbmap.h:
10560         * kbmap.C:
10561         * kbsequence.h:
10562         * kbsequence.C:
10563         * lyxfunc.h:
10564         * lyxfunc.C:
10565         * text2.C: use key_state/mouse_state
10566
10567 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10568
10569         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10570         and LSubstring
10571
10572         * chset.C: change include order
10573         (loadFile): use boost regex and get rid of LRegex and LSubstring
10574
10575         * Makefile.am (BOOST_LIBS): new variable
10576         (lyx_LDADD): use it
10577
10578         * LaTeX.C: change include order.
10579         (scanAuxFile): use boost regex and get rid of LRegex and
10580         LSubstring
10581         (deplog): ditto
10582
10583 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10584
10585         * ColorHandler.h:
10586         * ColorHandler.C:
10587         * FontInfo.h:
10588         * FontInfo.C: moved to frontends/xforms/
10589
10590         * FontLoader.h:
10591         * FontLoader.C: moved into frontends for GUIIzation
10592
10593         * Makefile.am:
10594         * lyx_gui.C:
10595         * lyxfont.C:
10596         * lyxfunc.C: changes from above
10597
10598 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10599
10600         * LColor.C: remove spurious X include
10601
10602         * BufferView_pimpl.C:
10603         * Makefile.am:
10604         * font.h:
10605         * font.C:
10606         * text.C:
10607         * text2.C: move font metrics to frontends/
10608
10609 2002-05-24  Juergen Vigna  <jug@sad.it>
10610
10611         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10612         setting the undo_cursor.
10613
10614         * ParagraphParameters.h: include local includes first.
10615
10616 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10617
10618         * BufferView_pimpl.C:
10619         * BufferView_pimpl.h:
10620         * Makefile.am:
10621         * WorkArea.h:
10622         * WorkArea.C:
10623         * screen.C: move WorkArea into frontends/
10624
10625         * lyxscreen.h:
10626         * screen.C:
10627         * text.C:
10628         * BufferView.C:
10629         * BufferView2.C: move LyXScreen into frontends/
10630
10631         * lyxlookup.h:
10632         * lyxlookup.C:
10633         * lyx_gui.C: move lyxlookup into frontends/xforms/
10634
10635 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10636
10637         * BufferView2.C:
10638         * BufferView_pimpl.C:
10639         * FontLoader.C:
10640         * LyXView.h:
10641         * LyXView.C:
10642         * Makefile.am:
10643         * WorkArea.C:
10644         * XFormsView.h:
10645         * XFormsView.C:
10646         * buffer.C:
10647         * bufferlist.C:
10648         * bufferview_funcs.C:
10649         * converter.C:
10650         * importer.C:
10651         * lyx_cb.C:
10652         * lyx_gui.C:
10653         * lyx_main.C:
10654         * lyx_find.C:
10655         * lyxfunc.C:
10656         * lyxvc.C:
10657         * minibuffer.C:
10658         * text.C:
10659         * text2.C:
10660         * trans.C:
10661         * vc-backend.C: move LyX/XFormsView into frontends/
10662
10663 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * Makefile.am:
10666         * PainterBase.C:
10667         * PainterBase.h:
10668         * Painter.C:
10669         * Painter.h:
10670         * WorkArea.C:
10671         * WorkArea.h:
10672         * screen.C:
10673         * tabular.C:
10674         * text.C:
10675         * text2.C: move Painter to frontends/
10676
10677 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10678
10679         * buffer.C: comment out some some code that depend upon lyx_format
10680         < 220
10681
10682         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10683         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10684
10685         * buffer.h (NO_COMPABILITY): turn off compability
10686
10687         * ColorHandler.C: include scoped_array.hpp
10688
10689         * font.C: Use more specific smart_ptr header.
10690         * Painter.C: ditto
10691         * gettext.C: ditto
10692         * ShareContainer.h: ditto
10693         * lyx_main.h: ditto
10694         * kbmap.h: ditto
10695         * FontInfo.h: ditto
10696         * BufferView_pimpl.h: ditto
10697         * ColorHandler.h: ditto
10698
10699         * kbmap.C (defkey): change call to shared_ptr::reset
10700
10701 2002-05-21  Juergen Vigna  <jug@sad.it>
10702
10703         * buffer.C (insertErtContents): fix to insert ert asis if it is
10704         non empty. Skip it completely if it contains only whitespaces.
10705
10706 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10707
10708         * BufferView_pimpl.C:
10709         * BufferView2.C: clear selection on paste (bug 393)
10710
10711 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10712
10713         * DepTable.C: include ctime
10714
10715 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10716
10717         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10718
10719 2002-05-14  Juergen Vigna  <jug@sad.it>
10720
10721         * text.C (breakParagraph): fixed function to honor the keepempty
10722         layout in the right maner and also to permit the right breaking
10723         algorithm on empty or non empyt keepempty paragraphs.
10724
10725         * paragraph.C (breakParagraph): we have to check also if the par
10726         is really empty (!size()) for isempty otherwise we do the wrong
10727         paragraph break.
10728
10729 2002-05-10  Juergen Vigna  <jug@sad.it>
10730
10731         * buffer.[Ch] : The following are only changes to the ert
10732         compatibility read reading old LaTeX layout and font stuff and
10733         convert it to ERTInsets.
10734
10735         * buffer.h: added isErtInset().
10736
10737         * buffer.C (struct ErtComp): add a fromlayout bool to check
10738         if we're inside a LaTeX layout.
10739         (isErtInset): new helper function.
10740         (insertErtContents): look for other ert insets before this one
10741         and insert the contents there, so that we don't have subsequent
10742         ERT insets with nothing between them. This way we create only one
10743         inset with multiple paragraphs. Also check if we don't insert only
10744         spaces ' ' as they are ignored anyway afterwards in the .tex file
10745         so if we have only spaces we will ignore this latex part in the
10746         new file.
10747         (parseSingleLyXformat2Token \\layout): better compatibility when
10748         reading layout-latex stuff.
10749         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10750         language tag.
10751         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10752         stuff after reading the inset only get the information back from
10753         the stack.
10754
10755 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10756
10757         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10758
10759         * LaTeXFeatures.C (getBabelOptions): New method.
10760
10761 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10762
10763         * BufferView_pimpl.C (Dispatch): work around missing argument for
10764         'layout'
10765
10766 2002-05-08  Juergen Vigna  <jug@sad.it>
10767
10768         * text.C (leftMargin): handle paragraph leftindent.
10769
10770         * paragraph.C (writeFile): write the new \\leftindent tag.
10771         (validate): handle leftindent code.
10772         (TeXEnvironment): handle paragraphleftindent code again.
10773
10774         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10775
10776         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10777         for paragrap_extra indent code and new token \\leftindent.
10778         (latexParagraphs): handle the leftindent as environment.
10779
10780         * ParameterStruct.h: added leftindent support.
10781
10782         * ParagraphParameters.C (leftIndent): added support functions for
10783         the paragraph left indent.
10784
10785         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10786         more appropriate.
10787
10788 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10789
10790         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10791         inside insetERT.
10792
10793         * text.C (computeBidiTables): No bidi in insetERT.
10794
10795         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10796         in RTL documents.
10797
10798 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10799
10800         * version.C.in: pre 5
10801
10802 2002-05-02  José Matos  <jamatos@fep.up.pt>
10803         * buffer.C (makeDocBookFile): white space changes, add newline to
10804         command styles.
10805         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10806
10807         * tabular.C (docBook): fix typo.
10808
10809 2002-05-03  Juergen Vigna  <jug@sad.it>
10810
10811         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10812         change in LyXText as we can not be sure it was not freed.
10813         (drawOneRow): remove unused code.
10814
10815         * text.C (drawInset): redo the calculation of the need_break_row as
10816         it could have a row which was already freed.
10817         (draw): look at the return value of drawInset and return false if
10818         it also returned false.
10819         (paintRowText): look at the return value of draw and return false if
10820         it also returned false.
10821
10822         * lyxtext.h: added bool return type to drawInset() and draw() so that
10823         if we have a change in the row so that the rowbreak has to be redone
10824         we abort drawing as it will be called again.
10825
10826 2002-05-02  Juergen Vigna  <jug@sad.it>
10827
10828         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10829         a change in the maintext also if we're inside an inset.
10830         (Dispatch): set the cursor again after a break line and after the
10831         screen has been updated as it could be we're in a different row.
10832
10833         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10834         to set the cursor behind the pargraph with > size().
10835         (setCursor): check also for the same paragraph when checking where
10836         to put the cursor if we have a NFR inset.
10837
10838         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10839         parts of layout read further up as it still was in the wrong
10840         position.
10841
10842 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10843
10844         * screen.C (drawFromTo): change sine fullRebreak always return
10845         true.
10846
10847         * buffer.C (parseSingleLyXformat2Token): reindent some
10848
10849         * BufferView_pimpl.C (update): change since fullRebreak always
10850         return true.
10851         (Dispatch): git rid of the last hardcoded "Standard"s.
10852
10853 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10854
10855         * text2.[Ch] (fullRebreak): make it return void now that we always
10856         returned true.
10857
10858 2002-04-30  Juergen Vigna  <jug@sad.it>
10859
10860         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10861         ert compatibility check for "latex" layout.
10862
10863 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10864
10865         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10866         minipages: use col% instead of p%, and also use the current font.
10867         (makeLaTeXFile): Fix use babel condition.
10868         (parseSingleLyXformat2Token): Correct font when reading old floats.
10869
10870 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10871
10872         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10873         inserting list of floats.
10874
10875 2002-04-25  Herbert Voss  <voss@lyx.org>
10876
10877         * MenuBackend.C (expand): don't add the graphics extensions to the
10878         export menu
10879
10880 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10881
10882         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10883         non-existing layout, do not complain if it was the default layout
10884         of the original class (bug #342)
10885
10886 2002-04-24  Juergen Vigna  <jug@sad.it>
10887
10888         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10889         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10890
10891 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10892
10893         * buffer.C (getBibkeyList): If using \bibliography, return the
10894         option field with the reference itself. Enables us to provide natbib
10895         support when using \bibliography.
10896
10897 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10898
10899         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10900
10901         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10902         natbib is provided by the LaTeX class.
10903
10904 2002-04-23  Juergen Vigna  <jug@sad.it>
10905
10906         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10907         Wakeup functions.
10908
10909         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10910
10911 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10912
10913         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10914
10915         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10916         ensuremath around textordmasculine, textordfeminine and
10917         textdegree.
10918
10919 2002-04-19  Juergen Vigna  <jug@sad.it>
10920
10921         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10922         reinitializing the buffer otherwise row-dimensions may be wrong.
10923         (update): reset also the selection cursors if they do exits otherwise
10924         their x/y positions may be wrong.
10925
10926         * text2.C (cursorDown): don't enter the inset if we came from a row
10927         above and are one row over the inset.
10928
10929         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10930         really leaving an inset.
10931
10932 2002-04-18  Juergen Vigna  <jug@sad.it>
10933
10934         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10935         of the selected paragraph does not have the selected layout also if
10936         the last one had!
10937
10938         * text2.C (setLayout): fixed bug which did not change last selected
10939         paragraph.
10940
10941         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10942         changed the read and substituted \\end_float with \\end_inset!
10943
10944         * BufferView_pimpl.C (cursorPrevious):
10945         (cursorNext): fixed to make it work with rows heigher than the work
10946         area without moving the cursor only the draw of the row.
10947         (workAreaMotionNotify): fix jumping over high rows.
10948
10949 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10950
10951         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10952         Ressler.
10953
10954 2002-04-16  Juergen Vigna  <jug@sad.it>
10955
10956         * text2.C (setCursor): set also the irow().
10957         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10958         (cursorUp):
10959         (cursorDown): support for locking an inset if the x_fix value goes
10960         inside it. That way I can transverse insets too with cursor up/down.
10961
10962         * lyxrow.h: added irow helper function same as other (i) functions.
10963
10964         * BufferView_pimpl.C (cursorPrevious):
10965         (cursorNext): fixed for insets!
10966
10967 2002-04-15  Juergen Vigna  <jug@sad.it>
10968
10969         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10970         position otherwise it is wrong in some cases.
10971
10972         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10973         inside the inset before the call.
10974
10975 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10976
10977         * buffer.[Ch] (getBibkeyList): make it const.
10978
10979 2002-04-12  Juergen Vigna  <jug@sad.it>
10980
10981         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10982
10983         * text2.C (getCursorX): new helper function
10984         (setCursor): compute also ix_
10985         (setCursorFromCoordinates): set also ix.
10986
10987         * lyxcursor.h: added ix_ and helper functions.
10988
10989         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10990
10991         * buffer.C (insertStringAsLines): dont break paragraph if the this
10992         paragraph is inside an inset which does not permit it!
10993
10994         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10995         also with no chars on this paragraph.
10996         (paintRowText): only paint stuff if it's inside the workarea!
10997
10998         * paragraph.C (breakParagraph): honor keepempty flag and break the
10999         paragraph always below not above.
11000
11001         * BufferView2.C (unlockInset): update the paragraph layout on inset
11002         unlock as we changed paragraph in such a case.
11003
11004         * lyxfind.C (LyXFind): clear the former selection if not found!
11005
11006         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11007         again called in insertChar().
11008
11009         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11010         an inset which uses the whole row!
11011         (rightMargin): ditto.
11012         (insertChar): force a rebreak if we inserted an inset!
11013
11014 2002-03-28  Herbert Voss  <voss@lyx.org>
11015
11016         * lyxlength.[Ch]: add inBP() to get the right PS-point
11017         units (BigPoint). With inPixels we have rounding errors
11018
11019 2002-04-11  Juergen Vigna  <jug@sad.it>
11020
11021         * text2.C (setCursorFromCoordinates): set iy to the right value.
11022         (setCursor): add check if row->previous exists!
11023
11024         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11025         an old float_type as this was the case in the old code!
11026
11027         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11028
11029         * BufferView2.C (showLockedInsetCursor): use iy
11030         (fitLockedInsetCursor): ditto
11031
11032         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11033         locked insets as there we have the right value now.
11034
11035         * lyxcursor.C: added iy_ variable and iy functions to set to the
11036         baseline of cursor-y of the locked inset.
11037
11038         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11039         (setCursor): fixed for insets which need a full row.
11040
11041         * text.C (rowLastPrintable): don't ignore the last space when before
11042         an inset which needs a full row.
11043         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11044         as last character of a row when before a inset which needs a full row.
11045
11046 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11047
11048         * version.C.in: update date
11049
11050         * text2.C (fullRebreak): try to always return true and see what
11051         happens...
11052
11053 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11054
11055         * MenuBackend.C (expand): use Floating::listName
11056
11057         * FloatList.C (FloatList): add listName argument to the built-in
11058         floats
11059
11060         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11061         text associated with the float.
11062
11063 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11064
11065         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11066
11067 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11068
11069         * ShareContainer.h: add a couple of missing typenames.
11070
11071 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11072
11073         * lyxrc.C (getDescription): use _() correctly rather than N_().
11074
11075 2002-03-28  Herbert Voss  <voss@lyx.org>
11076
11077         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11078         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11079
11080 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11081
11082         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11083         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11084
11085 2002-03-29  Juergen Vigna  <jug@sad.it>
11086
11087         * lyxfunc.C (dispatch): add a missing fitCursor call.
11088
11089         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11090         it was scrolled by a cursor move, so return the bool status.
11091
11092         * BufferView.C (fitCursor): return the bool flag also to the outside
11093         world as this is needed.
11094
11095         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11096
11097         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11098         call the edit() as it is not needed (and wrong) IMO.
11099         (workAreaButtonPress): set the screen_first variable before evt.
11100         unlock the inset as this may change screen_first and then we have
11101         a wrong y position for the click!
11102
11103 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11104
11105         * MenuBackend.C (expand): another translation that I missed
11106
11107 2002-03-28  Juergen Vigna  <jug@sad.it>
11108
11109         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11110
11111         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11112
11113 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11114
11115         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11116
11117         * MenuBackend.C (expand): fix export/view/update when there is no
11118         document open.
11119
11120 2002-03-27  Herbert Voss  <voss@lyx.org>
11121
11122         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11123         and text%
11124
11125 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11126
11127         * bufferview_funcs.C (currentState): only show paragraph number
11128         for is DEVEL_VERSION is set.
11129
11130         * lyxfunc.C (dispatch): put warning in INFO channel
11131
11132         * MenuBackend.C (expand): translate the name of floats
11133
11134         * FloatList.C (FloatList): mark the float names for translation
11135
11136         * converter.C (convert): use LibScriptSearch
11137
11138 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11139
11140         * MenuBackend.C (defaults): fix default menu (we might as well get
11141         rid of it...)
11142
11143 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11144
11145         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11146         directory.
11147
11148 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11149
11150         * lyxvc.C: reorder includes.
11151
11152 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11153
11154         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11155           properly
11156
11157 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11158
11159         * CutAndPaste.C: change layouts earlier on paste
11160           to avoid crashing when calling getFont()
11161
11162 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11163
11164         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11165         irritating #error.
11166
11167 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11168
11169         * WorkArea.C: remove 'Pending' debug message.
11170
11171         * most files: ws cleanup
11172
11173         * buffer.[Ch]: ws changes
11174
11175         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11176
11177 2002-03-21  Juergen Vigna  <jug@sad.it>
11178
11179         * tabular.C (SetMultiColumn): collapse also the contents of the
11180         cells and set the last border right. Added a Buffer const * param.
11181
11182 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11183
11184         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11185         linking or not.
11186
11187 2002-03-19  Juergen Vigna  <jug@sad.it>
11188
11189         * text2.C (clearSelection): reset also xsel_cache.
11190
11191         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11192         where it needs to be called (John tells us to do so too :)
11193         (selectionLost): reset sel_cache.
11194
11195         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11196
11197 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11198
11199         * text2.C (setCursorIntern): put debuging code in INSETS channel
11200
11201 2002-03-19  André Pönitz <poenitz@gmx.net>
11202
11203         * lyxfunc.C: tiny whitespace change
11204
11205 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11206
11207         * ToolbarDefaults.C (init):
11208         * LyXAction.C (init):
11209         * commandtags.h:
11210         * BufferView_pimpl.C (Dispatch):
11211         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11212
11213 2002-03-19  Allan Rae  <rae@lyx.org>
11214
11215         * exporter.C (Export): removeAutoInsets before doing anything else.
11216         While I've just introduced a dependency on BufferView this really is
11217         the best place to clean the buffer otherwise you need to cleanup in
11218         a dozen places before calling export or cleanup in a dozen functions
11219         that export calls.
11220
11221         * converter.C (runLaTeX):
11222         (scanLog): Better handling of removeAutoInsets and screen updates.
11223
11224         * lyxfunc.C (dispatch): small whitespace changes
11225
11226 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11227
11228         * WorkArea.C (C_WorkAreaEvent): return a value.
11229         (event_cb): return 1 if we handled the event, 0 otherwise.
11230
11231         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11232
11233 2002-03-18  Juergen Vigna  <jug@sad.it>
11234
11235         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11236         (GetAdditionalWidth): ditto.
11237         (RightLine): ditto.
11238         (LeftLine): ditto.
11239
11240         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11241         inset if we're there actually (probably not used right now but this
11242         is the direction to go for unifying code).
11243         (paste): disable code to clear the selection.
11244
11245         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11246         inside an InsetText and move the check further up as it is in the
11247         wrong place.
11248
11249         * text2.C (pasteSelection): set a selection over the pasted text.
11250
11251 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11252
11253         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11254         and libgraphics to build on Cygwin.
11255
11256 2002-03-15  Juergen Vigna  <jug@sad.it>
11257
11258         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11259         inserting an Inset into the paragraph. I know this is not the best
11260         fix but we already use current_view in CutAndPaste so we will remove
11261         all of it's using at the same time.
11262
11263         * buffer.C (sgmlError): deactivated function till it is rewritten in
11264         the right mode, now it can create problems.
11265
11266         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11267         before accessing it.
11268
11269 2002-03-14  Juergen Vigna  <jug@sad.it>
11270
11271         * undo_funcs.C (textHandleUndo): do the right thing when updating
11272         the inset after the undo/redo.
11273
11274         * text2.C (setCursor): just some testcode for #44 not ready yet.
11275
11276         * undo_funcs.C (textHandleUndo): set the next() and previous()
11277         pointers of the paragraph to 0 before deleting otherwise we have
11278         problems with the Paragraph::[destructor].
11279
11280         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11281         on a paragraph insertion.
11282
11283 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11284
11285         * buffer.C (asciiParagraph): use += operator for char append to
11286         string.
11287
11288         * paragraph.C (getFontSettings): compare >= not just >
11289         (highestFontInRange): ditto
11290         (setFont): ditto
11291
11292 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11293
11294         * paragraph.C: change several algorithm to be more appripriate for
11295         the problem domain. This is lookip in FontList and in the InsetList.
11296
11297 2002-03-13  André Pönitz <poenitz@gmx.net>
11298
11299         * commandtags.h:
11300         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11301
11302 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11303
11304         * commandtags.h:
11305         * LyXAction.C:
11306         * lyxfunc.C:
11307         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11308
11309 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11310
11311         * Painter.C (display): anon helper function, adjust code for this
11312         change.
11313         (pixmap): remove function.
11314
11315         * Painter.h: remove private display variable.
11316
11317         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11318
11319 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11320
11321         * WorkArea.[Ch]: remove figinset_canvas cruft.
11322
11323 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11324
11325         * lyxtextclass.C (operator): add one item cache optimization.
11326
11327         * bufferlist.h: doxy changes
11328
11329         * bufferlist.C: ws changes
11330
11331         * DepTable.[Ch] (ext_exist): place const in the right spot.
11332
11333         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11334         call resizeInsets.
11335         (workAreaExpose): call resizeInsets when the with BufferView changes.
11336         (Dispatch): adjust for protectedBlank removal
11337         (specialChar): call updateInset if the insert went ok.
11338
11339         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11340         specialChar instead.
11341
11342         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11343
11344         * BufferView.h: doxy change
11345
11346         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11347
11348         * lyxtextclass.C (operator[]): remove non-const version
11349         (defaultLayout): remove non-const version
11350
11351 2002-03-12  Juergen Vigna  <jug@sad.it>
11352
11353         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11354         did resize the LyXText too.
11355
11356         * buffer.C (readLyXformat2): set layout information on newly allocated
11357         paragraphs.
11358
11359         * tabular.C (OldFormatRead): set layout information on the paragraph.
11360
11361 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11362
11363         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11364
11365 2002-03-11  Juergen Vigna  <jug@sad.it>
11366
11367         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11368         plainly wrong.
11369         (resizeCurrentBuffer): force also the insets to resize themselfes.
11370         (moveCursorUpdate): fixed up for InsetText.
11371
11372 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11373
11374         * commandtags.h:
11375         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11376         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11377         value of Dialogs::tooltipsEnabled().
11378         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11379
11380 2002-03-08  Juergen Vigna  <jug@sad.it>
11381
11382         * BufferView_pimpl.C (updateInset): update inset inside inset also
11383         if it isn't inside theLockingInset().
11384
11385 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11386
11387         * buffer.C (asciiParagraph): redo some of the word and line length
11388         handling.
11389         (getLists): look for Caption instead of caption.
11390
11391 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11392
11393         * buffer.C (Buffer): initialize niceFile to true
11394         (makeLaTeXFile):
11395         (makeLinuxDocFile):
11396         (makeDocBookFile): make sure niceFile is true on exit
11397
11398 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11399
11400         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11401
11402 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11403
11404         * LyXSendto.C: remove.
11405         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11406         * lyx_gui.C: remove now-redundant comment.
11407         * ColorHandler.h: remove forward declaration of class WorkArea.
11408         * lyxfunc.C: remove #include "WorkArea.h".
11409
11410 2002-03-07  Juergen Vigna  <jug@sad.it>
11411
11412         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11413         got moved away with the DEPM and also set the inset_owner always
11414         right which before could have been omitted.
11415
11416 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11417
11418         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11419         wanted layout is not found.
11420
11421 2002-03-07  Juergen Vigna  <jug@sad.it>
11422
11423         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11424
11425 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11426
11427         * paragraph.C (breakParagraph): use default layout not layout of
11428         prev paragraph.
11429         (Paragraph): clear ParagraphParameters.
11430
11431 2002-03-06  Juergen Vigna  <jug@sad.it>
11432
11433         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11434         otherwise it would not be a valid lenght. Fixed a special case in
11435         the minipage compatibility read where we end the document with a
11436         minipage.
11437
11438         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11439         was set as it could be 0 for InsetTexts first entry.
11440
11441 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11442
11443         * paragraph.C (writeFile): if layout is empty write out
11444         defaultLayoutName().
11445
11446         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11447         file without named layout we set layout to defaultLayoutName().
11448
11449 2002-03-06  Juergen Vigna  <jug@sad.it>
11450
11451         * CutAndPaste.C (copySelection): set layout for new paragraph.
11452
11453         * text.C (prepareToPrint): leave ERT inset left aligned
11454         (leftMargin): don't indent paragraphs inside ERT insets
11455
11456 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11457
11458         * paragraph.C (breakParagraph): dont call clear do the work manually
11459
11460         * paragraph.[Ch] (clear): remove function
11461
11462 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11463
11464         * paragraph.C (Paragraph): dont call clear, the work has already
11465         been done.
11466
11467         * lyxtextclass.C (operator): assert if n is empty
11468
11469         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11470         work manually instead.
11471
11472 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11473
11474         * BufferView_pimpl.C: protect selectionLost against text == 0
11475
11476 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11477
11478         * text.C (breakParagraph): fix a setting layout to '0' problem.
11479
11480 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11481
11482         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11483         final location of file, for the included files, and graphics.
11484
11485 2002-03-05  Juergen Vigna  <jug@sad.it>
11486
11487         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11488
11489 2002-03-04  Juergen Vigna  <jug@sad.it>
11490
11491         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11492
11493         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11494         last column of multicolumn cells.
11495         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11496
11497 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11498
11499         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11500         file if it doesn't go to a temporary file.
11501
11502         * buffer.C (sgmlOpenTag):
11503         (sgmlCloseTag):  remove extra newline insertion.
11504
11505 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11506
11507         * text.C (getRowNearY): comment out debug msg
11508
11509 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11510
11511         * text2.C: first -> first_y
11512
11513         * text.C (getRowNearY): add some attemts at a possible
11514         optimization, not working.
11515
11516         * tabular.[Ch]: add BufferParams to several function so that newly
11517         created paragraph can be initialized to he default layotu for the
11518         buffers textclass.
11519
11520         * tabular-old.C (ReadOld): add buf->params to call of Init
11521
11522         * screen.C: rename text->first to text->first_y
11523
11524         * paragraph.C (breakParagraph): always set layout in the broken
11525         paragraph
11526
11527         * lyxtextclass.C (Read): remove lowercase
11528         (hasLayout): ditto
11529         (operator): ditto
11530         (delete_layout): ditto
11531
11532         * lyxtext.h: rename first -> first_y
11533
11534         * lyxlayout.C (Read): remove lowercase
11535         (name): ditto
11536         (setName): ditto
11537         (obsoleted_by): ditto
11538
11539         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11540
11541         * buffer.C (insertErtContents): add params are to InsetERT
11542         (parseSingleLyXformat2Token): add code to check if a paragraphs
11543         layout really exist.
11544         (parseSingleLyXformat2Token): add params to several inset
11545         constructors
11546         (asciiParagraph): remove lowercase, do the layout comparisons with
11547         no_case
11548
11549         * BufferView_pimpl.C (cursorNext): first -> first_y
11550         (resizeCurrentBuffer): first -> first_y
11551         (updateScrollbar): first -> first_y
11552         (scrollCB): first -> first_y
11553         (workAreaMotionNotify): first -> first_y
11554         (workAreaButtonPress): first -> first_y
11555         (checkInsetHit): first -> first_y
11556         (cursorPrevious): first -> first_y
11557         (cursorNext): first -> first_y
11558         (Dispatch): add buffer_->params to severl inset contructors
11559
11560 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11561
11562         * lyxlayout.C (Read): remove some debug info that I forgot.
11563
11564         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11565         clean up the code slightly.
11566         (makeLinuxDocFile): ditto
11567         (makeDocBookFile): ditto
11568
11569         * text2.C: layout as string
11570
11571         * text.C: layout as string
11572
11573         * paragraph_pimpl.C: layout as string
11574
11575         * paragraph.[Ch]: layout as string
11576
11577         * lyxtextclasslist.[Ch]: layout as string
11578
11579         * lyxtextclass.[Ch]: layout as string
11580
11581         * lyxtext.h: layout as string
11582
11583         * lyxlayout.[Ch]: layout as string
11584
11585         * lyx_cb.C: layout as string
11586
11587         * bufferview_funcs.C: layout as string
11588
11589         * bufferparams.C: layout as string
11590
11591         * buffer.C: layout as string
11592
11593         * LyXView.[Ch]: layout as string
11594
11595         * LaTeXFeatures.[Ch]: layout as string
11596
11597         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11598
11599         * BufferView_pimpl.C: change current_layout to string, remove
11600         lyx::layout_type.
11601         (Dispatch):
11602         (smartQuote):
11603         (insertInset):
11604         (workAreaButtonRelease): layout as string
11605
11606         * BufferView2.C (unlockInset): adjust
11607
11608         * vspace.C (asLatexCommand): use an explict temp variable.
11609
11610 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11611
11612         * Makefile.am: use FRONTEND_*
11613
11614 2002-03-01  Juergen Vigna  <jug@sad.it>
11615
11616         * tabular.C (SetWidthOfMulticolCell): changed to something better
11617         I hope but still work in progress.
11618         (recalculateMulticolumnsOfColumn): renamed function from
11619         recalculateMulticolCells as it is more appropriate now.
11620         (SetWidthOfCell): calculate multicols better.
11621
11622 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11623
11624         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11625
11626         * lyxfunc.C (processKeySym): print sequence also if it is
11627         `deleted' (complete)
11628
11629         * kbsequence.C (print): print sequence even if it is deleted
11630         (complete would be a better word, actually).
11631
11632         * lyxfunc.C (dispatch): print complete options after a prefix key
11633
11634         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11635
11636 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11637
11638         * text2.C (setCharFont): eliminate setCharFont code duplication.
11639
11640 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11641
11642         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11643         LFUN_TABULAR_FEATURE (bug #177)
11644
11645 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11646
11647         * Makefile.am: remove figure.h
11648
11649 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11650
11651         * Bufferview_pimpl.C:
11652         * CutAndPasteC:
11653         * LaTeX.C:
11654         * LyXSendto.C:
11655         * buffer.C:
11656         * bufferlist.C:
11657         * converter.C:
11658         * language.C:
11659         * lyxfunc.C:
11660         * lyxvc.C:
11661         * paragraph.C:
11662         * text.C:
11663         * text2.C: remove #include "lyx_gui_misc.h".
11664
11665         * LaTeX.C: added #include <cstdio>
11666
11667 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11668
11669         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11670         that the paragraph following this one can have.
11671
11672         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11673
11674         * vspace.C (asLatexCommand): fix bogus gcc warning
11675
11676         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11677
11678 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11679
11680         * text2.C (setLayout): get rid of redundant code
11681
11682 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11683
11684         * text2.C (incDepth): make sure depth cannot be increased beyond
11685         reasonable values.
11686
11687 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11688
11689         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11690         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11691
11692         * PainterBase.h (image):
11693         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11694         a LyXImage const *.
11695
11696 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11697
11698         * BufferView.C:
11699         * BufferView.h:
11700         * BufferView_pimpl.C:
11701         * BufferView_pimpl.h:
11702         * LaTeXFeatures.C:
11703         * LyXAction.C:
11704         * LyXView.C:
11705         * Makefile.am:
11706         * UpdateList.h:
11707         * UpdateList.C:
11708         * buffer.C:
11709         * figure.h:
11710         * figureForm.C:
11711         * figureForm.h:
11712         * figure_form.C:
11713         * figure_form.h:
11714         * lyx_cb.C:
11715         * lyx_gui.C:
11716         * lyx_gui_misc.C:
11717         * lyxfunc.C:
11718         * sp_base.h:
11719         * sp_ispell.h:
11720         * sp_pspell.h:
11721         * sp_spell.C: remove fig inset, and the crap house of
11722           cards that follows it
11723
11724 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11725
11726         * Makefile.am:
11727         * lyxserver.C:
11728         * os2_defines.h:
11729         * os2_errortable.h:
11730         * nt_defines.h: move .h into support/
11731
11732         * vms_defines.h: remove
11733
11734         * WorkArea.C: add space in debug output
11735
11736         * text2.C:
11737         * paragraph.C:
11738         * buffer.C: add WITH_WARNINGS
11739
11740         * vc-backend.h:
11741         * vc-backend.C:
11742         * bufferlist.C: s/retrive/retrieve/, add docs
11743
11744         * vspace.h:
11745         * vspace.C:
11746         * kbmap.h:
11747         * lyxlength.h:
11748         * lyxgluelength.h:
11749         * length_common.h:
11750         * chset.h:
11751         * chset.C: add docs
11752
11753         * lyxgui.C: add ID to X error handler
11754
11755         * lyxtestclass.c: fix typo
11756
11757 2002-02-26  Juergen Vigna  <jug@sad.it>
11758
11759         * tabular_funcs.C (write_attribute): changed so that some default
11760         attributes are not written at all.
11761         (getTokenValue): set default values before trying to read the
11762         value so we have the return value always set as default if we don't
11763         find the token we search for.
11764
11765         * tabular.C (Write): write bools as bools not as strings!
11766
11767 2002-02-22  Juergen Vigna  <jug@sad.it>
11768
11769         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11770         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11771
11772         * text.C (leftMargin): don't add an indent for paragraphs inside
11773         tabular cells (fix #208).
11774
11775 2002-02-21  José Matos  <jamatos@fep.up.pt>
11776
11777         * tabular.C (docBook): fixed support for long tables.
11778
11779 2002-02-20  Juergen Vigna  <jug@sad.it>
11780
11781         * text2.C (getFont): get the drawing font of the Inset if this
11782         paragraph is inside an inset (only important for InsetERT for now).
11783
11784         * buffer.C (insertErtContents): use new lanugage params in ERT
11785         constructor.
11786
11787         * CutAndPaste.C: commenting out seemingly uneeded code.
11788
11789 2002-02-19  Allan Rae  <rae@lyx.org>
11790
11791         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11792         Iterators might be simple to use but they also get invalidated.
11793         (removeAutoInsets): renamed saved cursor tracking variables and added
11794         some comments to clarify what everything does.
11795
11796 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11797
11798         * Chktex.C:
11799         * LaTeX.C:
11800         * LyXSendto.C:
11801         * converter.C:
11802         * lyx_cb.C:
11803         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11804         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11805
11806         * lyxfunc.C:
11807         * vc-backend.h: remove #include "support/syscall.h"
11808
11809         * LaTeX.C:
11810         * LyXSendto.C:
11811         * converter.C: rearrange #includes in Lars' approved fashion.
11812
11813         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11814         forward declare class Timeout in the header file.
11815
11816         * XFormsView.C: changes due to the above.
11817
11818         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11819         similar to LyXView.
11820
11821         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11822         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11823
11824 2002-02-18  José Matos  <jamatos@fep.up.pt>
11825
11826         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11827         insets contents.
11828
11829 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11830
11831         * a lot of small ws changes
11832         * add a lot of using std::XXX
11833         * use std construcs some places where approp.
11834         * use some exisint stuff from lyxfunctional where approp.
11835         * Make file changes to use partial linking (lets test this now...)
11836
11837 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11838
11839         * Chktex.C:
11840         * buffer.C:
11841         remove #include "support/syscontr.h" as it's redundant. Always has been.
11842
11843         * Chktex.C:
11844         * LaTeX.C:
11845         * LyXSendto.C:
11846         * converter.C:
11847         * lyx_cb.C:
11848         * vc-backend.C:
11849         change Systemcalls::System to Systemcalls::Wait and
11850         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11851         No change of functionality, just reflects the stripped down Systemcalls
11852         class.
11853
11854 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11855
11856         * debug.[Ch]: add a GRAPHICS type to the enum.
11857
11858 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11859
11860         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11861
11862         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11863         there is an inset.
11864
11865 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11866
11867         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11868         match the changes below.
11869
11870         * text2.C (toggleInset): if there is not editable inset at cursor
11871         position, try to see if cursor is _inside_ a collapsable inset
11872         and close it.
11873
11874 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11875
11876         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11877         document menu has a nice checkbox
11878
11879 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11880
11881         * lyxlength.C (asLatexString): change PW to output as percent of
11882         \textwidth.
11883
11884         * lengthcommon.C: change '%' to 't%'
11885
11886         * lyxfunc.C (dispatch): a few comments from Martin
11887
11888 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11889
11890         * WorkArea.h:
11891         * WorkArea.C:
11892         * BufferView_pimpl.h:
11893         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11894           the X selection.
11895
11896 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11897
11898         * vspace.C (inPixels): fix compiler warning
11899
11900 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11901
11902         * lyxfunc.C (getStatus): fix status message for disabled commands.
11903
11904 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11905
11906         * BufferView_pimpl.C: fix crash on close buffer
11907         during selection (#227)
11908
11909 2002-01-27  Herbert Voss  <voss@lyx.org>
11910
11911         * buffer.C: link old Figure to new graphic inset
11912
11913 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11914
11915         * FontLoader.C (getFontinfo): Change the latex font names in order
11916         to match the names of type1inst.
11917
11918 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11919
11920         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11921
11922         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11923         (extchanged): ditto
11924         (ext_exist): ditto
11925         (remove_files_with_extension): ditto
11926         (remove_file): ditto
11927         (write): ditto
11928
11929         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11930         document is smaller than the work area height. Do not initialize
11931         static variables to 0.
11932
11933 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11934
11935         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11936
11937         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11938         LFUN_LAYOUT_PARAGRAPHS.
11939
11940         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11941         tabular. It is possible to provide a possible cell, which will
11942         typically be the actcell from the corresponding insettabular
11943
11944         * lyxfunc.C (getStatus): small cleanup; disable
11945         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11946         true
11947
11948 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11949
11950         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11951
11952         * paragraph.C (startTeXParParams):
11953         (endTeXParParams): new methods. The LaTeX code to
11954         start/end paragraph formatting
11955         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11956         empty (fixes bug #200)
11957
11958         * vspace.C (inPixels): adapt to the change below
11959         (inPixels): [later] more cleanups (remove unused variables)
11960
11961         * lyxlength.C (inPixels): change to use a width and a height as
11962         parameter.
11963
11964 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11965
11966         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11967         Replaced with \paperwidth
11968
11969         * DepTable.C (insert): add std:: qualifier
11970
11971 2002-01-18  Allan Rae  <rae@lyx.org>
11972
11973         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11974         updated also?
11975
11976         * text.C (drawInset): Turned out I didn't know enough about how
11977         rebreaking worked.  This fixes most of the redraw problems.  I see
11978         an occasional cursor trail when a line is broken now and the cursor
11979         placement can seem out by a few pixels also after a rebreak.
11980
11981 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11982
11983         * buffer.C (parseSingleLyXformat2Token): update because minipage
11984         width is now a LyXLength
11985
11986         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11987
11988         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11989         math insets
11990
11991 2002-01-17  Juergen Vigna  <jug@sad.it>
11992
11993         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11994
11995         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11996         is set correctly and the inset is updated correctly.
11997
11998 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11999
12000         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12001         the beginning of the loop.
12002
12003 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12004
12005         * lyxrc.C: improve help for use_scalable_fonts
12006
12007 2002-01-17  Allan Rae  <rae@lyx.org>
12008
12009         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12010
12011 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12012
12013         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12014         make sure to set their inset_owner to the right value (bug #171)
12015
12016 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12017
12018         * DepTable.h
12019         * DepTable.C: Implement mtime checking to reduce time spent doing
12020         CRCs.
12021
12022 2002-01-16  Juergen Vigna  <jug@sad.it>
12023
12024         * tabular.C (GetAdditionalHeight): one of error fixed.
12025
12026         * lyxrc.C (output): small fix in writing use_pspell.
12027
12028 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12029
12030         * sp_base.h: #include LString.h
12031
12032 2002-01-16  Allan Rae  <rae@lyx.org>
12033
12034         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12035         Can someone check this please?
12036
12037         * text.C (drawInset): It was possible that p.row would be removed by
12038         breakAgainOneRow upsetting a few other settings.  There may be another
12039         small tweak possible by setting need_break_row = 0 when p.row has been
12040         removed but I don't know enough about the logic here.
12041
12042 2002-01-15  Allan Rae  <rae@lyx.org>
12043
12044         * text.C (insertChar): removed conditional truism.
12045
12046         * BufferView2.C (removeAutoInsets): More tweaks.
12047         cur_par_prev could be a stray pointer.  Check for trailing empty line
12048         in case last line was cur_par and only had an error inset on it.
12049
12050 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12051
12052         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12053         absolute
12054
12055         * vc-backend.C (most methods):
12056         * exporter.C (Export):
12057         * converter.C (convert):
12058         (runLaTeX):
12059         * LyXSendto.C (SendtoApplyCB):
12060         * lyxfunc.C (dispatch):
12061         (menuNew):
12062         (open):
12063         (doImport):
12064         * lyx_cb.C (AutoSave):
12065         (InsertAsciiFile):
12066         * BufferView_pimpl.C (MenuInsertLyXFile):
12067         * buffer.C (runChktex): use Buffer::filePath().
12068
12069         * buffer.h: rename filename to filename_; rename filepath to
12070         filepath_ and make it private
12071         (filePath): new method
12072
12073         * buffer.C (writeFile): use fileName()
12074         (getLatexName):
12075
12076         * lyx_main.C (init): fix starting  of LyX when the binary is a
12077         link from so,ewhere else.
12078
12079         * minibuffer.C: include <cctype> for isprint
12080
12081 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12082
12083         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12084         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12085         name clash with InsetCollapsable's width function.
12086
12087 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12088
12089         * lastfiles.C: include <iterator>
12090
12091 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12092
12093         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12094         std::count.
12095
12096         * buffer.C (makeLaTeXFile): ditto.
12097         Also make loop operation more transparent.
12098
12099 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12100
12101         * ToolbarDefaults.C: remove trailing comma closing namespace.
12102
12103         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12104
12105         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12106         as in WorkArea.
12107
12108         * trans.C (Load): comment out unused variable, allowed.
12109
12110 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12111
12112         * minibuffer.[Ch] (append_char): new method to recieve input from the
12113         drop-down completion browser. If a key was pressed, then recieve this
12114         char and append it to the existing string.
12115         (peek_event): modify the positioning data passed to the completion
12116         browser so that it can be placed above the minibuffer rather than below.
12117 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12118
12119         * LyXAction.C (init): alloe error-next for readonly documents.
12120
12121         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12122         count.
12123
12124 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12125
12126         * bufferlist.C (readFile): create the buffer _after_ checking that
12127         the file exists.
12128
12129         * lyxfunc.C (verboseDispatch): fix handling of arguments
12130
12131         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12132
12133         * lyxrc.C: use string::erase() instead of initializing to "".
12134
12135
12136 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12137
12138         * BufferView_pimpl.h:
12139         * BufferView_pimpl.C:
12140         * WorkArea.h:
12141         * WorkArea.C:
12142         * text2.C: tell X when we have made a selection for copying
12143
12144 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12145
12146         * BufferView_pimpl.C (MenuInsertLyXFile):
12147         * lyxfunc.C (menuNew):
12148         (open):
12149         (doImport): add shortcuts to directory buttons
12150
12151         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12152         open a float)
12153
12154         * lyxfunc.C (setStatusMessage):
12155         (getStatusMessage): new methods
12156         (getStatus):use setStatusMessage instead of setErrorMessage
12157         (dispatch): when function is disabled, set error message here
12158         [instead of in getStatus previously]
12159
12160         * BufferView_pimpl.C (workAreaButtonRelease): update
12161         toolbar/menubar here too.
12162
12163 2002-01-13  Allan Rae  <rae@lyx.org>
12164
12165         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12166         Now seems indestructible.  Remaining task is to audit all other
12167         code affected by deleteEmptyParagraphMechanism.  One small quirk
12168         left is that an empty document with an error in the preamble can
12169         be made to report an error but no error box appears.  I don't know
12170         where it goes.
12171         (removeAutoInsets): Improved comments.
12172
12173 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12174
12175         * Thesaurus.h:
12176         * Thesaurus.C: update for Aiksaurus 0.14
12177
12178 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12179
12180         * text2.C (firstParagraph): removed member function, all uses
12181         replaces with ownerParagraph
12182         (redoParagraphs): here
12183         (updateInset): here
12184         (toggleAppendix): here
12185         * BufferView2.C (insertErrors): here
12186         (setCursorFromRow): here
12187
12188 2002-01-13  Allan Rae  <rae@lyx.org>
12189
12190         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12191         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12192         There is still a way to segfault this although you may have to do this
12193         multiple times: Have an InsetERT with an unknown command in it.
12194         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12195         <down-arrow>, <Enter> again, View->DVI, BANG!
12196
12197         * text2.C (setCursor):
12198         (deleteEmptyParagraphMechanism):
12199         * lyxtext.h (setCursor):
12200         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12201         Making use of the return value may help fix other bugs.
12202
12203 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12204
12205         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12206
12207         * LyXView.C (updateMenubar): call MenuBar::update here
12208         (updateToolbar): but not here
12209         (showState): do not update toolbar/menubar
12210
12211         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12212         should need to care about that.
12213
12214         * lyxfunc.C (verboseDispatch): simplify a bit
12215         (getStatus): have a version which takes a pseudoaction, and
12216         another which requires a (kb_action,string).
12217
12218         * LyXAction.C (retrieveActionArg): make it work also when action
12219         is not a pseudo-action.
12220         (getActionName): simplify a bit
12221         (helpText):
12222
12223 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12224
12225         * lyxfunc.C (verboseDispatch): new families of methods with
12226         several ways to specify a command and a bool to indicate whether
12227         the command name and shortcut should be displayed in minibuffer
12228         (eventually, we could extend that to a finer bitmask like
12229         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12230         (dispatch): the pristine dispatch command which just, well,
12231         dispatchs! Note it still sets its result to minibuffer; I'm not
12232         sure we want that.
12233
12234         * lyxfunc.h: remove setHintMessage
12235
12236         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12237
12238 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12239
12240         * BufferView_pimpl.C (specialChar): delete new inset if we have
12241         not been able to insert it.
12242
12243         * kbmap.C: revert to using int instead of kb_action, since all we
12244         are dealing with is pseudo-actions.
12245
12246         * LyXAction.C (searchActionArg): change to return int instead of
12247         kb_action, since the result is a pseudoaction.
12248
12249 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12250
12251         * buffer.C (insertErtContents): Fix (partially) the font bug.
12252
12253 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12254
12255         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12256         as the other one is broken on my machine!
12257
12258 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12259
12260         * commandtags.h:
12261         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12262
12263 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12264
12265         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12266         reflect their actual use. Provide compatibility code for older lyxrc
12267         files.
12268
12269         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12270         FL_NORMAL_STYLE.
12271         change names of popup font variables in line with the changes to lyxrc.C
12272
12273 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12274
12275         * buffer.C (asciiParagraph): avoid outputing a word twice after
12276         an inset.
12277
12278         * lyxrc.C (getDescription): document that document_path and
12279         template_path can be empty.
12280
12281 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12282
12283         * LaTeXFeatures.C (getMacros):
12284         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12285
12286         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12287
12288         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12289         getPackages.
12290         (getPackages): rename feature "floats" to "float". Use an array to
12291         iterate over 'simple' features (i.e. just a \usepackage). Add
12292         handling of "amsmath" (renamed from "amsstyle").
12293
12294 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12295
12296         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12297         features list.
12298
12299 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12300
12301         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12302         FuncStaus::FuncStatus & FuncStaus::some_method().
12303
12304 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12305
12306         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12307         of the func_satus stuff. Edited and massaged in various ways by
12308         JMarc.
12309
12310         * lyxfunc.C (getStatus): use FuncStatus
12311
12312 2002-01-08  Juergen Vigna  <jug@sad.it>
12313
12314         * text.C (nextBreakPoint): use function Inset::isChar().
12315
12316         * paragraph.C (TeXOnePar): use function
12317         Inset::forceDefaultParagraphs.
12318
12319         * buffer.C (latexParagraphs): use function
12320         Inset::forceDefaultParagraphs.
12321
12322 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12323
12324         * lyx_gui.C (init): set the style of the menu popups to
12325         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12326
12327 2002-01-07  Juergen Vigna  <jug@sad.it>
12328
12329         * text.C (setHeightOfRow): small fix
12330         (prepareToPrint): don't look at alignment if we don't have the place
12331         for doing it.
12332
12333 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12334
12335         * box.C: New file. Move the Box methods and functions out of box.h,
12336         following Lars' suggestion.
12337
12338 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12339
12340         * box.h: #include "support/LOstream.h", needed for inlined function.
12341
12342         * lyxtextclass.C:
12343         * lyxtextclasslist.C: added some using std declarations.
12344
12345 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12346
12347         * box.h: make signed dimensions to allow insets wider than
12348           the screen (bug #162)
12349
12350         * BufferView_pimpl.C: add some insetHit debug
12351
12352 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12353
12354         * vc-backend.C: add FIXME
12355
12356 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12357
12358         * lyxfunc.C (getStatus): enable code for showing math font status
12359         in toolbar/menu.
12360
12361 2002-01-07  Juergen Vigna  <jug@sad.it>
12362
12363         * text.C (nextBreakPoint): removed debug output not needed anymore.
12364
12365 2002-01-06  Juergen Vigna  <jug@sad.it>
12366
12367         * text.C (nextBreakPoint): fixed up this function we had this bug
12368         since ever but now hopefully we break row better.
12369         (insertChar): we have to check if an inset is the next char as it
12370         could now happen that a large inset is causing a break.
12371
12372 2002-01-05  Juergen Vigna  <jug@sad.it>
12373
12374         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12375         if it doesn't like to be drawed.
12376
12377 2002-01-04  Juergen Vigna  <jug@sad.it>
12378
12379         * BufferView2.C (lockInset): forgot to set a cursor.
12380
12381         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12382
12383 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12384
12385         * FormMathsPanel.C:
12386         * FormMathsPanel.h
12387         * MathsSymbols.C:
12388         * form_maths_panel.C:
12389         * form_maths_panel.h:
12390         * form_maths_panel.fd: implemented sub- and super- buttons in math
12391         panel.
12392
12393         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12394         (or ^ space) to be used as in TeX (req'd by André).
12395
12396         * lyxfunc.C: Allow ^ and _ again to be used both as
12397         super/subscript (mathed) and as themselves (in text).
12398
12399 2002-01-03  Allan Rae  <rae@lyx.org>
12400
12401         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12402         "LyX" or the filename of the current buffer if it has one.  This is a
12403         modified form of John Levon's patch.
12404
12405         * XFormsView.C (setWindowTitle): also set icon title.
12406
12407         * LyXView.h (setWindowTitle): signature changed.
12408         * XFormsView.h (setWindowTitle): ditto.
12409
12410 2002-01-02  Juergen Vigna  <jug@sad.it>
12411
12412         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12413
12414 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12415
12416         * screen.C (topCursorVisible): introduce a temp var for
12417         text->cursor.row(), handle the case where this row is null. (kindo
12418         hachish)
12419
12420         * text2.C (setCursor): add a couple of asserts.
12421
12422         * paragraph.h (inset_iterator): add -> operator
12423
12424         * paragraph.[Ch] (autoDeleteInsets): remove member function
12425
12426         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12427         cursor pos correctly and handle inset deletion by itself.
12428         (insertErrors): move iterator declaration out of for expression
12429
12430         * lyxtextclass.C: add <algorithm>
12431
12432         * Makefile.am: added the new files to sources, removed layout.C
12433
12434         * layout.C: removed file
12435
12436         * layout.h: remove LYX_DUMMY_LAYOUT
12437
12438         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12439         layout.
12440
12441         * lyxlayout.[Ch]:
12442         * lyxtextclass.[Ch]:
12443         * lyxtextclasslist.[Ch]: new files
12444
12445         * include order changes to a lot of files, also changes because of
12446         the six new files.
12447
12448 2001-12-27  Juergen Vigna  <jug@sad.it>
12449
12450         * buffer.C (asciiParagraph): more fixes.
12451
12452         * tabular.C (ascii): make ascii export support export of only the
12453         data separated by a column-delimiter.
12454         (ascii): better support for ascii export.
12455
12456         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12457
12458 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12459
12460         * tabular_funcs.C: use a "using std::getline" instead of the
12461         previous fix from Angus (necessary for cxx + lyxstring)
12462
12463 2001-12-24  Juergen Vigna  <jug@sad.it>
12464
12465         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12466
12467         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12468         problems. First check a minipage also if we have some ert-contents
12469         (not only on par->size(), second set the right depth of the paragraph
12470         on the relink to the root-paragraph-list!
12471
12472         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12473         which then did not anymore update the main paragraphs on undo/redo!
12474
12475 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12476
12477         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12478         code. Support all font-changing funcs (even those which are not in
12479         menu currently). Support for reporting font settings in
12480         mathed (disabled until Andre provides a function on mathed's side).
12481
12482         * func_status.h (toggle): small helper function to set toggle
12483         state on a flag.
12484
12485 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12486
12487         * tabular_funcs.C: getline -> std::getline
12488
12489 2001-12-21  Juergen Vigna  <jug@sad.it>
12490
12491         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12492         accessed and could be 0 (I couldn't generate this but it seems
12493         Michael could!).
12494
12495 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12496
12497         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12498         * tabular_funcs.h: here and include iosfwd
12499
12500 2001-12-20  Juergen Vigna  <jug@sad.it>
12501
12502         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12503         inside inset but undo_par was.
12504
12505 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12506
12507         * Thesaurus.C: always include <config.h> in sources.
12508
12509         * Painter.h:
12510         * lyxlookup.h:
12511         * box.h: do not include <config.h> in header files
12512
12513         * text.C (paintLastRow): remove unused variable
12514
12515         * text.C (transformChar):
12516         (insertChar):
12517         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12518
12519         * Painter.C (text):
12520         * font.C (width): rewrite to use uppercase() instead of
12521         islower/toupper.
12522
12523         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12524
12525 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12526
12527         * lyxfind.C: clean up of find failure position change
12528
12529 2001-12-20  Juergen Vigna  <jug@sad.it>
12530
12531         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12532
12533         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12534         (TeXRow): added to LaTeX a single tabular row.
12535         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12536         (Latex): simplified and finally good LT-h/f support.
12537         (various_functions): just small adaptions for LT-h/f support.
12538
12539         * tabular_funcs.[hC]: added and moved here all not classfunctions
12540         of LyXTabular.
12541
12542 2001-12-19  Juergen Vigna  <jug@sad.it>
12543
12544         * tabular.[Ch]: better support for longtabular options (not finished
12545         yet!)
12546
12547 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12548
12549         * text.C (paintLastRow): use the label font instead of the font of
12550         the last character to compute the size of *_BOX. This makes more
12551         sense and avoids a crash with empty paragraphs.
12552         Use Painter::rectangle to draw EMPTY_BOX.
12553
12554 2001-12-19  Juergen Vigna  <jug@sad.it>
12555
12556         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12557         the paragraphs if the replaced paragraph is not the first one!
12558         Tried to delete not used paragraphs but does not work yet so for
12559         now it's inside #ifdef's and by default off!
12560
12561 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12562
12563         * MenuBackend.C: include "lyx_main.h" instead of declaring
12564         lastfiles (actually was declared as LastFiles* instead of a
12565         scoped_ptr).
12566
12567 2001-12-17  Juergen Vigna  <jug@sad.it>
12568
12569         * tabular.C (AppendColumn): applied John's fix
12570
12571 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12572
12573         * BufferView.h:
12574         * BufferView.C:
12575         * BufferView_pimpl.h:
12576         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12577
12578         * Makefile.am:
12579         * box.h: new start of class for above
12580
12581         * lyxfunc.C: ignore space-only minibuffer dispatches.
12582           Show the command name when it doesn't exist
12583
12584         * minibuffer.C: don't add empty lines to the history
12585
12586         * minibuffer.C: add a space on dropdown completion
12587
12588 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12589
12590         * text.C: fix line above/below drawing in insets
12591
12592 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12593
12594         * lyxlength.C (LyXLength): Initialize private variables.
12595
12596 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12597
12598         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12599         when inserting error insets.
12600
12601 2001-12-13  Juergen Vigna  <jug@sad.it>
12602
12603         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12604         actually sometimes the before-paragraph.
12605         (setUndo): don't clear the redostack if we're not actually undoing!
12606
12607 2001-12-06  Juergen Vigna  <jug@sad.it>
12608
12609         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12610         and fixed redoing of main paragraph, so we can use it now ;)
12611
12612         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12613
12614 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12615
12616         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12617         Juergen's request
12618
12619 2001-12-13  André Pönitz <poenitz@gmx.net>
12620
12621         * undostack.[Ch]:
12622         * undo_func.C: minor cleanup
12623
12624 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12625
12626         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12627         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12628         font in urw-fonts package which is marked as -urw-fontspecific and
12629         does not work (incidentally, changing the encoding in the
12630         fonts.dir of this package to -adobe-fontspecific fixes the
12631         problem).
12632
12633         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12634         is a crash when undoing first paragraph (Juergen, please take a
12635         look). THis does not mean the undo fix is wrong, just that it
12636         uncovers problems.
12637
12638         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12639         the (Paragraph*) version when needed instead of duplicating the
12640         code.
12641
12642         * text.C (workWidth): use Inset::parOwner to find out where the
12643         inset has been inserted. This is a huge performance gain for large
12644         documents with lots of insets. If Inset::parOwner is not set, fall
12645         back on the brute force method
12646
12647         * paragraph_pimpl.C (insertInset):
12648         * paragraph.C (Paragraph):
12649         (cutIntoMinibuffer): set parOwner of insets when
12650         inserting/removing them
12651
12652         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12653
12654 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12655
12656         * commandtags.h:
12657         * LyXAction.C:
12658         * lyx_main.C:
12659         * lyxfunc.C:
12660         * mathed/formulabase.C:
12661         * mathed/math_cursor.[Ch]:
12662         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12663
12664
12665 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12666
12667         * lyxlength.[Ch] (operator!=): new function
12668
12669 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12670
12671         * text.C (workWidth): use Inset::parOwner to find out where the
12672         inset has been inserted. This is a huge performance gain for large
12673         documents with lots of insets. If Inset::parOwner is not set, fall
12674         back on the brute force method
12675
12676         * paragraph_pimpl.C (insertInset):
12677         * paragraph.C (Paragraph):
12678         (cutIntoMinibuffer): set parOwner of insets when
12679         inserting/removing them
12680
12681         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12682
12683 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12684
12685         * tabular-old.C (getTokenValue):
12686         * tabular.C (getTokenValue):
12687         (write_attribute): new versions for LyXLength
12688         (everywhere): adjust the use of widths
12689
12690         * tabular.h: change the type of widths from string to LyXLength
12691
12692 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12693
12694         * paragraph.C: fixed missing line number count when exporting
12695         Environments to LaTeX file
12696
12697         * buffer.C: added informational message for checking line numbers.
12698
12699 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12700
12701         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12702         paragraph, do the 'double space' part, but not the 'empty
12703         paragraph' one.
12704
12705         * text.C (workWidth): small optimization
12706         (getLengthMarkerHeight): use minimal size for negative lengths.
12707
12708 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12709
12710         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12711
12712         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12713
12714 2001-12-11  André Pönitz <poenitz@gmx.net>
12715
12716         * FontLoader.C:
12717         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12718
12719 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12720
12721         * text2.C: keep selection on a setFont()
12722
12723 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12724
12725         * lyx_cb.C: another bv->text misuse, from insert label
12726
12727 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12728
12729         * kbsequence.h:
12730         * kbsequence.C: re-instate nmodifier mask
12731
12732 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12733
12734         * lyx_main.h: make lyxGUI private.
12735
12736 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12737
12738         * lyxfind.C: place the cursor correctly on failed search
12739
12740 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12741
12742         * text.C (getLengthMarkerHeight): for small heights, the arrows
12743         are not always on top/bottom of the text
12744         (drawLengthMarker): smaller arrows; take the left margin in
12745         account; draw also vfills.
12746         (paintFirstRow):
12747         (paintLastRow): remove special code for vfill and standard spaces,
12748         since everything is handled in drawLengthMarker now.
12749
12750 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12751
12752         * buffer.C (insertErtContents): try to handle font and language
12753         interaction a bit better.g
12754
12755         * ColorHandler.C (updateColor): change the hash to cover the whole
12756         LColor enum, ws cleanup
12757         (getGCLinepars): ditto
12758         (getGCLinepars): only lookup in the linecache once.
12759
12760 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12761
12762         * iterators.C (operator++): Make the iterator more robust
12763
12764         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12765         (John's patch)
12766         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12767
12768 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12769
12770         * lyxtext.h:
12771         * text.C: better added space drawing
12772
12773 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12774
12775         * LyXView.C:
12776         * BufferView2.C: fix layout combo update on inset unlock
12777
12778 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12779
12780         * Makefile.am: don't compile unused files
12781
12782 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12783
12784         * lyxfunc.C:
12785         * commandtags.h:
12786         * LyXAction.C: remove old LFUN_LAYOUTNO
12787
12788 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12789
12790         * paragraph_pimpl.h:
12791         * paragraph_pimpl.C: isTextAt() doesn't need font param
12792
12793 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12794
12795         * lyxlex.h:
12796         * lyxlex.C: little cleanup
12797
12798 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12799
12800         * BufferView_pimpl.C: fix insertAscii for insets
12801
12802 2001-12-05  Juergen Vigna  <jug@sad.it>
12803
12804         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12805         set the right font on the "multi" paragraph paste!
12806
12807 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12808
12809         * trans_decl.h:
12810         * trans_mgr.[Ch]:
12811         * trans.[Ch]:
12812         * lyxgluelength.C:
12813         * lyxlength.C: remove out-commented code.
12814
12815         * BufferView_pimpl:
12816         * CutAndPaste.C:
12817         * DepTable.C:
12818         * buffer.C:
12819         * chset.C:
12820         * lastfiles.C:
12821         * lyxlex.C:
12822         * lyxlex_pimpl.C:
12823         * lyxserver.C:
12824         * screen.C:
12825         * tabular-old.C:
12826         * tabular.C:
12827         * text.C:
12828         * trans_mgr.C:
12829         * vc-backend.C: change "while(" to "while ("
12830
12831         * lyxlength.[Ch]: add zero function to check if length is zero or
12832         not
12833         * lyxgluelength.C: use it
12834
12835 2001-12-05  Allan Rae  <rae@lyx.org>
12836
12837         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12838         Works for 2.95.3, from what I understand of Garst's reports this should
12839         work for other g++ versions.  We're screwed if the abs(int) definition
12840         changed between bugfix releases of gcc.
12841
12842 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12843
12844         * text.C: fix chapter label offset !
12845
12846 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12847
12848         * lyxtext.h:
12849         * text.C: fix hfill at end of line, clean up
12850
12851 2001-12-04  Juergen Vigna  <jug@sad.it>
12852
12853         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12854         that we force an update of the inset and it's owners if neccessary.
12855
12856 2001-12-03  Juergen Vigna  <jug@sad.it>
12857
12858         * text.C (rowLast): simplified code
12859
12860 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12861
12862         * lyxfunc.C: fix show options on timeout
12863
12864 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12865
12866         * screen.C (topCursorVisible): scroll half a page when the cursor
12867         reached top of bottom of screen
12868
12869 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12870
12871         * minibuffer.C: deactivate on loss of focus
12872
12873 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12874
12875         * vspace.[Ch] (operator!=): add operator.
12876
12877 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12878
12879         * BufferView_pimpl.C: refuse to open an inset when
12880         there's a selection.
12881
12882 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12883
12884         * BufferView_pimpl.C: allow to click on RHS of full row insets
12885
12886 2001-11-30  Juergen Vigna  <jug@sad.it>
12887
12888         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12889         insets for undo reasons.
12890
12891 2001-11-28  André Pönitz <poenitz@gmx.net>
12892
12893         * vspace.[Ch]: cosmetical changes
12894
12895 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12896
12897         * LyXAction.h:
12898         * LyXAction.C:
12899         * lyxfunc.h:
12900         * lyxfunc.C:
12901         * kbmap.h:
12902         * kbmap.C:
12903         * lyxrc.C:
12904         * kbsequence.h:
12905         * kbsequence.C: part re-write of old kb code
12906
12907         * Painter.C:
12908         * WorkArea.C: remove Lgb_bug_find_hack
12909
12910 2001-11-30  José Matos <jamatos@fep.up.pt>
12911
12912         * buffer.C (makeDocBookFile): add a comment to point a hack.
12913         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12914         Fixed a double write of labels.
12915
12916 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12917
12918         * LaTeX.C:
12919         * LaTeX.h Fixed bug in LaTeX class where it would not
12920         re-run latex if no depfiles were changed, but the .dvi was removed.
12921
12922 2001-11-28  André Pönitz <poenitz@gmx.net>
12923
12924         * all the files from the change on 2001/11/26:
12925         use lyx::layout_type instead of LyXTextClass::size_type
12926         use lyx::textclass_type instead of LyXTextClassList::size_type
12927
12928 2001-11-29  Juergen Vigna  <jug@sad.it>
12929
12930         * text.C: added support for paragraph::isFreeSpacing()
12931
12932         * buffer.C: same as above
12933
12934         * paragraph.h: inserted isFreeSpacing() function to enable
12935         FreeSpacing inside InsetERT.
12936
12937         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12938         of the paragraph's in the cut/copy buffer to 0!
12939
12940         * text2.C (removeRow): remove the assert as it can!
12941
12942         * lyxtext.h: added helper function firstRow returning firstrow and
12943         made firstrow private again.
12944
12945         * BufferView2.C (lockInset): don't relock if we're already locked!
12946
12947         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12948         the only paragraph.
12949         (removeRow): added Assert::(firstrow)
12950
12951         * debug.C: forgot to add INSETTEXT here.
12952
12953 2001-11-28  Juergen Vigna  <jug@sad.it>
12954
12955         * sp_spell.C (initialize): changed error text to more general
12956         spellchecker command use (not only ispell!)
12957
12958         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12959
12960         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12961
12962 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12963
12964         * vspace.C: initialise lyxgluelength on failure
12965
12966 2001-11-28  Allan Rae  <rae@lyx.org>
12967
12968         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12969         declaration & definition that looks like a function declaration.
12970
12971 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12972
12973         * BufferView2.C (copy):
12974         (copyEnvironment): do not clear the selection when doing a copy.
12975
12976         * text.C (paintFirstRow): compilation fix
12977
12978 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12979
12980         * tabular.C (Latex): correct line count when writing latex.
12981
12982 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12983
12984         * paragraph_pimpl.h:
12985         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12986           bug a bit
12987
12988 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12989
12990         * text.C:
12991         * LColor.h:
12992         * LColor.C: change vfillline->added_space
12993
12994         * text.C: add markers and text for added space
12995
12996         * vspace.C: fix comment
12997
12998 2001-11-28  André Pönitz <poenitz@gmx.net>
12999
13000         * paragraph.C: whitespace changes
13001         * all the other files from the change on 2001/11/26:
13002         change *::pos_type into lyx::pos_type
13003
13004 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13005
13006         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13007         language of the document when inserting error insets.
13008
13009 2001-11-26  André Pönitz <poenitz@gmx.net>
13010
13011         * BufferView_pimpl.[Ch]:
13012         *       CutAndPaste.C:
13013         * buffer.[Ch]:
13014         * lyxcursor.[Ch]:
13015         * lyxfind.C:
13016         * lyxfunc.C:
13017         * lyxrow.[Ch]:
13018         * paragraph.[Ch]:
13019         * paragraph_pimpl.[Ch]:
13020         * sp_spell.C:
13021         * text.C:
13022         * text2.C: reduce header dependencies, introduce type for positions
13023
13024 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13025
13026         * <various>: change to use Alert.h
13027
13028 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13029
13030         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13031         when encountering an unknown token.
13032         (readLyXformat2): Show an error message if there were unknown tokens.
13033
13034 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13035
13036         * BufferView2.C:
13037         * BufferView_pimpl.C:
13038         * buffer.C:
13039         * paragraph.h:
13040         * text.C:
13041         * text2.C: use par->isInset()
13042
13043 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13044
13045         * paragraph_pimpl.h:
13046         * paragraph_pimpl.C: cleanup
13047
13048 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13049
13050         * text2.C (removeRow):
13051         * text.C (setHeightOfRow): remove useless (and costly) call to
13052         getRow.
13053
13054 2001-11-20  Allan Rae  <rae@lyx.org>
13055
13056         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13057         Now need Inset*::checkInsertChar() to return true for appropriate
13058         cases so that the characters in the minibuffer will actually be
13059         inserted.
13060
13061 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13062
13063         * text.C: change the order of the includes.
13064         (workWidth): initialize it at once.
13065         (workWidth): make maxw unsigned
13066         (setHeightOfRow): remove unused variable (inset)
13067         (selectSelectedWord): remove unused variable (inset)
13068         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13069
13070 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13071
13072         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13073         server is not running.
13074         (openConnection):
13075         (closeConnection): add debug info when server is disabled.
13076
13077         * ColorHandler.C (getGCForeground): send debug message to GUI
13078         channel.
13079
13080         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13081
13082         * kbmap.C (bind): modify because return conventions of
13083         kb_sequence::parse have changed.
13084
13085         * kbsequence.C (parse): only ignore spaces and not any stupid
13086         control character. This avoids tests like s[i] <= ' ', which are
13087         guaranteed to fail with 8bit characters and signed chars.
13088         Change return code to string::npos when there have been no error
13089         (0 was a bad idea when error is at first character)
13090
13091 2001-11-14  José Matos  <jamatos@fep.up.pt>
13092
13093         * buffer.h:
13094         * buffer.C (simpleDocBookOnePar): removed unused argument.
13095
13096 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13097
13098         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13099         insets which are part of a word. Paragraph::isLetter takes care of
13100         that now. Use Paragraph::isInset to identify insets.
13101         (selectSelectedWord): do not test for hyphenation break.
13102
13103         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13104         that protected spaces are considered as spaces.
13105
13106         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13107         Inset::isLetter.
13108
13109 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13110
13111         * lyxserver.h:
13112         * lyxserver.C: fix it. and small cleanup.
13113
13114 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13115
13116         * BufferView_pimpl.C: use inline helpers
13117
13118         * LaTeXFeatures.h:
13119         * LaTeXFeatures.C: fix typos
13120
13121         * Spacing.h:
13122         * Spacing.C: move spacing_string into class
13123
13124         * ToolbarDefaults.C: move stuff into namespace anon
13125
13126         * layout.h: update enum
13127
13128         * lyxfunc.C: use better debug
13129
13130         * minibuffer.h: fix typo
13131
13132         * debug.h:
13133         * debug.C:
13134         * WorkArea.C: add and use Debug::WORKAREA
13135
13136         * lyxtext.h:
13137         * text.C:
13138         * text2.C: code re-organisation, inline helpers
13139
13140 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13141
13142         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13143         std::vector.empty().
13144
13145 2001-11-09  Allan Rae  <rae@lyx.org>
13146
13147         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13148         '\n's after tables.  Tabular and ERT inset work now makes this no
13149         longer necessary.
13150
13151 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13152
13153         * minibuffer.h:
13154         * minibuffer.C: fix crash, improve drop-down completion
13155
13156 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13157
13158         * lyxserver.h:
13159         * lyxserver.C: invalidate fd's when doing endPipe()
13160
13161 2001-11-08  José Matos  <jamatos@fep.up.pt>
13162
13163         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13164         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13165
13166         * paragraph.h:
13167         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13168
13169 2001-11-07  José Matos  <jamatos@fep.up.pt>
13170
13171         * buffer.h:
13172         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13173         const qualifier.
13174
13175         * buffer.C (sgmlOpenTag):
13176         * buffer.C (sgmlCloseTag): removed debug info.
13177
13178         * buffer.h (sgmlOpenTag):
13179         * buffer.h (sgmlCloseTag): made public.
13180
13181 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13182
13183         * buffer.C (saveParamsAsDefaults):
13184         * lyx_cb.C (MenuLayoutSave): remove
13185
13186         * LyXAction.C (init):
13187         * commandtags.h:
13188         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13189
13190 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13191
13192         * buffer.C (setPaperStuff): removed from here...
13193
13194         * bufferparams.C (setPaperStuff): ... and moved there.
13195
13196 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13197
13198         * minibuffer.h:
13199         * minibuffer.C:
13200         * XFormsView.C: add support for drop-down completion
13201
13202 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13203
13204         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13205         commands.
13206
13207 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13208
13209         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13210         disabled.
13211
13212 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13213
13214         * lyx_main.C: change ref to known bugs
13215
13216 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13217
13218         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13219         to work around older babel problems.
13220
13221 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13222
13223         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13224
13225 2001-10-24  Juergen Vigna  <jug@sad.it>
13226
13227         * tabular-old.C (ReadOld): below variable changes reflected.
13228
13229         * tabular.[Ch]: added ltType struct for longtable header/footer
13230         defines and changed all instances where they are used. Added
13231         future support for double top/bottom rows.
13232
13233 2001-10-24  José Matos  <jamatos@fep.up.pt>
13234
13235         * buffer.h (docbookHandleCaption):
13236         * buffer.C (docbookHandleCaption): removed unused function.
13237         (makeDocBookFile): moved docbook supported version to v4.1.
13238
13239 2001-10-24  José Matos  <jamatos@fep.up.pt>
13240
13241         * tabular.h:
13242         * tabular.C (docbookRow): new function to export docbook code of a row.
13243         (DocBook): now honors the longtable flags.
13244
13245 2001-10-23  José Matos  <jamatos@fep.up.pt>
13246
13247         * LaTeXFeatures.h:
13248         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13249         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13250
13251         * buffer.C (makeLinuxDocFile):
13252         (makeDocBookFile): reworked the preamble, more clean, and with
13253         support for lyx defined entities. Changed the document declaration
13254         to be more XML friendly.
13255
13256         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13257         if we need to output XML that should be done with a filter.
13258
13259 2001-10-22  Juergen Vigna  <jug@sad.it>
13260
13261         * sp_pspell.h (class PSpell): add alive function needed in the
13262         controller to see if the spellchecker could be started.
13263
13264 2001-10-22  Juergen Vigna  <jug@sad.it>
13265
13266         * buffer.C (insertStringAsLines): modify the font for inserting
13267         chars in certain conditions by calling checkInsertChar(font).
13268
13269 2001-10-19  Juergen Vigna  <jug@sad.it>
13270
13271         * text.C (workWidth): use getRow instead of wrong algorithm.
13272         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13273
13274 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13275
13276         * lyxserver.h:
13277         * lyxserver.C:
13278         * lyx_main.h:
13279         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13280
13281 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13282
13283         * text.C (workWidth): do not search for the exact row when
13284         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13285         optimization for big documents.
13286
13287 2001-10-18  Juergen Vigna  <jug@sad.it>
13288
13289         * text.C (workWidth): new function with added Inset * parameter.
13290
13291 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13292
13293         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13294
13295         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13296         change return type of getColumnNearX.
13297
13298
13299         * text.C (changeRegionCase): use uppercase/lowercase instead of
13300         toupper/tolower.
13301         (leftMargin):
13302         (rightMargin): simplify code by factoring out the uses of
13303         textclasslist.
13304         (labelFill):
13305         (numberOfHfills):
13306         (setHeightOfRow):
13307         (appendParagraph): use Paragraph::size_type
13308
13309 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13310
13311         * vspace.C (asLatexString): add a missing break
13312
13313 2001-10-15  Herbert Voss  <voss@perce.de>
13314
13315         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13316
13317 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13318
13319         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13320         is not available.
13321
13322 2001-10-10  André Pönitz <poenitz@gmx.net>
13323
13324         * lyxfunc.C: removed greek_kb_flag.
13325
13326 2001-10-10  Herbert Voss  <voss@perce.de>
13327
13328         * lyx_main.C: delete global string help_lyxdir.
13329
13330 2001-10-09  Herbert Voss  <voss@perce.de>
13331
13332         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13333
13334         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13335
13336         * lyx_main.C: added global string help_lyxdir.
13337
13338         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13339
13340 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13341
13342         * lyxrc.C (set_font_norm_type): support iso8859-4
13343
13344 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13345
13346         * LaTeX.C (deplog): add another regex for MikTeX
13347
13348 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13349
13350         * lyxrc.C (set_font_norm_type): support iso8859-3
13351
13352 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13353
13354         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13355
13356         * LaTeXFeatures.C: remove special case of french and index
13357
13358         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13359         before \begin{document}). This solves several incompatibilities.
13360
13361 2001-10-03  Garst Reese  <reese@isn.net>
13362
13363         * lyx_cb.C: change CheckTex error msg.
13364
13365 2001-10-03  José Matos  <jamatos@fep.up.pt>
13366
13367         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13368
13369 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13370
13371         * .cvsignore: update
13372
13373         * lyx_main.C (commandLineVersionInfo): use new style version info.
13374
13375         * buffer.C (writeFile):
13376         (makeLaTeXFile):
13377         (makeLinuxDocFile):
13378         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13379
13380         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13381
13382         * version.h: update to use stuff in version.C
13383
13384         * version.C.in: new file. Contains version information determined
13385         at compile time. This is a merging of version.h and
13386         version_info.h.in.
13387
13388 2001-10-03  Juergen Vigna  <jug@sad.it>
13389
13390         * BufferView_pimpl.C (update): don't change "dirty" status in
13391         updateInset call.
13392
13393 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13394
13395         * WorkArea.C (c-tor): re-position version string slightly.
13396
13397 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13398
13399         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13400         revert to previous code.
13401
13402         WorkArea.[Ch]: (show, destroySplash): methods removed.
13403
13404         WorkArea.C: rework code so that it's an amalgam of the codes before and
13405         after the splash screen was moved to WorkArea.
13406
13407 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13408
13409         * lyxrc.C (read):
13410         * vspace.C (inPixels):
13411         (lyx_advance):
13412         * kbmap.C (bind):
13413         * buffer.C (insertStringAsLines):
13414         (asciiParagraph): fix types to be large enough
13415
13416         * lyxlex_pimpl.h: change member status from short to int
13417
13418         * layout.h: fix type of endlabeltype
13419
13420         * kbmap.C (bind):
13421         * kbsequence.C (parse): change return type to string::size_type
13422
13423         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13424         variable
13425
13426         * Bullet.C (bulletSize):
13427         (bulletEntry): do not use short ints as parameters
13428
13429         * BufferView2.C (insertLyXFile): change a char to an int.
13430
13431         * WorkArea.C (WorkArea): remove unneeded floats in computation
13432
13433 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13434
13435         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13436
13437         * paragraph.C (asString): Do not ignore newline/hfill chars when
13438         copying to the clipboard.
13439
13440 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13441
13442         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13443         after a multi-line inset.
13444
13445 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13446
13447         * paragraph.C (validate): Set NeedLyXFootnoteCode
13448
13449 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13450
13451         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13452         and decrease-error to decrease.
13453
13454 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13455
13456         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13457         it more readable (should be equivalent)
13458
13459 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13460
13461         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13462
13463 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13464
13465         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13466         of a cursor (row, etc.) after a character has been deleted
13467         (deleteEmptyParagraphMechanism): call the method above on _all_
13468         cursors held by the LyXText when a double space has been
13469         detected/deleted.
13470
13471 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13472
13473         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13474         pixmap.
13475         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13476
13477         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13478         background. Use greyOut() and the new show() methods to toggle between
13479         the foreground and background. Add code to remove the splash after
13480         its initial showing.
13481
13482         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13483         (create_forms): no longer call Dialogs::showSplash.
13484
13485 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13486
13487         * .cvsignore: add version_info.h
13488
13489 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13490
13491         * version_info.h.in: new file
13492
13493         * Makefile.am: add version_info.h.in
13494
13495         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13496         version_info.h instead of VERSION_INFO
13497
13498 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13499
13500         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13501         The ERT inset now returns string().
13502
13503 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13504
13505         * lyxtext.h, text.C (selectNextWord): renamed as
13506         selectNextWordToSpellcheck.
13507
13508         * text.C (selectNextWordToSpellcheck): Modified to not select
13509         words inside an ERT inset.
13510
13511 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13512
13513         * lyx_cb.C (MenuLayoutSave): change a bit the question
13514
13515         * sp_base.h: include <sys/types.h>
13516
13517 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13518
13519         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13520
13521 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13522
13523         * several files: fix typos in user-visible strings
13524
13525 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13526
13527         * text2.C (pasteSelection): do not set the selection, since it
13528         will be cleared later. Actually, the intent was to fix the way the
13529         selection was set, but I figured rmoving the code was just as good.
13530
13531 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13532
13533         * FontLoader.C (available): Check if font is available without
13534         loading the font.
13535
13536 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13537
13538         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13539
13540 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13541
13542         * lyxrc.[Ch]: added display_graphics variable and associated code.
13543
13544 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13545
13546         * bufferparams.C (hasClassDefaults): new method. Returns true if
13547         the buffer parameters correspond to known class defaults
13548
13549 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13550
13551         * XFormsView.C (show): set minimum size to the main window.
13552
13553 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13554
13555         * text2.C (copySelection):
13556         (cutSelection):
13557         * lyxfind.C (LyXReplace):
13558         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13559         LyXText::selectionAsString.
13560
13561         * paragraph.C (asString): add "label" argument to the second form
13562
13563         * text2.C (selectionAsString): add "label" argument and pass it to
13564         Paragraph::asString.
13565
13566 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13567
13568         * lyx_main.C (commandLineHelp): remove version information
13569
13570 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13571
13572         * lyx_main.C: add -version commandline option
13573
13574 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13575
13576         * paragraph.h: make the optional constructor arg required instead.
13577         some modifications to other files because of this.
13578
13579         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13580
13581         * lyxserver.C (C_LyXComm_callback): make it static
13582
13583         * lyx_main.C (error_handler): make it static
13584
13585         * lyx_gui.C (LyX_XErrHandler): make it static
13586
13587         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13588
13589         * WorkArea.C: make the extern "C" methods static.
13590
13591         * Makefile.am (lyx_LDADD): simplify
13592
13593 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13594
13595         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13596         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13597
13598         * LyXAction.C (init):
13599         * lyxfunc.C (dispatch): associated code removal.
13600
13601 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13602
13603         * lyxfont.h (isSymbolFont): shut off warning
13604
13605         * text.C (setHeightOfRow):
13606         (getVisibleRow): fix crash with empty paragraphs which have a
13607         bottom line
13608
13609 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13610
13611         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13612         code.
13613
13614 2001-09-04  José Matos  <jamatos@fep.up.pt>
13615         * buffer.C
13616         * buffer.h
13617         * tabular.C (docbook): rename docBook method to docbook.
13618
13619 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13620
13621         * Makefile.am: add dependencies to main.o.
13622
13623 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13624
13625         * FontLoader.C (available): Return false if !lyxrc.use_gui
13626
13627 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13628
13629         * FontInfo.C (query):
13630         * converter.C (view):
13631         * importer.C (Import):
13632         * exporter.C (Export): Can not -> cannot.
13633
13634 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13635
13636         * BufferView_pimpl.C: allow to create index inset even if
13637           string is empty
13638
13639 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13640
13641         * buffer.C (getLists): replace boost::tie code with an explicit pair
13642         as boost::tie can break some compilers.
13643
13644         * iterators.h: Added a std:: declaration to the return type of
13645         ParIterator::size.
13646
13647 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13648
13649         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13650           case.
13651
13652 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13653
13654         * iterators.[Ch]: New files. Provide paragraph iterators.
13655
13656         * buffer.C (changeLanguage): Use paragraph iterators.
13657         (isMultiLingual): ditto
13658
13659         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13660
13661 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13662
13663         * FontLoader.C: Support for cmr font.
13664
13665 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13666
13667         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13668         (available): New method.
13669
13670         * FontInfo.C (getFontname): Use scalable fonts even when
13671         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13672         found.
13673
13674 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13675
13676         * converter.C (Formats::view): reverted! Incorrect fix.
13677
13678 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13679
13680         * converter.C (Formats::view): only output the -paper option
13681         if the dvi viewer is xdvi, thereby fixing bug #233429.
13682
13683 2001-08-23  Herbert Voss  <voss@perce>
13684
13685         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13686
13687 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13688
13689         * Spacing.h (Spacing): Set space to Default on in the default
13690         constructor.
13691
13692 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13693
13694         * vc-backend.h (RCS::versionString): add RCS to version
13695         (CVS::versionString): add CVS to version
13696
13697         * vc-backend.C (scanMaster): do not add CVS to version.
13698         (scanMaster): do not add RCS to version
13699
13700         * lyxvc.C (versionString): new method
13701
13702         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13703
13704 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13705
13706         * Spacing.C (set): initialize fval
13707
13708 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13709
13710         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13711         " or \.
13712
13713 2001-08-16  Juergen Vigna  <jug@sad.it>
13714
13715         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13716
13717 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13718
13719         * BufferView_pimpl.C:
13720         * figureForm.C:
13721         * lyxtext.h:
13722         * text2.C: setParagraph takes linespacing now
13723
13724 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13725
13726         * LyxAction.C: add internal LFUN_CITATION_INSERT
13727
13728         * LyXView.C: actually apply fix
13729
13730         * bufferlist.C: fix open non-existent file
13731
13732         * lyxfind.C: fix indentation
13733
13734         * lyxfunc.C: remove unneeded assert, fix typo
13735
13736 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13737
13738         * MenuBackend.C: use "Floatname List"
13739
13740 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13741
13742         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13743         when converting LaTeX layout to insetERT.
13744         Generate a non-collapsed float when reading old float
13745
13746 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13747
13748         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13749         ERT insets.
13750
13751 2001-08-13  Juergen Vigna  <jug@sad.it>
13752
13753         * text.C (fill): return 0 instead of 20 as this seems to be the more
13754         correct value.
13755
13756 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13757
13758         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13759         lyxrc.font_norm.
13760
13761 2001-08-13  Juergen Vigna  <jug@sad.it>
13762
13763         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13764         casesensitive off.
13765         (SearchBackward): comment out the unlocking of the inset_owner this
13766         should not be needed!
13767
13768 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13769
13770         * Many files: Remove inherit_language, and add latex_language
13771
13772         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13773         collapsible insets.
13774
13775 2001-08-10  Juergen Vigna  <jug@sad.it>
13776
13777         * text.C (prepareToPrint): fixed hfill-width in draw!
13778
13779         * BufferView2.C (selectLastWord): save the selection cursor as this
13780         now is cleared in the function LyXText::clearSelection!
13781
13782 2001-08-08  Juergen Vigna  <jug@sad.it>
13783
13784         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13785         BACKSPACE type functions.
13786
13787         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13788         is only cutted from the document but not put in the cut-buffer, where
13789         still the old stuff should be.
13790
13791         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13792
13793         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13794
13795         * tabular.C (SetWidthOfCell): fixed special case where the width
13796         was not updated!
13797         (LeftLine): handle '|' in align_special.
13798         (RightLine): ditto
13799         (LeftAlreadyDrawed): ditto
13800         (SetWidthOfCell): ditto
13801
13802 2001-08-07  Juergen Vigna  <jug@sad.it>
13803
13804         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13805
13806 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13807
13808         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13809         * lyxlex.[hC]: ditto
13810
13811 2001-08-06  Juergen Vigna  <jug@sad.it>
13812
13813         * text.C (getVisibleRow): fix up row clearing a bit.
13814
13815 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13816
13817         * minibuffer.C: make sure the X server sees the changes in the input.
13818
13819 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13820
13821         * paragraph.C (getFont): split into...
13822         (getLabelFont): this
13823         (getLayoutFont): and this
13824         * paragraph_pimpl.C (realizeFont): calling this
13825
13826         * text2.C (getFont): split into...
13827         (getLayoutFont): this
13828         (getLabelFont): and this
13829         (realizeFont): all three calling this
13830
13831         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13832         files where used.
13833
13834 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13835
13836         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13837
13838 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13839
13840         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13841         layouts from the Quote inset insertion.
13842
13843 2001-08-03  Juergen Vigna  <jug@sad.it>
13844
13845         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13846
13847         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13848         only if status not is already CHANGED_IN_DRAW (second level).
13849
13850         * text.C (draw): don't set the need_break_row when inside an
13851         InsetText LyXText.
13852
13853 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13854
13855         * buffer.C (parseSingleLyXformat2Token): handle more latex
13856         conversion cases.
13857
13858         * bufferview_funcs.[hC]: change function names to
13859         begin with small char, adjust other files.
13860
13861 2001-08-02  André Pönitz <poenitz@gmx.net>
13862
13863         * lyxfunc.C:
13864         BufferView_pimpl.C: remove broken special code for math-greek
13865
13866 2001-08-02  Juergen Vigna  <jug@sad.it>
13867
13868         * BufferView_pimpl.C (update): redone this function so that we
13869         update the text again if there was a CHANGE_IN_DRAW.
13870
13871         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13872         (drawFromTo): added a new internal bool which is used by draw() and
13873         redraw() function.
13874         (general): some cursor drawing problems fixed.
13875
13876 2001-08-01  Juergen Vigna  <jug@sad.it>
13877
13878         * lyxfind.C (LyXFind): fixed
13879         (SearchForward): ditto
13880         (SearchBackward): ditto
13881
13882         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13883         spurius drawing of the cursor in the main area.
13884
13885         * text2.C (status): small fix which could lead to a segfault!
13886         (clearSelection): remove unneeded BufferView param.
13887
13888 2001-08-01  André Pönitz <poenitz@gmx.net>
13889
13890         * lyxfunc.C: small change due to changed mathed interface
13891
13892 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13893
13894         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13895
13896 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13897
13898         * lyxfunc.c: fail gracefully if file doesn't exist
13899
13900         * LyXSendto.C:
13901         * buffer.C:
13902         * lyxfunc.C:
13903         * BufferView_pimpl.C: IsDirWriteable() proto changed
13904
13905         * LyXView.C: fix updateWindowTitle() to store the last title
13906
13907 2001-07-31  Juergen Vigna  <jug@sad.it>
13908
13909         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13910         the font (wrong since using of Paragraph::highestFontInRange).
13911
13912         * paragraph.C (highestFontInRange): added a default_size parameter.
13913
13914         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13915         (setHeightOfRow): reformat
13916
13917 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13918
13919         * converter.[hC] + affected files: move to (inital-char)lowercase
13920         function names.
13921
13922         * ParagraphParameters.C (ParagraphParameters): remove commented code
13923
13924         * PainterBase.[Ch]: remove commented code
13925
13926         * LaTeXFeatures.h: add "bool floats" for float.sty
13927
13928         * LaTeXFeatures.C (LaTeXFeatures): init floats
13929         (require): handle float
13930         (getPackages): do it with floats
13931
13932 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13933
13934         * BufferView_pimpl.C (Dispatch): improve handling of
13935         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13936
13937         * commandtags.h: #include lyxfont.h here temporarily to avoid
13938         keybinding bug.
13939
13940         * bufferlist.h: include LString.h here.
13941
13942 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13943
13944         * text2.C (getStringToIndex): new method.
13945
13946 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13947
13948         * *: Reduced header file dependencies all over.
13949
13950 2001-07-30  Baruch Even  <baruch@lyx.org>
13951
13952         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13953
13954 2001-07-29  Baruch Even  <baruch@lyx.org>
13955
13956         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13957
13958 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13959
13960         * ParameterStruct.h (endif): add a default constructor to make
13961         sure that all variables is initialized.
13962
13963         * ParagraphParameters.C (ParagraphParameters): adjust
13964
13965 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13966
13967         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13968         index; also, check that there is something to index, and that it
13969         does not span over several paragraphs.
13970         (doubleClick): use WHOLE_WORD_STRICT for double click.
13971
13972         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13973
13974         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13975         scheme.
13976
13977 2001-07-26  Baruch Even  <baruch@lyx.org>
13978
13979         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13980         an InsetFig figure, backwards compatible reading of old figure code.
13981
13982 2001-07-27  Juergen Vigna  <jug@sad.it>
13983
13984         * text2.C: font.realize function adaption.
13985
13986         * text.C (draw): add a warnings lyxerr text if needed.
13987
13988         * layout.C: font.realize function adaption.
13989
13990         * language.C: add inherit_language and implement it's handlings
13991
13992         * bufferview_funcs.C (StyleReset): remove language parameter from
13993         font creation (should be language_inherit now).
13994
13995         * bufferparams.C (writeFile): handle ignore_language.
13996
13997         * paragraph.C (getFontSettings): the language has to be resolved
13998         otherwise we have problems in LyXFont!
13999
14000         * lyxfont.C (lyxWriteChanges): added document_language parameter
14001         (update): removed unneeded language parameter
14002
14003         * paragraph.C (validate): fixed wrong output of color-package when
14004         using interface colors for certain fonts in certain environments,
14005         which should not seen as that on the final output.
14006
14007 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14008
14009         * BufferView_pimpl.C:
14010         * Thesaurus.h:
14011         * Thesaurus.C:
14012         * Makefile.am:
14013         * commandtags.h:
14014         * LyXAction.C: add thesaurus support
14015
14016         * lyxfind.h:
14017         * lyxfind.C: add "once" parameter, for thesaurus, to not
14018           move to the next match
14019
14020 2001-07-26  Juergen Vigna  <jug@sad.it>
14021
14022         * lyxfont.C (realize): honor ignore_language too!
14023         (resolved): ditto.
14024
14025         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14026
14027         * text.C (draw): one place more for ignore_language to not draw
14028         itself!
14029
14030 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14031
14032         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14033
14034 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14035
14036         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14037         the minipage conversion problem.
14038
14039 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14040
14041         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14042         insert an inset.
14043
14044 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14045
14046         * BufferView.h: don't forward declare WorkArea
14047
14048         * BufferView.C: don't include WorkArea.h
14049
14050 2001-07-25  André Pönitz <poenitz@gmx.net>
14051
14052         * commandtags.h:
14053         * LyXAction.C:
14054         * lyxfunc.C:  new LFUN 'math-space'
14055
14056         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14057
14058 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14059
14060         * text2.C (toggleInset): call open/close
14061
14062 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14063
14064         * lyxfunc.C (dispatch): add debug for the disabled case
14065
14066         * font.C (buttonText): make similar to rectText
14067
14068         * buffer.C (readInset): comment out parsing of insetlist and
14069         insttheorem
14070
14071         * PainterBase.C (rectText): small correction
14072
14073         * BufferView_pimpl.C: comment out insettheorem and insetlist
14074         * LyXAction.C: ditto
14075         * commandtags.h: ditto
14076
14077 2001-07-24  Juergen Vigna  <jug@sad.it>
14078
14079         * text.C (draw): honor the ignore_language.
14080
14081         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14082
14083 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14084
14085         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14086         char inset.
14087
14088 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14089
14090         * lyxtext.h: remove unused (and unimplemented) methods
14091
14092 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14093
14094         * text.C (getVisibleRow): honor background color
14095
14096         * PainterBase.h:
14097         * Painter.h: remove default color argument for fillRectangle
14098
14099         * text.C (backgroundColor): new method
14100
14101 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14102
14103         * text.C (getVisibleRow): adjust
14104
14105         * font.[Ch] (rectText): new method, metrics
14106         (buttonText): new method, metrics
14107
14108         * PainterBase.[hC]: make rectText and buttonText always draw and take
14109         fewer paramteres.
14110
14111 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14112
14113         * ToolbarDefaults.C (read):
14114         * MenuBackend.C (read): allow escaping in all strings
14115
14116         * BufferView_pimpl.C (insertAndEditInset): new method.
14117         (Dispatch): use insertAndEditInset whenever appropriate.
14118
14119         * BufferView_pimpl.C (insertNote): removed
14120
14121         * BufferView_pimpl.C (smartQuote): new method, moved from
14122         BufferView; if an insetquote cannot be inserted, insert a '"'
14123         character instead.
14124
14125         * BufferView2.C: remove insertCorrectQuote();
14126
14127         * lyxfunc.C (getStatus): Add support for all remaingin
14128         inset-insert lfuns.
14129
14130         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14131
14132         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14133         command (necessary to pass " as parameter of self-insert.
14134
14135         * text.C (selectWordWhenUnderCursor):
14136         (selectWord): add word_location parameter
14137         (selectWordWhenUnderCursor): same + remove special code for word
14138         boundary.
14139         (selectNextWord): use kind() to guess type of insetspecialchar,
14140         not latex().
14141
14142         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14143         (insertErtContents): create ert insets as collapsed.
14144         (readInset): better compatibility code for Info inset.
14145
14146 2001-07-20  Juergen Vigna  <jug@sad.it>
14147
14148         * lyxfunc.C (dispatch): use always LyXFind now!
14149
14150         * text2.C (init): add a reinit flag so that the LyXText can be
14151         reinited instead of deleted and reallocated (used in InsetText).
14152
14153         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14154
14155         * text.C: ditto
14156
14157         * text2.C: ditto
14158
14159 2001-07-18  Juergen Vigna  <jug@sad.it>
14160
14161         * text.C (selectNextWord): handle insets inside inset by calling
14162         always the bv->text functions so that we can go up the_locking_inset!
14163
14164         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14165         in strange locations when inside an inset!
14166
14167         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14168         handling to include insets.
14169
14170         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14171
14172 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14173
14174         * LyXAction.C (init):
14175         * commandtags.h:
14176         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14177         LIGATURE_BREAK, since the name is so stupid.
14178
14179 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14180
14181         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14182         InsetInfos.
14183
14184         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14185
14186         * sp_form.[Ch]: remove.
14187
14188         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14189
14190         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14191         InsetInfo.
14192
14193         * src/buffer.C (readInset): ditto.
14194
14195 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14196
14197         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14198         menuSeparator(), endOfSentenceDot(), ldots() and
14199         hyphenationPoint(), which are therefore removed.
14200         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14201
14202         * LyXAction.C (init):
14203         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14204
14205         * paragraph.C (getWord): removed.
14206
14207         * BufferView_pimpl.C (Dispatch): use last word or selection for
14208         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14209
14210         * lyx_main.C (queryUserLyXDir): do not ask before creating
14211         user_dir, except if it has been named explicitely.
14212
14213 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14214
14215         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14216         a document of zero size.
14217
14218 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14219
14220         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14221         approriately in the c-tor and in require().
14222         (getPackages): output the appropriate LaTeX for natbib support.
14223
14224         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14225         variables "use_natbib" and "use_numerical_citations" when reading the
14226         LyX file.
14227         (readInset): read the various natbib cite commands.
14228         (validate): white-space change.
14229
14230         * bufferparams.[Ch]: new variables "bool use_natbib" and
14231         "bool use_numerical_citations".
14232         (writeFile): output them in the LyX file.
14233
14234 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14235
14236         * lyxfunc.C (getStatus): add support for all the inset insertion
14237         commands.
14238
14239         * text2.C (insertInset):
14240         * paragraph.C (insetAllowed):
14241         * BufferView_pimpl.C (insertInset): update to take in account the
14242         renaming of insertInsetAllowed
14243
14244         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14245
14246         * text2.C (getInset): new method. returns inset at cursor position.
14247
14248         * BufferView_pimpl.C (Dispatch): changes because of this.
14249
14250         * LyXAction.C (init): rename open-stuff to inset-toggle.
14251
14252         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14253
14254         * text2.C (toggleInset): renamed from openStuff; use
14255         Inset::open().
14256
14257 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14258
14259         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14260
14261         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14262
14263 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14264
14265         * buffer.C (readLyXformat2): Add filename to the error dialog
14266
14267 2001-07-18  Juergen Vigna  <jug@sad.it>
14268
14269         * tabular.C (GetCellNumber): put an assert here instead of the check!
14270
14271 2001-07-17  Juergen Vigna  <jug@sad.it>
14272
14273         * BufferView_pimpl.C (toggleSelection): adapted too.
14274
14275         * text.C (selectNextWord): adapted for use with insets.
14276         (selectSelectedWord): ditto
14277
14278 2001-07-17  Juergen Vigna  <jug@sad.it>
14279
14280         * sp_spell.C (PSpell): fix initialitation order.
14281
14282 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14283
14284         * paragraph.C: spacing
14285
14286 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14287
14288         * sp_spell.C: repair language selection for pspell
14289
14290 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14291
14292         * lyxfunc.h: change more methods to begin with lower char.
14293
14294 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14295
14296         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14297         for unknown layouts.
14298
14299 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14300
14301         * buffer.C (readLyXformat2): Generate an error dialog if there are
14302         unknown layouts.
14303
14304 2001-07-16  Juergen Vigna  <jug@sad.it>
14305
14306         * sp_spell.C: always compile ISpell part.
14307
14308         * lyxrc.C: added use_pspell entry and it's handling.
14309
14310 2001-07-13  Juergen Vigna  <jug@sad.it>
14311
14312         * sp_spell.C: removed double includes.
14313
14314 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14315
14316         Consistent use of Lsstream.h:
14317         * Lsstream.h: added using std::stringstream for consistencies sake.
14318
14319         * buffer.C: removed using std::stringstream
14320
14321         * lyxfont.C (stateText):
14322         * paragraph.C (asString):
14323         * text.C (selectNextWord, selectSelectedWord):
14324         * text2.C (setCounter):
14325         * vspace.C (asString, asLatexString):
14326         std::ostringstream -> ostringstream.
14327
14328 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14329
14330         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14331         * commandtags.h: add LFUN_HELP_ABOUTLYX
14332         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14333
14334 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14335
14336         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14337         cursorToggle()
14338         * lyx_gui_misc.C: remove spellchecker
14339         * lyxfunc.C: showSpellchecker
14340         * sp_base.h: added
14341         * sp_ispell.h: added
14342         * sp_pspell.h: added
14343         * sp_spell.C: added
14344         * sp_form.[Ch]: removed
14345         * spellchecker.[Ch]: removed
14346
14347 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14348
14349         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14350         is set.
14351         (simpleTeXSpecialChars): Simply print the input character without
14352         any special translation if pass_thru is set.
14353
14354         * layout.h: Added bool pass_thru to layout class for being able to
14355         implement pass through of a paragraph for Literate Programming.
14356
14357         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14358         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14359         * layout.C (Read): add "passthru" to list of layout tags and add
14360         code to set the pass_thru boolean when it is read.
14361
14362 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14363
14364         * trans_decl.h: remove allowed from KmodInfo
14365
14366         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14367         remove allowed code
14368         (Load): adjust
14369
14370         * paragraph_pimpl.C (erase): use boost::prior
14371
14372         * Painter.C (text): use data() instead of c_str() when length is
14373         also provided.
14374         * WorkArea.C (putClipboard): ditto
14375         * font.h (width): ditto
14376
14377         * BufferView2.C: use it-> instead of (*it). for iterators
14378         * texrow.C: ditto
14379         * paragraph_pimpl.C: ditto
14380         * paragraph.C: ditto
14381         * minibuffer.C: ditto
14382         * language.C: ditto
14383         * kbmap.C: ditto
14384         * encoding.C: ditto
14385         * counters.C: ditto
14386         * converter.C: ditto
14387         * chset.C: ditto
14388         * Variables.C: ditto
14389         * TextCache.C: ditto
14390         * MenuBackend.C: ditto
14391         * LyXAction.C: ditto
14392         * LColor.C: ditto
14393         * FloatList.C: ditto
14394         * DepTable.C: ditto
14395         * ColorHandler.C (LyXColorHandler): ditto
14396
14397 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14398
14399         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14400
14401         * text2.C (openStuff): reintroduce this method (which had been
14402         nuked in NEW_INSETS frenzy).
14403
14404         * lyxfunc.C (Dispatch): when an action has not been handled, use
14405         its name in the error message, not its number.
14406
14407         * paragraph.C (inInset): change method name to begin with lowercase.
14408
14409         * undo_funcs.C:
14410         * text2.C: updates because of this.
14411
14412 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14413
14414         * ToolbarDefaults.C (add): add spaces in error message
14415
14416 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14417
14418         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14419         (readLyXformat2): rename return_par to first_par, use lyxlex's
14420         pushToken and remove the manual push handling.
14421         (parseSingleLyXformat2Token): add another ert comp. variable:
14422         in_tabular, rename return_par to first_par. handle newlines better
14423
14424 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14425
14426         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14427
14428 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14429
14430         * text2.C (getParFromID): removed
14431
14432         * buffer.C (getParFromID): new method moved form lyxtext.
14433         * BufferView2.C (insertErrors): adjust
14434         (setCursorFromRow): adjust
14435         * BufferView_pimpl.C (restorePosition): adjust
14436         * lyxfunc.C (Dispatch): adjust
14437         * undo_funcs.C (textUndo): adjust
14438         (textRedo): adjust
14439         (textHandleUndo): adjust
14440         (textHandleUndo): adjust
14441
14442 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14443
14444         * buffer.C: up' the LYX_FORMAT
14445
14446         * lyxfont.h: turn NO_LATEX on as default
14447
14448         * buffer.C (insertErtContents): new methods of tex style compability.
14449         (parseSingleLyXformat2Token): use it several places.
14450         * tabular.C (OldFormatRead): and here
14451
14452 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14453
14454         * text2.C: remove some commented code.
14455         reindent file.
14456
14457         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14458         * trans.C: changes because of the above.
14459
14460 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14461
14462         * text2.C (setCounter): Fix counters bug with bibliography layout.
14463
14464 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14465
14466         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14467         own member functions
14468         (simpleTeXSpecialChars): ditto
14469
14470 2001-07-06  Juergen Vigna  <jug@sad.it>
14471
14472         * a lot of files: changed the access to LyXText::status and the
14473         call of undo-functions.
14474
14475         * undo.[Ch]: added a inset_id to the undo informations.
14476
14477         * undo_funcs.[Ch]: added and moved here all undo functions.
14478
14479         * lyxtext.h: give the status enum a weight, made status_ a private
14480         variable and made accessor functions for it, removed the whole bunch
14481         of undo-functions as they are now in their own file, make some
14482         functions publically available. Added function ownerParagraph with
14483         int parameter.
14484
14485         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14486         made InInset() a const function, added getParFromID() function.
14487
14488         * buffer.[Ch]: added const version for inset_iterator functions,
14489         added getInsetFromID() function.
14490
14491         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14492         changed undo functions for new version.
14493
14494 2001-07-05  Juergen Vigna  <jug@sad.it>
14495
14496         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14497         unknow mechanism does not call the proper constructor but only this
14498         one also if I request the other!?
14499
14500 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14501
14502         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14503
14504         * text2.C (LyXText): use initialization lists.
14505
14506         * lyxtext.h (Selection): initialize set_ and mark_
14507         (init): remove method
14508
14509 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14510
14511         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14512
14513 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14514
14515         * screen.[Ch]: change method names to begin with lowercase
14516
14517         * BufferView_pimpl.C (updateScrollbar): simplify further and
14518         hopefully make it a bit faster.
14519
14520 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14521
14522         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14523         calling directly xforms functions.
14524
14525         * Painter.C (Painter):
14526         * lyx_cb.C (MenuWrite):
14527         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14528         fl_display.
14529
14530         * lyx_gui.C: remove bogus guiruntime extern declaration.
14531
14532 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14533
14534         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14535         in NEW_INSETS
14536         (redoDrawingOfParagraph): ditto
14537         (redoParagraphs): ditto
14538         (cutSelection): don't create a object for CutAndPaste use the
14539         static method directly
14540         (pasteSelection): ditto
14541
14542         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14543         LyXview (+ rename)
14544
14545 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14546
14547         * modifications to some other files because of this.
14548
14549         * Makefile.am (lyx_SOURCES): add XFormsView
14550
14551         * XFormsView.[Ch]: new files
14552
14553         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14554         the main window. Move the gui dependent stuff to XFormsView
14555
14556 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14557
14558         * tabular.C (GetCellInset): update cur_cell also in the row/col
14559         version of this function.
14560
14561         * lyxfunc.C: no need to include figure_form.h here.
14562
14563         * FontLoader.h:
14564         * lyxfunc.h:
14565         * lyxscreen.h:
14566         * text2.C:
14567         * lyxvc.C: no need to include forms.h here.
14568
14569 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14570
14571         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14572
14573         * lyxfunc.C (Dispatch):
14574         * Spacing.C (set):
14575         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14576         constructor argument.
14577
14578 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14579
14580         * paragraph.C (Paragraph): dont't clear, and just set layout.
14581         (makeSameLayout): use params's copy contructor.
14582
14583         * ParagraphParameters.[Ch] (makeSame): delete method
14584
14585 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14586
14587         * Variables.[Ch]: fix indentation, rename set to isSet
14588
14589 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14590
14591         * lyxfunc.C (Dispatch): fix typo
14592
14593 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14594
14595         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14596         upper_bound.
14597
14598         * bufferlist.C: include assert.h for emergencyWrite().
14599
14600 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14601
14602         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14603           give up at last (bug #425202) !
14604
14605 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14606
14607         * lyx_gui_misc.C:
14608         * sp_form.h:
14609         * sp_form.C:
14610         * spellchecker.h:
14611         * spellchecker.C: strip spellchecker options and bring up
14612           preferences tab instead
14613
14614 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14615
14616         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14617         the istringstream constructor
14618
14619 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14620
14621         * paragraph.C (getLayout): fix return value
14622
14623         * paragraph.h: do not declare getLayout as inline.
14624
14625         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14626
14627 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14628
14629         * lyxcursor.h (operator<): new func
14630         (operator>): new func
14631         (operator>=): new func
14632         (operator<=): new func
14633
14634         * text.C (changeCase): use selection.start and selection.end
14635         (changeRegionCase): require from to be <= to. Require par to be a
14636         valid paragraph.
14637
14638         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14639
14640 2001-06-27  Juergen Vigna  <jug@sad.it>
14641
14642         * text.C (cursorLeftOneWord): changed to return the cursor and added
14643         overlay with BufferView * parameter which calls this one.
14644         (getWord): added
14645         (selectWord): use new getWord function.
14646         (changeCase): renamed from changeWordCase as and extended to work
14647         also on selections.
14648
14649         * lyxtext.h: added enum word_location
14650
14651         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14652         changeCase as this operates now also on selections.
14653
14654 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14655
14656         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14657
14658         * many files: send debug output to Debug::INFO instead of
14659         Debug::ANY.
14660
14661         * converter.C (View):
14662         (Convert):
14663         (Move): send debug output to Debug::FILES instead of console.
14664
14665 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14666
14667         * lyxfunc.C (getStatus): use func_status
14668
14669         * func_status.h: new header, describing the results of
14670         LyXFunc::getStatus;
14671
14672         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14673         LFUN_MATH_HALIGN.
14674
14675 2001-06-25  The LyX Project  <jug@sad.it>
14676
14677         * buffer.C (sgmlOpenTag):
14678         (sgmlCloseTag):
14679         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14680
14681 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14682
14683         * text2.C: remove some dead code
14684
14685         * tabular.C (GetCellInset): store the last cell checked (gotten)
14686
14687         * tabular.h: add the helper for the speedup
14688
14689         * lyxtext.h: remove some dead code
14690
14691 2001-06-26  The LyX Project  <Asger>
14692
14693         * paragraph.C: Change export to LaTeX of alignment to
14694         \begin{center} and family for better roundtrip work with reLyX.
14695
14696         * Tune the math drawing a bit.
14697
14698 2001-06-25  The LyX Project  <Asger>
14699
14700         * LColor.C (LColor): New color for math background. New color
14701         for buttons.
14702
14703 2001-06-25  The LyX Project  <jug@sad.it>
14704
14705         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14706
14707         * lyxfunc.C (Open):
14708         * bufferlist.C (newFile): do not restrict to files ending with
14709         .lyx
14710
14711         * BufferView_pimpl.C (MenuInsertLyXFile):
14712
14713 2001-06-24  The LyX Project  <jug@sad.it>
14714
14715         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14716         of compare_no_case
14717
14718 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14719
14720         * lyxtext.h: rename most methods to begin with a small char.
14721         Lots of changes because of this.
14722
14723         * paragraph.C (Paragraph): do not call fitToSize
14724         (erase): call Pimpl::erase
14725         (insertChar): call Pimpl::insertChar
14726         (insertInset): call Pipl::insertInset
14727         (breakParagraph): do not call fitToSize
14728         (breakParagraphConservative): do not call fitToSize
14729         (fitToSize): remove method
14730
14731         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14732
14733 2001-06-24  The LyX Project  <Asger>
14734
14735         * Fix Qt compilation^2
14736
14737 2001-06-24  The LyX Project  <jug@sad.it>
14738
14739         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14740         depthHook(getDepth()-1).
14741
14742         * paragraph.h:
14743         * ParagraphParameters.h:
14744         * ParameterStruct.h: change type of depth to unsigned int ==
14745         depth_type. Many adaptations to other files before of that.
14746
14747 2001-06-24  The LyX Project  <Asger>
14748
14749         * Fix Qt compilation.
14750
14751 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14752
14753         * paragraph.h: renamed several methods to begin with small letter.
14754         several changes to many parts of the code because of this.
14755
14756 2001-06-23  The LyX Project  <jug@sad.it>
14757
14758         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14759         rewritten to discard all double spaces when KeepEmpty is off
14760         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14761         to only handle newlines but not fiddle with spaces and friends.
14762
14763         * lyxfunc.C (MenuNew): when doing 'new from template', use
14764         template_path as default directory
14765
14766 2001-06-23  The LyX Project  <Asger>
14767
14768         * Clean-up of header file includes all over
14769         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14770
14771 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14772
14773         * paragraph.h: renamed from lyxparagraph.h
14774
14775 2001-06-23  Asger  <lyx@violet.home.sad.it>
14776
14777         * Buffer.h: Removed Buffer::resize
14778         * BufferList.h: Removed BufferList::resize
14779         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14780         the document lazily when we change the width, or the font settings.
14781
14782 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14783
14784         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14785
14786 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14787
14788         * buffer.h: remove out of date comment
14789
14790 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14791
14792         * lyxscreen.h:
14793         * screen.C: fix "theoretical" GC leak
14794
14795 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14796
14797         * LaTeX.C (scanAuxFile):
14798         (deplog): remove trailing \r when reading stream (useful under
14799         win32)
14800
14801 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14802
14803         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14804         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14805         and BufferView::theLockingInset(Inset*), so should use them and not
14806         access bv_->text->the_locking_inset directly.
14807
14808         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14809
14810 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14811
14812         * Makefile.am:
14813         * tex-defs.h: remove old unused file
14814
14815 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14816
14817         * BufferView_pimpl.C: fix typo, remove minibuffer message
14818           when buffer has loaded
14819
14820 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14821
14822         * lyxfunc.C (Dispatch): use stringstream
14823         (MenuNew): use stringstream
14824         (Open): use stringstream
14825
14826         * importer.C (Import): use stringstream
14827
14828         * bufferview_funcs.C (CurrentState): use stringstream
14829
14830         * LaTeX.C (run): use stringstream
14831
14832         * BufferView_pimpl.C (savePosition): use stringstream
14833         (restorePosition): use stringstream
14834         (MenuInsertLyXFile): use stringstream
14835
14836 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14837
14838         * BufferView.C:
14839         * Bullet.C:
14840         * ColorHandler.C:
14841         * FontInfo.C:
14842         * FontLoader.C:
14843         * LColor.C:
14844         * LaTeXFeatures.C:
14845         * Painter.C:
14846         * gettext.C:
14847         * lyx_gui_misc.C:
14848         * lyxserver.C:
14849         * vspace.C: removed // -*- C++ -*- as first line.
14850
14851         * lyxfind.h:
14852         * version.h: added // -*- C++ -*- as first line.
14853
14854 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14855
14856         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14857
14858         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14859         of string
14860
14861 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14862
14863         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14864         of floats.
14865
14866 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14867
14868         * gettext.C: include LString.h even when --disable-nls is on.
14869
14870 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14871
14872         * converter.h (Get): changed argument type from int to
14873         FormatList::size_type to avoid unnecessary conversion.
14874
14875         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14876         before using it.
14877
14878 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14879
14880         * gettext.h: include LString.h even when --disable-nls is on.
14881
14882 2001-06-07  Juergen Vigna  <jug@sad.it>
14883
14884         * text.C (BreakAgain): subst spaces with tabs.
14885
14886         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14887         (resizeInsetsLyXText): set force on resizeLyXText.
14888
14889 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14890
14891         * gettext.h (gettext_init):
14892         (locale_init): use a real definition instead of a macro
14893
14894 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14895
14896         * Bufferview_pimpl.C:
14897         * LColor.h:
14898         * LColor.C: further lcolor tidies
14899
14900 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14901
14902         * BufferView_pimpl.C (updateScrollbar): simplify.
14903
14904         * BufferView2.C: don't include insets/insetinfo.h, change
14905         prototype for insertInset and call the Pimpl version. let
14906         updateInset call Pimpl version.
14907
14908         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14909         gotoInset to BufferView::Pimpl
14910
14911 2001-06-01  Juergen Vigna  <jug@sad.it>
14912
14913         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14914         inside a LockingInset (is the update needed at all?).
14915
14916 2001-05-31  Juergen Vigna  <jug@sad.it>
14917
14918         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14919         here not the old one otherwise how should we compare it afterwards
14920         if it's the same!
14921
14922 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14923
14924         * lyxfont.C:
14925         * tabular.C:
14926         * tabular-old.C:
14927         * FontInfo.C: bring C functions into global namespace when
14928         necessary
14929
14930 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14931
14932         * LString.h: make sure config.h has been loaded before LString.h.
14933
14934         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14935         (one for each char read by EatLine!).
14936
14937         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14938         variables.
14939
14940 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14941
14942         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14943         to the same as the par we break from
14944
14945 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14946
14947         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14948
14949         * MenuBackend.C (expand): also create menu entries for wide
14950         versions of the floats.
14951
14952         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14953
14954         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14955
14956         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14957         frontends/Makefile.am
14958
14959         * text2.C: adjust
14960         * text.C: adjust
14961
14962
14963         * tabular.C (getTokenValue): add std::
14964
14965         * tabular-old.C (getTokenValue): add std::
14966         (getTokenValue): ditto
14967         (getTokenValue): ditto
14968
14969         * screen.C (ToggleSelection): adjust
14970
14971         * lyxtext.h: put selection cursors inside a Selection struct.
14972
14973         * lyxfunc.C (moveCursorUpdate): adjust
14974
14975         * lyxfont.C (latexWriteStartChanges): add std::
14976
14977         * lyxfind.C: adjust
14978
14979         * font.h: delete with(char const *, LyXFont const &)
14980
14981         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14982
14983         * FontInfo.C (getFontname): add std::
14984
14985         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14986         (workAreaButtonPress): adjust
14987         (tripleClick): adjust
14988         (update): adjust
14989         (moveCursorUpdate): adjust
14990         (Dispatch): adjust
14991
14992         * BufferView2.C (gotoInset): adjust
14993
14994 2001-05-30  Juergen Vigna  <jug@sad.it>
14995
14996         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14997         to check pspell I add this as default as I now have new pspell
14998         libraries and they seem to use this.
14999
15000 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15001
15002         * text2.C (CutSelection): make the cursor valid before the call to
15003         ClearSelection.
15004
15005 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15006
15007         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15008         relied on 0 terminated strings and other horrors. Bug found due to
15009         the new assert in lyxstring!
15010
15011         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15012         KP_ keys.
15013
15014 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15015
15016         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15017         to latinkeys.bind.
15018
15019         * lyxfunc.C (processKeySym): change method of getting to the
15020         self-insert char.
15021
15022         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15023         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15024         * BufferView_pimpl.[Ch]: here as private methods.
15025
15026 2001-05-28  Juergen Vigna  <jug@sad.it>
15027
15028         * text.C (SetHeightOfRow): added the update() call again as it is
15029         needed to initialize inset dimensions!
15030
15031 2001-05-16  Juergen Vigna  <jug@sad.it>
15032
15033         * text2.C (SetCharFont): Add new function with BufferView * and
15034         bool toggleall parameters for setting insets internal fonts.
15035         (SetFont): Freeze the undo as we may change fonts in Insets and
15036         all this change should be inside only one Undo!
15037
15038         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15039         setting font's in insets as for them we have the SetFont function!
15040
15041 2001-05-15  Juergen Vigna  <jug@sad.it>
15042
15043         * text2.C (ClearSelection): to be sure we REALLY don't have any
15044         selection anymore!
15045
15046         * tabular.C (TeXCellPreamble): fixed the left border problem for
15047         multicolumn cells.
15048
15049 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15050
15051         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15052         dependancy file
15053
15054 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15055
15056         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15057         LFUN_BREAKPARAGRAPH.
15058
15059         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15060         help test to "internal only", similar for LFUN_INSERT_URL
15061
15062         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15063         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15064         auto_region_delete and deadkeys.
15065
15066 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15067
15068         * LColor.h:
15069         * LColor.C: remove some dead entries, tidy a little
15070
15071 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15072
15073         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15074         commented code.
15075         (Dispatch): implement LFUN_ESCAPE
15076
15077         * commandtags.h: add LFUN_ESCAPE
15078
15079         * LyXAction.C (init): add entry for LFUN_ESCAPE
15080
15081         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15082         Remove commented code.
15083         (insertNote): moved here
15084         (open_new_inset): moved here
15085
15086         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15087         BufferView_pimpl
15088
15089 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15090
15091         * kbmap.C (findbinding): clean it up and make it work correctly.
15092
15093         * lyx_main.C (init): do not pass argc and argv as parameters
15094
15095 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15096
15097         * buffer.C: fix path for OS/2 & Win32
15098
15099         * lyx_gui.C:
15100         * lyx_main:
15101         * lyx_main.C: Added os:: class.
15102
15103         * os2_defines.h: update
15104
15105 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15106
15107         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15108         better by trying again with reduced state.
15109
15110 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15111
15112         * lyxrc.C (read): print error about invalid key sequence only when
15113         debugging (because not all latinX keysyms are known to some X
15114         servers)
15115
15116         * kbsequence.C (getiso): add a few std:: qualifiers
15117         (getiso): comment out extra return statement.
15118
15119 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15120
15121         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15122         handling.
15123         (Dispatch): enhance the accent inset a bit. (not perfect)
15124
15125 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15126
15127         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15128
15129 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15130
15131         * bufferlist.C (emergencyWrite): fix assert() call
15132
15133 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15134
15135         * text.C (InsertChar): Added trivial patch to only send the "you
15136         can not do multiple spaces this way" message once during a
15137         session.
15138
15139 2001-05-08  Baruch Even  <baruch@lyx.org>
15140
15141         * Makefile.am: Changed order of libraries to get LyX to link properly
15142         with the gnome frontend.
15143
15144 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15145
15146         * LaTeXFeatures.h: add a std:: qualifier
15147
15148 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15149
15150         * paragraph.C (String): use stringstream
15151
15152 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15153
15154         * paragraph.C (writeFile): remove footflag arg
15155
15156         * buffer.C (makeLaTeXFile): use stringstream
15157         (latexParagraphs): remove footnot gurba
15158
15159         * LaTeXFeatures.C (getPackages): use stringstream
15160         (getMacros): likewise
15161         (getTClassPreamble): likewise
15162         (getFloatDefinitions): new method
15163
15164         * paragraph.C (writeFile): reindent
15165         (Erase): reindent
15166
15167         * WorkArea.h: revert the xpos + etc changes.
15168
15169         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15170
15171         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15172
15173         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15174         (pasteSelection): likewise
15175         * text2.C (CreateUndo): likewise
15176
15177 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15178
15179         * minibuffer.C (peek_event): temporarily reduce the functionality
15180         of the minibuffer (to allow args on lfuns)
15181
15182         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15183         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15184
15185         * buffer.C (readInset): add compability reading of old float
15186         lists, add reading of new style float list.
15187         (readInset): avoid reevaluation of inscmd.getCmdName()
15188         (getLists): reindent
15189
15190         * MenuBackend.C (MenuItem): implement parsing of
15191         md_floatlistinsert and md_floatinsert.
15192         (expand::LastFiles): move initalizaton of iterators out of loop,
15193         avoid reevaluation.
15194         (expand::Documents): introduce typdedef vector<string> Strings,
15195         and use it.
15196         (expand::ExportFormats): introduce typedef vector<Format const *>
15197         Formats, and use it.
15198         (expand): implement FloatListInsert and FloatInsert.
15199
15200         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15201         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15202         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15203
15204         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15205         handling.
15206         (Dispatch::LFUN_FLOAT_LIST): implement
15207
15208 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15209
15210         * LaTeX.C (run): Fix problem with --export code.
15211
15212 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15213
15214         * BufferView.[Ch] (workarea): removed.
15215         (getClipboard) new method; wrapper for workarea()->getClipboard()
15216
15217         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15218         bug.
15219
15220         * WorkArea.h (width, height, xpos, ypos): These methods all
15221         returned the dimensions of the work_area sub-area of WorkArea,
15222         resulting in a position error if the WorkArea were resized. Now
15223         return the dimensions of the entire WorkArea.
15224
15225         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15226
15227 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15228
15229         * LaTeX.C (deplog): correct the syntax of regex reg1
15230
15231 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15232
15233         * undo.C: remove !NEW_INSETS cruft
15234
15235 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15236
15237         * text2.C: remove !NEW_INSETS cruft
15238
15239         * text.C: remove !NEW_INSETS cruft
15240
15241         * tabular.C: remove !NEW_INSETS cruft
15242
15243         * spellchecker.C: remove !NEW_INSETS cruft
15244
15245         * lyxtext.h: remove !NEW_INSETS cruft
15246
15247         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15248
15249         * lyxfunc.C: remove !NEW_INSETS cruft
15250
15251         * lyxfind.C: remove !NEW_INSETS cruft
15252
15253         * lyx_cb.C: remove !NEW_INSETS cruft
15254
15255         * figureForm.C: remove  !NEW_INSETS cruft
15256
15257         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15258
15259         * buffer.[Ch]: remove !NEW_INSETS cruft
15260
15261         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15262
15263         * CutAndPaste.C: remove !NEW_INSETS cruft
15264
15265         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15266
15267         * BufferView2.C: remove !NEW_INSETS cruft
15268
15269         * BufferView.h: remove !NEW_INSETS cruft
15270
15271 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15272
15273         * Lsstream.h: include LString.h before the sstream headers to
15274         fix problem with gcc 2.95.3 and lyxstring
15275
15276 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15277
15278         * lyx_main.C: add using directives when needed for C functions
15279         declared in std:: namespace.
15280
15281 2001-04-27  Juergen Vigna  <jug@sad.it>
15282
15283         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15284         (SetHeightOfRow): comment out the update call should not be needed!
15285
15286 2001-04-13  Juergen Vigna  <jug@sad.it>
15287
15288         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15289         (LyXTabular): tried to minimize operator= operations (and realized
15290         hopfully Lars wish).
15291
15292 2001-04-27  Juergen Vigna  <jug@sad.it>
15293
15294         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15295
15296 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15297
15298         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15299
15300         * buffer.C (readInset): hack to make listof algorithm work
15301
15302         * BufferView_pimpl.C: hack to make listof algorithm work
15303
15304 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15305
15306         * LyXAction.C: removed all !NEW_INSETS cruft
15307         (init): moved lfun_item in method
15308
15309         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15310
15311 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15312
15313         * BufferView2.C (theLockingInset): white space.
15314
15315 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15316
15317         * minibuffer.C: include <iostream>
15318
15319         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15320
15321         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15322
15323         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15324
15325         * text.[Ch] (TransposeChars): new method
15326
15327 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15328
15329         * call message directly through LyXView instead of through LyXFunc
15330         * BufferView2.C: adjust
15331         * BufferView_pimpl.C: adjust
15332         * FontLoader.C: adjust
15333         * buffer.C: adjust
15334         * bufferview_funcs.C: adjust
15335         * converter.C: adjust
15336         * figureForm.C: adjust
15337         * importer.C: adjust
15338         * lyx_cb.C: adjust
15339         * lyx_gui_misc.C: adjust
15340         * lyxfunc.C: adjust
15341         * lyxvc.C: adjust
15342         * text2.C: adjust
15343         + more files in subdirs
15344
15345         * lyxparagraph.h (size): move up int file
15346         (GetLayout): ditto
15347
15348         * adjust all uses of Assert to lyx::Assert.
15349
15350         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15351         lyxfunctional in namespace lyx
15352         * layout.C (hasLayout): ditto
15353         (GetLayout): ditto
15354         (GetLayout): ditto
15355         (delete_layout): ditto
15356         (NumberOfClass): ditto
15357         * converter.C (GetFormat): ditto
15358         (GetNumber): ditto
15359         (Add): ditto
15360         (Delete): ditto
15361         (SetViewer): ditto
15362         * bufferlist.C (getFileNames): ditto
15363         (emergencyWriteAll): ditto
15364         (exists): ditto
15365         (getBuffer): ditto
15366         * MenuBackend.C (hasSubmenu): ditto
15367         (hasMenu): ditto
15368         (getMenu): ditto
15369         * BufferView_pimpl.C (getInsetByCode): ditto
15370
15371 2001-04-18  Juergen Vigna  <jug@sad.it>
15372
15373         * vspace.C (asLatexString): fixed the 100% problem.
15374
15375 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15376
15377         * lyxfunc.C (Dispatch):
15378         * minibuffer.C:
15379         * minibuffer.h: add a few std:: qualifiers
15380
15381 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15382
15383         * minibuffer.[Ch]: reimplement so that commands is initiated and
15384         run from lyxfunc, simplified som handling, and made the completion
15385         and history code for complete. wip.
15386
15387         * lyxfunc.C (processKeySym): call message
15388         (miniDispatch): new temporary method
15389         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15390         (LFUN_MESSAGE): implement
15391         (LFUN_MESSAGE_PUSH): implement
15392         (LFUN_MESSAGE_POP): implement
15393         (initMiniBuffer): the initial/defualt minibuffer message.
15394
15395         * lyxfont.[Ch]: inline some more getters
15396
15397         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15398
15399         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15400
15401         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15402         (AutoSave): use LFUN_MESSAGE
15403         (Reconfigure): ditto
15404
15405         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15406
15407         * figureForm.C: use LFUN_MESSAGE
15408
15409         * converter.C (runLaTeX): use LFUN_MESSAGE
15410
15411         * bufferview_funcs.C: use LFUN_MESSAGE
15412         (Melt): ditto
15413         (changeDepth): ditto
15414
15415         * bufferparams.h: use boost::
15416
15417         * bufferlist.h: inherit privately from noncopyable
15418
15419         * bufferlist.C (loadLyXFile): remove some commented code.
15420
15421         * buffer.C (runChktex): use LFUN_MESSAGE
15422
15423         * ShareContainer.h: inherit privately from noncopyable
15424
15425         * ParagraphParameters.[hC] (depth): inline it.
15426
15427         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15428         methods.
15429         (message): new method
15430         (messagePush): ditto
15431         (messagePop): ditto
15432         (show): init minibuffer
15433         (showState): direct call
15434
15435         * LaTeX.[Ch]: inherit privately from noncopyable
15436         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15437         instead of WriteStatus.
15438
15439         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15440
15441         * BufferView_pimpl.C (buffer): don't init minibuffer
15442         (workAreaButtonPress): use LFUN_MESSAGE
15443         (workAreaButtonRelease): ditto
15444         (savePosition): ditto
15445         (restorePosition): ditto
15446         (MenuInsertLyXFile): ditto
15447         (workAreaExpose): don't init minibuffer
15448         (update): remove commented code, simplify
15449
15450         * BufferView2.C (openStuff): use LFUN_MESSAGE
15451         (toggleFloat): ditto
15452         (menuUndo): ditto
15453         (menuRedo): ditto
15454         (copyEnvironment): ditto
15455         (pasteEnvironment): ditto
15456         (copy): ditto
15457         (cut): ditto
15458         (paste): ditto
15459         (gotoInset): ditto
15460         (updateInset): remove some commented code
15461
15462         * lastfiles.h: inherit privately from noncopyable
15463         * layout.h: ditto
15464         * lyx_gui.h: ditto
15465         * lyx_main.h: ditto
15466         * lyxlex.h: ditto
15467         * lyxlex_pimpl.h: ditto
15468
15469         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15470         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15471         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15472
15473         * LyXAction.h: inherit privately from noncopyable, add methods
15474         func_begin, func_end, returning iterators to the func map.
15475
15476         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15477         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15478         (func_begin): new method
15479         (func_end): new method
15480
15481         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15482         and not)
15483         (copySelection): ditto
15484         (pasteSelection): ditto
15485
15486         * BufferView.C: whitespace change
15487         * BufferView.h: inherit privately from noncopyable
15488
15489 2001-04-16  Allan Rae  <rae@lyx.org>
15490
15491         * tabular-old.C (l_getline):
15492         * spellchecker.C (sc_check_word):
15493         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15494         an unrecognised preprocessor directive.  So ensure they're wrapped.
15495
15496 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15497
15498         * src/exporter.C (Export): Give an error message when path to file
15499         contains spaces.
15500
15501 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15502
15503         * LaTeX.C (deplog): Always check that foundfile exists.
15504
15505 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15506
15507         * lyx_main.h:
15508         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15509
15510 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15511
15512         * tabular.[Ch] (getLabelList): implement new method
15513
15514         * minibuffer.h: comment ouf setTiimer
15515
15516         * minibuffer.C (ExecutingCB): constify res
15517         (peek_event): constify s
15518         (Set): constify ntext
15519         (Init): constify nicename
15520
15521         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15522
15523         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15524         (savePosition): use two params to Minibuffer::Set
15525         (restorePosition): ditto
15526
15527 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15528
15529         * lyx_main.C: include language.h
15530
15531         * Makefile.am (lyx_main.o): add language.h
15532
15533 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15534
15535         * exporter.C:
15536         * paragraph.C:
15537         * screen.C:
15538         * tabular.C:
15539         * CutAndPaste.C: include gettext.h
15540
15541         * lyxfont.h: remove old hack with ON and OFF.
15542
15543         * lyxparagraph.h:
15544         * lyxfont.h: do not include language.h...
15545
15546         * BufferView2.C:
15547         * LaTeXFeatures.C:
15548         * Painter.C:
15549         * bufferview_funcs.C:
15550         * font.C:
15551         * lyxfont.C:
15552         * text.C:
15553         * text2.C:
15554         * trans_mgr.C:
15555         * paragraph.C: ... but do it here instead
15556
15557 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15558
15559         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15560
15561         * tabular.C: small reformat
15562
15563         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15564         NEW_INSETS version
15565         (GetChar): ditto
15566         (BreakParagraph): ditto
15567         (SetOnlyLayout): ditto
15568         (SetLayout): ditto
15569
15570         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15571         with one arg less.
15572
15573         * lastfiles.C: removed most using decl, add std:: where needed
15574
15575         * buffer.C: ws changes
15576
15577         * MenuBackend.C (class compare_format): put into anon namespace
15578         (expand): constify label, names, action, action2
15579         (expand):
15580
15581         * text.C (SingleWidth): constify font
15582         (IsBoundary): constify rtl2
15583         (GetVisibleRow): constify ww
15584
15585         * LaTeX.C (deplog): constify logfile
15586
15587         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15588         start_x, end_x
15589         (workAreaExpose): constify widthChange, heightChange
15590
15591         * lyxrow.C (par): moved
15592         (height): moved
15593         (next): moved
15594         * lyxrow.h: as inlines here
15595
15596         * lyxfont.h (shape): moved from lyxfont.C
15597         (emph): moved from lyxfont.C
15598
15599         * lyxfont.C (LyXFont): use initialization list for all
15600         constructors
15601         (shape): move to lyxfont.h as inline
15602         (emph): move to lyxfont.h as inline
15603
15604
15605 2001-04-04  Juergen Vigna  <jug@sad.it>
15606
15607         * vspace.C: had to include stdio.h for use of sscanf
15608
15609 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15610
15611         * BufferView.h:
15612         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15613         independent of xforms.
15614
15615 2001-04-02  Juergen Vigna  <jug@sad.it>
15616
15617         * spellchecker.C: fixed namespace placing!
15618
15619 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15620
15621         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15622         the LyXParagraph * is 0.
15623
15624 2001-03-29  Juergen Vigna  <jug@sad.it>
15625
15626         * vspace.C: added support for %, c%, p%, l%.
15627         (stringFromUnit): added helper function.
15628         (asLatexString): changed to give right results for the %-values.
15629
15630         * buffer.C: convert the widthp in a width%.
15631
15632 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15633
15634         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15635         figureForm.[Ch].
15636
15637         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15638         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15639
15640         * lyx_cb.[Ch]: see above.
15641
15642         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15643         form1.[Ch].
15644
15645         * form1.[Ch]:
15646         * lyx.[Ch]: replaced by figure_form.[Ch].
15647
15648         * lyx_gui.C:
15649         * lyx_gui_misc.C:
15650         * lyxfunc.C: changed headers associated with above changes.
15651
15652 2001-03-27  Juergen Vigna  <jug@sad.it>
15653
15654         * BufferView_pimpl.C: set the temporary cursor right!
15655
15656 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15657
15658         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15659
15660 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15661
15662         * LString.h: removed "using std::getline"!
15663
15664         * BufferView_pimpl.C (Dispatch): changes due to changes in
15665         InsetInclude::Params.
15666
15667         * buffer.C (tag_name): removed redundant break statements as they were
15668         producing lots of warnings with my compiler.
15669
15670 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15671
15672         * LString.h: add "using std::getline" when using the real <string>.
15673
15674 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15675
15676         * buffer.C: removed bitset usage.
15677         PAR_TAG moved to an anonymous name space.
15678         (tag_name): new funtion, also in the anonymous namespace.
15679         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15680         (makeDocBookFile): clean code. Completed transition from string arrays
15681         to string vectors.
15682         (SimpleDocBookOnePar): code clean.
15683
15684 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15685
15686         * tabular.C: add some comments.
15687
15688 2001-03-22  Juergen Vigna  <jug@sad.it>
15689
15690         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15691         compatibility read a bit and fixed bug with minipage in different
15692         depth.
15693
15694 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15695
15696         * buffer.C (pop_tag): removed.
15697         (push_tag): removed.
15698         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15699         array replaced with vector. Added support for CDATA sections.
15700         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15701         at any nest level.
15702         (makeDocBookFile): XML conformant declaration of CDATA section,
15703         fixed bug related to <emphasis> in the first paragraph char.
15704         (sgmlOpenTag): exclude empty tags.
15705         (sgmlCloseTag): ditto.
15706
15707         * buffer.h (pop_tag): removed.
15708         (push_tag): removed.
15709
15710 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15711
15712         * language.h (Languages): added size_type and size().
15713
15714 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15715
15716         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15717         response on compability reading of minipages. One probliem is that
15718         the old usage of minipages was «flertydig»
15719
15720         * several files here and in subdirs: don't use static at file
15721         scope use anon namespaces instead.
15722
15723 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15724
15725         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15726         LaTeX output. This is necessary for Literate document
15727         processing.
15728
15729 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15730
15731         * buffer.C: insert hfill when needed.
15732
15733         * tabular.C (l_getline): use string::erase, small whitespace change.
15734
15735         * BufferView_pimpl.C: try the anon namespace.
15736         * WorkArea.C: ditto
15737
15738 2001-03-16  Juergen Vigna  <jug@sad.it>
15739
15740         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15741         otherwise it won't open options-dialogs.
15742
15743         * buffer.C: honor pextraWidth(p) on converting minipages.
15744
15745         * tabular.C (l_getline): changed the functions to strip trailing \r.
15746
15747 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15748
15749         * BufferView_pimpl.C:
15750         * minibuffer..C: added "using SigC::slot" declaration.
15751
15752 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15753
15754         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15755
15756         * text2.C: ditto
15757
15758         * text.C: ditto
15759
15760         * paragraph.C: ditto
15761
15762         * lyxtext.h: NO_PEXTRA
15763
15764         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15765
15766         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15767         * ParameterStruct.h: ditto
15768         * ParagraphParameters.h: ditto
15769         * lyxparagraph.h: ditto
15770
15771 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15772
15773         * buffer.C: add compability for minipage alignment.
15774         (latexParagraphs): remove unwanted pextra check.
15775
15776         * several files: remove CXX_WORKING_NAMESPACES
15777
15778         * buffer.C (pop_tag): tie is in namespace boost
15779
15780         * BufferView.h: noncopyable is in namespace boost
15781         * lyxlex.h: ditto
15782         * lyx_main.h: ditto
15783         * lyx_gui.h: ditto
15784         * layout.h: ditto
15785         * lastfiles.h: ditto
15786         * bufferlist.h: ditto
15787         * ShareContainer.h: ditto
15788         * LyXView.h: ditto
15789         * LyXAction.h: ditto
15790         * LaTeX.h: ditto
15791
15792 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15793
15794         * Merging changes from BRANCH_MVC back into HEAD.
15795
15796         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15797
15798 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15799
15800         * BufferView_pimpl.C: change from intl.C
15801
15802         * combox.h:
15803         * combox.C:
15804         * Makefile.am: move combox.*
15805
15806         * form1.h:
15807         * form1.C:
15808         * lyx_gui.C:
15809         * intl.h:
15810         * intl.C: remove dialog (covered by prefs)
15811
15812 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15813
15814         * lyxfunc.C (Dispatch): removed redundant break statement.
15815
15816 2001-03-14  Juergen Vigna  <jug@sad.it>
15817
15818         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15819
15820 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15821
15822         * buffer.C: add hack to fix compability reading of minipages.
15823
15824 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15825
15826         * buffer.C (getLists): Cleanup.
15827
15828 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15829
15830         * lyxfont.C (update): don't honor toggleall on font size.
15831
15832 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15833
15834         * bmtable.c:
15835         * bmtable.h:
15836         * Makefile.am: moved to frontends/xforms/
15837
15838         * lyx_gui_misc.C:
15839         * lyxfunc.C:
15840         * BufferView_pimpl.C: changes for moved mathpanel
15841
15842 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15843
15844         * gettext.h: fix gettext_init() in --disable-nls
15845
15846 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15847
15848         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15849
15850 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15851
15852         * lyx.C:
15853         * lyx.h: strip external form
15854
15855 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15856
15857         * BufferView_pimpl.C: add comment, destroySplash()
15858
15859 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15860
15861         * BufferView_pimpl.C:
15862         * LyXAction.C:
15863         * buffer.C:
15864         * commandtags.h:
15865         * lyxfunc.C: use re-worked insetinclude
15866
15867 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15868
15869         * buffer.C: add using std::stringstream.
15870
15871         * lyx_cb.C: readd using std::ios.
15872
15873         * buffer.C: add using std::map.
15874
15875         * BufferView_pimpl.C: add using std::vector.
15876
15877         * ShareContainer.h: add std:: to swap.
15878
15879         * buffer.h: add some typedefs
15880         * buffer.C (getLists): use them
15881         (getLists): renamed from getTocList.
15882         add a counter for the different float types and use it in the
15883         generated string.
15884         (getLists): use the same counter for the NEW_INSETS and the "non"
15885         NEW_INSETS
15886
15887         * lyx_cb.h: remove unused items, includes, using etc.
15888
15889         * ShareContainer.h: remove some commented code, add more comments
15890         and "documentation".
15891
15892 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15893
15894         * buffer.C (getTocList): make the list also when NEW_INSETS is
15895         defined.
15896
15897         * buffer.h: remove TocType
15898
15899         * buffer.C (getTocList): change to return a map<string,
15900         vector<TocItem> >, implement for dynamic number of list.
15901
15902         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15903         * text2.C (PasteSelection): adjust
15904         * CutAndPaste.C (pasteSelection): adjust
15905
15906         * FloatList.C (FloatList): update from the new_insets branch.
15907         * Floating.[Ch]: ditto
15908         * LaTeXFeatures.C: ditto
15909         * buffer.C: ditto
15910         * lyxlex_pimpl.C: ditto
15911
15912         * paragraph.C (Last): remove when NEW_INSETS is defined.
15913
15914         * other file: changes because of the above.
15915
15916 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15917
15918         * lyxparagraph.h: rename next to next_, previous to previous_,
15919         make them private for NEW_INSETS. Rename Next() to next(),
15920         Previous() to previous().
15921
15922         * other files: changes because of the above.
15923
15924 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15925
15926         * BufferView.h:
15927         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15928         problem.
15929
15930 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15931
15932         * main.C (main): pass lyx_localedir to gettext_init().
15933
15934         * gettext.h: remove locale_init and gettext_init macros
15935
15936         * gettext.C (locale_init): new function
15937         (gettext_init): new function
15938
15939         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15940         setlocale().
15941
15942 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15943
15944         * Moved credits to frontends:
15945         * credits.[Ch]: removed
15946         * credits_form.[Ch]: removed
15947         * lyx_gui_misc.C: remove credits stuff
15948         * Makefile.am:
15949
15950 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15951
15952         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15953
15954         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15955         unneeded destructor.
15956
15957         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15958         a standalone pointer again.
15959
15960         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15961
15962 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15963
15964         * Makefile.am:
15965         * filedlg.h:
15966         * filedlg.C:
15967         * LyXAction.C:
15968         * ToolbarDefaults.C:
15969         * bufferlist.C:
15970         * commandtags.h:
15971         * form1.C:
15972         * form1.h:
15973         * lyx_cb.C:
15974         * lyx_cb.h:
15975         * lyxfunc.h:
15976         * lyxfunc.C:
15977         * BufferView_pimpl.C: use new file dialog in GUII
15978
15979         * lyx_cb.h:
15980         * lyx_cb.C: remove LayoutsCB to Toolbar
15981
15982 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15983
15984         * ShareContainer.h (get): add std:: qualifier
15985
15986 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15987
15988         * ShareContainer.h: define a proper ShareContainer::value_type
15989         type (and use typename to please compaq cxx)
15990
15991 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15992
15993         * lyxparagraph.h: move serveral local vars to
15994         ParameterStruct/ParagraphParameters., use ShareContainer in
15995         FontTable., make vars in FontTable private and add getter and
15996         setter.
15997
15998         * paragraph.C: changes because of the above.
15999
16000         * lyxfont.h: remove copy constructor and copy assignment. (the
16001         default ones is ok), move number inside FontBits. move inlines to
16002         lyxfont.C
16003
16004         * lyxfont.C: add number to initializaton of statics, move several
16005         inlines here. constify several local vars. some whitespace
16006         cleanup. Dont hide outerscope variables.
16007
16008         * Spacing.h: add two new constructors to match the set methods.
16009
16010         * ShareContainer.h: new file, will perhaps be moved to support
16011
16012         * ParameterStruct.h: new file
16013
16014         * ParagraphParameters.h: new file
16015
16016         * ParagraphParameters.C: new file
16017
16018         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16019         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16020
16021         * BufferView_pimpl.C: ParagraphParameter changes.
16022         * buffer.C: Likewise.
16023         * bufferview_funcs.C: Likewise.
16024         * text.C: Likewise.
16025         * text2.C: Likewise.
16026
16027 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16028
16029         * lyxfind.C (LyXReplace): do not redefine default argument in
16030         implementation.
16031         (IsStringInText): ditto
16032         (SearchForward): ditto
16033         (SearchBackward): ditto
16034
16035 2001-03-06  Juergen Vigna  <jug@sad.it>
16036
16037         * lyxfind.C (IsStringInText): put parentes around expressions.
16038
16039 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16040
16041         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16042
16043 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16044
16045         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16046
16047         * stl_string_fwd.h: add comment
16048
16049         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16050
16051         * tabular.h:
16052         * tabular.C: remove unused DocBook methods
16053
16054         * intl.C:
16055         * language.C:
16056         * paragraph.C:
16057         * buffer.C:
16058         killed DO_USE_DEFAULT_LANGUAGE
16059
16060 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16061
16062         * lyx_gui.C: do not include language.h.
16063
16064         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16065         arguments in function implementation.
16066
16067 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16068
16069         * BufferView_pimpl.C: add <ctime>
16070
16071 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16072
16073         * BufferView_pimpl.C: add using std::find_if
16074
16075 2001-02-27  José Matos  <jamatos@fep.up.pt>
16076
16077         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16078         by OnlyPath.
16079
16080 2001-02-11  José Matos  <jamatos@fep.up.pt>
16081
16082         * buffer.C (makeDocBookFile): command styles now have a parameter as
16083         "title" by default.
16084
16085 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16086
16087         * layout_forms.[Ch]: removed
16088         * lyx_cb.[Ch]: out character
16089         * lyx_gui.C: out character
16090         * lyx_gui_misc.C: out character
16091         * bufferview_funcs.C: : out character,
16092         added toggleall as parameter in ToggleAndShow
16093
16094 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16095
16096         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16097
16098         * text2.C (SetCurrentFont): Disable number property at boundary.
16099
16100 2001-02-26  Juergen Vigna  <jug@sad.it>
16101
16102         * lyxfunc.C (getStatus): added a string argument override function so
16103         that this is correctly called from LyXFunc::Dispatch if it contains a
16104         do_not_use_argument which is used!
16105         (Dispatch): added check for "custom" export and call appropriate func.
16106
16107 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16108
16109         * lyxrc.C: Add language_command_local, language_use_babel and
16110         language_global_options.
16111
16112         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16113
16114         * buffer.C (makeLaTeXFile): Use language_use_babel and
16115         language_global_options.
16116
16117 2001-02-23  Juergen Vigna  <jug@sad.it>
16118
16119         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16120         which works with LyXText and putted it inside BufferView. Here now we
16121         only call for that part the BufferView::Dispatch() function.
16122
16123         * BufferView.C (Dispatch): added.
16124
16125         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16126         functions which needs to use a LyXText over from LyXFunc.
16127         (MenuInsertLyXFile): added
16128         (getInsetByCode): added
16129         (moveCursorUpdate): added
16130         (static TEXT): added
16131
16132 2001-02-22  Juergen Vigna  <jug@sad.it>
16133
16134         * BufferView_pimpl.C (update): call a status update to see if LyXText
16135         needs it.
16136
16137 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16138
16139         * vc-backend.C (revert): implement for CVS
16140         (getLog): implement for CVS
16141
16142 2001-02-20  Juergen Vigna  <jug@sad.it>
16143
16144         * text2.C (ClearSelection): added BufferView param for inset_owner call
16145
16146         * lyxfunc.C (TEXT): added this function and use it instead of
16147         directly owner->view()-text of getLyXText().
16148
16149 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16150
16151         * src/layout_forms.C: out preamble
16152         * src/layout_forms.h: out preamble
16153         * src/lyx_cb.C: out preamble
16154         * src/lyx_cb.h: out preamble
16155         * src/lyx_gui.C: out preamble
16156         * src/lyx_gui_misc.C: out preamble
16157         * src/lyxfunc.C: connect with guii preamble
16158
16159 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16160
16161         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16162
16163 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16164
16165         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16166         whether to run bibtex.
16167
16168 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16169
16170         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16171
16172 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16173
16174         * Makefile.am (lyx_SOURCES): removed bibforms.h
16175
16176         * vspace.h: doxygen
16177
16178         * text.C (GetVisibleRow): make several local vars const
16179
16180         * tabular.C: small cleanup.
16181
16182         * lyxserver.C (callback): use compare instead of strncmp
16183
16184         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16185         inlines to after class or to paragraph.C
16186
16187         * lyxfont.h: remove friend operator!=
16188
16189         * converter.h: move friend bool operator< to non friend and after
16190         class def.
16191
16192         * combox.h: small cleanup
16193
16194         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16195         to inlines after class def.
16196
16197         * buffer.C (pop_tag): use string operations instead of strcmp
16198
16199         * bmtable.c: doxygen, small cleanup
16200
16201         * LaTeX.h: remove friend operator==
16202
16203 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16204
16205         * screen.C:
16206         * lyxrc.[Ch]:
16207         * lyxfunc.C:
16208         * lyxfont.[Ch]:
16209         * lyx_cb.C:
16210         * intl.[Ch]:
16211         * commandtags.h:
16212         * buffer.C:
16213         * WorkArea.[Ch]:
16214         * LyXAction.C:
16215         * BufferView_pimpl.C:
16216         * BufferView.[Ch]: remove cruft
16217
16218 2001-02-14  Juergen Vigna  <jug@sad.it>
16219
16220         * lyxfunc.C: removed #if 0 unused code
16221
16222         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16223
16224         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16225
16226         * text2.C (SetSelection): added a BufferView * parameter
16227
16228 2001-02-13  Juergen Vigna  <jug@sad.it>
16229
16230         * lyxfunc.C (Dispatch): fixed protected blank problem.
16231         * BufferView2.C (protectedBlank): added LyxText * parameter.
16232
16233         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16234         (AppendColumn): same as above for column_info.
16235
16236         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16237         (moveCursorUpdate): use a LyXText param for support of InsetText.
16238
16239         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16240         (tripleClick): ditto
16241
16242         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16243
16244         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16245
16246         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16247
16248         * text2.C (SetSelection): set correct update status if inset_owner
16249         (ToggleFree): ditto
16250
16251 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16252
16253         * tabular.C: remove some commented code.
16254
16255 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16256
16257         * BufferView_pimpl.C: call hideSplash()
16258
16259         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16260
16261         * include_form.h:
16262         * bibforms.h: remove
16263
16264         * lyxfunc.C:
16265         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16266           add LFUN_CHILD_CREATE
16267
16268         * counters.h: fix tiny typo
16269
16270         * lyx_cb.C:
16271         * lyx.h:
16272         * lyx_gui.C:
16273         * lyx.C: move splash to frontends/xforms/
16274
16275         * lyx_gui_misc.C: move Include and Bibform to frontends
16276
16277         * lyxvc.h: clarify comment
16278
16279         * vspace.C: tiny housekeeping
16280
16281 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16282
16283         * text.C (PrepareToPrint): RTL Fix.
16284
16285         * paragraph.C (GetUChar): New method.
16286         (String):  Use GetUChar.
16287
16288         * buffer.C (asciiParagraph): Use GetUChar.
16289
16290 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16291
16292         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16293
16294 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16295
16296         * buffer.h:
16297         * buffer.C: rename to getLogName(), handle
16298           build log / latex log nicely
16299
16300 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16301
16302         * MenuBackend.C:
16303         * MenuBackend.h: remove support for reference menuitem type.
16304
16305 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16306
16307         * BufferView_pimpl.C: housekeeping
16308         * BufferView_pimpl.h:
16309         * LyXView.h:
16310         * Makefile.am:
16311         * Timeout.C:
16312         * Timeout.h:
16313         * minibuffer.h: move Timeout GUI-I
16314
16315 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16316
16317         * lyxrc.C (read): Update converters data-structures.
16318
16319 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16320
16321         * LaTeX.h (operator!=): add operator != for Aux_Info
16322
16323 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16324
16325         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16326
16327         * LaTeXLog.C: deleted, useful code moved to Buffer
16328
16329         * buffer.h:
16330         * buffer.C: new function getLatexLogName()
16331
16332         * lyx_gui_misc.C:
16333         * lyx_gui.C:
16334         * lyxvc.C:
16335         * lyxvc.h:
16336         * lyxfunc.C: use frontends for LaTeX and VC logs
16337
16338 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16339
16340         * LaTeX.h: yet another std:: that Allan forgot.
16341
16342         * Variables.C (set): renamed from isset(), because this clashes
16343         with some HP-UX macros (grr).
16344
16345 2001-02-06  Allan Rae  <rae@lyx.org>
16346
16347         * LaTeX.h: Another bug fix.  Missing std:: this time.
16348
16349 2001-02-04  Allan Rae  <rae@lyx.org>
16350
16351         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16352         floats problem. I've left it commented out because it's not quite
16353         correct.  It should also test that the current object is a table or
16354         figure inset.  But I haven't gotten around to figuring out how to do
16355         that.  I *think* it'll be something like: "table" == inset.type()
16356
16357         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16358         bool.
16359
16360 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16361
16362         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16363         all the citation/databases/styles in the auxilary file.
16364         (run): Rerun latex if there was a babel language error.
16365
16366 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16367
16368         * text.C (Backspace): Preserve the font when changing newline char
16369         with a space.
16370         (BreakParagraph): If the cursor is before a space, delete the space.
16371
16372         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16373
16374 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16375
16376         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16377         new argument (code).
16378         (ChangeCitationsIfUnique): New method.
16379
16380         * paragraph.C (GetPositionOfInset): Handle bibkey.
16381
16382 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16383
16384         * BufferView_pimpl.h: change type of Position::par_pos to
16385         LyXParagraph::size_type.
16386
16387 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16388
16389         * BufferView_pimpl.C (savePosition, restorePosition): Write
16390         messages to minibuffer.
16391
16392 2001-01-28  José Matos  <jamatos@fep.up.pt>
16393
16394         * buffer.C (makeDocBookFile): adds support for document language.
16395         A silly restriction on the name of LatexCommand types where removed.
16396         Added support for CDATA sections, allows to chars unescaped, used
16397         among others in code, to avoid escape < and >.
16398
16399 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16400
16401         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16402         saved positions instrad of a stack. Furthermore, a position is
16403         stored using paragraph id/paragraph position.
16404
16405         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16406         Remove LFUN_REF_BACK.
16407
16408 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16409
16410         * converter.C (dvipdfm_options): New method.
16411
16412 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16413
16414         * vspace.C (isValidLength): Fix for empty input string.
16415
16416 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16417
16418         * LyXAction.C (init): change description of LFUN_FIGURE to
16419         "Insert Graphics"
16420
16421 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16422
16423         * LaTeX.C: add using directive
16424
16425 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16426
16427         * MenuBackend.C (expand): Fix the sorting of the formats.
16428
16429 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16430
16431         * lyx_main.C: tiny error message fix
16432
16433 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16434
16435         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16436         calling fl_initialize(). This fixes the problem with ',' as
16437         decimal separator in text files.
16438
16439 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16440
16441         * trans.C (process): Fix the keymap bug.
16442
16443 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16444
16445         * LaTeX.C (scanAuxFiles): New method. Provides support for
16446         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16447         (scanLogFile) Scan for "run BibTeX" messages.
16448
16449         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16450         OT1 font encoding. Also, load the aecompl package if the ae
16451         package is loaded.
16452
16453         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16454
16455 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16456
16457         * texrow.C (increasePos): turn two error messages into debug
16458         messages.
16459
16460 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16461
16462         * LaTeX.C (scanAux): Handle the \@input macro.
16463         (runBibTeX): Use scanAux().
16464
16465         * language.C (latex_options_): New field.
16466
16467         * LaTeXFeatures.C (getMacros): Add language macros.
16468
16469         * buffer.C (makeLaTeXFile): Small fix.
16470
16471 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16472
16473         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16474
16475         * text2.C: add a using directive.
16476
16477 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16478
16479         * BufferView2.C:
16480         * lyx_gui_misc.h:
16481         * lyxfr1.C:
16482         * lyxfunc.C: kill LyXBell.
16483
16484 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16485
16486         * text.C (IsBoundary): Remove the error message
16487
16488         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16489
16490         * lyxrc.C (setDefaults): Correct initialization value for
16491         font_norm_type.
16492
16493 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16494
16495         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16496         gotoError().
16497
16498         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16499         and GotoNextNote().
16500
16501         * src/LyXAction.C: Added reference-next.
16502
16503         * text.C (InsertChar): Use contains instead of strchr.
16504
16505         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16506
16507 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16508
16509         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16510         alignment commands (when needed).
16511
16512         * text.C (InsertChar): Add ':' to number separator chars.